curl --request GET \
--url https://api.prod.usesimple.ai/api/v1/agents \
--header 'Authorization: <api-key>'
[
{
"prompt": "<string>",
"available_params": [],
"name": "Agent",
"first_sentence": "<string>",
"language": "en",
"record": true,
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"organization_id": 123,
"user_id": 123,
"analyzers": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"prompt": "<string>",
"output_config": {}
}
],
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
]
List all agents
curl --request GET \
--url https://api.prod.usesimple.ai/api/v1/agents \
--header 'Authorization: <api-key>'
[
{
"prompt": "<string>",
"available_params": [],
"name": "Agent",
"first_sentence": "<string>",
"language": "en",
"record": true,
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"organization_id": 123,
"user_id": 123,
"analyzers": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"prompt": "<string>",
"output_config": {}
}
],
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
]
Successful Response
The response is of type AgentResponse · object[]
.
Was this page helpful?