GET
/
v1
/
agent
curl --location --request GET 'https://api.stateset.com/v1/agent' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
    "id": "2438cf38-4004-41d3-8c90-131735ff7d00"
}'
{
    "id": "2438cf38-4004-41d3-8c90-131735ff7d00",
    "agent_name": "Agent 1",
    "agent_type": "Agent",
    "description": "This is agent 1",
    "activated": true,
    "created_at": "2021-09-01T00:00",
    "updated_at": "2021-09-01T00:00",
    "org_id": "2438cf38-4004-41d3-8c90-131735ff7d00",
    "voice_model": "Voice Model 1",
    "voice_model_id": "2438cf38-4004-41d3-8c90-131735ff7d00"
    
}

Body

id
string
This is the id of the agent.

Response

agent_name
string
The name of the created agent.
agent_type
string
The type of the created agent.
description
string
The description of the created agent.
activated
string
The activation status of the created agent.
created_at
string
The date and time the agent was created.
updated_at
string
The date and time the agent was last updated.
org_id
string
The organization ID to which the agent belongs.
voice_model
string
The voice model associated with the agent.
voice_model_id
string
The voice model ID associated with the agent.
curl --location --request GET 'https://api.stateset.com/v1/agent' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
    "id": "2438cf38-4004-41d3-8c90-131735ff7d00"
}'
{
    "id": "2438cf38-4004-41d3-8c90-131735ff7d00",
    "agent_name": "Agent 1",
    "agent_type": "Agent",
    "description": "This is agent 1",
    "activated": true,
    "created_at": "2021-09-01T00:00",
    "updated_at": "2021-09-01T00:00",
    "org_id": "2438cf38-4004-41d3-8c90-131735ff7d00",
    "voice_model": "Voice Model 1",
    "voice_model_id": "2438cf38-4004-41d3-8c90-131735ff7d00"
    
}