curl --silent --show-error --fail-with-body --request PUT \
--url 'https://response.stateset.com/api/v1/agents/{id}/settings' \
--header "Authorization: Bearer $RESPONSECX_API_KEY" \
--header 'Content-Type: application/json' \
--data '{
"model_name": "string",
"model_provider": "string",
"model_type": "string",
"temperature": 1.5,
"max_tokens": 1,
"top_p": 1,
"escalation_tag_name": "string",
"escalation_team_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"agent_take_over_tag": "string"
}'
{
"object": "agent.settings",
"configured": true,
"model_name": "string",
"model_provider": "string",
"model_type": "string",
"temperature": 1.5,
"max_tokens": 1,
"top_p": 1.5,
"escalation_tag_name": "string",
"escalation_team_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"agent_take_over_tag": "string"
}
Set model, temperature, token limits and escalation behaviour
The settings after the upsert (a row is created if none existed).
PUT
/
api
/
v1
/
agents
/
{id}
/
settings
curl --silent --show-error --fail-with-body --request PUT \
--url 'https://response.stateset.com/api/v1/agents/{id}/settings' \
--header "Authorization: Bearer $RESPONSECX_API_KEY" \
--header 'Content-Type: application/json' \
--data '{
"model_name": "string",
"model_provider": "string",
"model_type": "string",
"temperature": 1.5,
"max_tokens": 1,
"top_p": 1,
"escalation_tag_name": "string",
"escalation_team_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"agent_take_over_tag": "string"
}'
{
"object": "agent.settings",
"configured": true,
"model_name": "string",
"model_provider": "string",
"model_type": "string",
"temperature": 1.5,
"max_tokens": 1,
"top_p": 1.5,
"escalation_tag_name": "string",
"escalation_team_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"agent_take_over_tag": "string"
}
Path parameters
Request body
AgentSettings
Response
object
False when no settings row exists yet for this agent (every other field is then null).
Status codes
| Code | Meaning |
|---|---|
200 | The settings after the upsert (a row is created if none existed). |
400 | Invalid request. issues names the offending field(s). |
401 | Missing, invalid, or expired API key. |
403 | The key lacks a required scope. |
404 | Not found, or not in the organization that owns the key. |
429 | Rate limit exceeded. |
Access
| Required scope | agents:write |
| Rate limit | 30 requests per minute |
Using this contract
Read the source OpenAPI document for declared schemas and alternatives. This page also includes documented corrections from the spec overlays. Example IDs and values are illustrative; replace them with records from your workspace.curl --silent --show-error --fail-with-body --request PUT \
--url 'https://response.stateset.com/api/v1/agents/{id}/settings' \
--header "Authorization: Bearer $RESPONSECX_API_KEY" \
--header 'Content-Type: application/json' \
--data '{
"model_name": "string",
"model_provider": "string",
"model_type": "string",
"temperature": 1.5,
"max_tokens": 1,
"top_p": 1,
"escalation_tag_name": "string",
"escalation_team_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"agent_take_over_tag": "string"
}'
{
"object": "agent.settings",
"configured": true,
"model_name": "string",
"model_provider": "string",
"model_type": "string",
"temperature": 1.5,
"max_tokens": 1,
"top_p": 1.5,
"escalation_tag_name": "string",
"escalation_team_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"agent_take_over_tag": "string"
}
Last modified on September 21, 2026