curl --location -g --request GET 'http://dev-cn.your-api-server.com/v1/assistants/retrieve?GroupId=${GroupId}&assistant_id=${Assistant_Id}' \
--header 'Authorization: Bearer ${API_KEY}' \
--header 'Content-Type: application/json' \
--data-raw ''
{
"id": "asst_abc123",
"object": "assistant",
"created_at": 1703228868,
"name": "function",
"description": "代码机器人",
"model": "my_model",
"instructions": "Follow the instructions carefully",
"tools": [
{
"type": "function",
"function": {
"name": "get_weather",
"description": "get weather",
"parameters": {
"type": "object",
"required": [
"city"
],
"properties": {
"city": {
"type": "string"
}
}
}
}
},
{
"type": "web_search"
},
{
"type": "retrieval"
}
],
"file_ids": [
"file-abc123",
"file-abc456"
],
"metadata": {
"key1": "value1",
"key2": "value2"
},
"rolemeta": {},
"status": "available",
"base_resp": {
"status_code": 0,
"status_msg": "success"
}
}