Get a version
curl --request GET \
--url https://guidinghand.ai/v1/agents/{agent_id}/versions/{version} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://guidinghand.ai/v1/agents/{agent_id}/versions/{version}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://guidinghand.ai/v1/agents/{agent_id}/versions/{version}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"object": "agent_version",
"agent_id": "billing",
"version": 3,
"note": "Order lookup",
"published_at": "2023-11-07T05:31:56Z",
"published_by": {
"type": "user",
"email": "jane@acme.com"
},
"agent": {
"object": "agent",
"agent_id": "billing",
"name": "Billing help",
"instructions": "<string>",
"model": "claude-haiku-5-5",
"effort": "low",
"greeting": "<string>",
"after_call": "<string>",
"display_name": "Acme Support",
"narration": true,
"customer_answers": true,
"customer_approvals": true,
"guardrails": {
"mode": "supervised",
"confirm": [
"purchase",
"send",
"delete",
"install",
"security",
"terms"
],
"block": [],
"apps": {
"allow": [],
"block": []
},
"sites": {
"allow": [],
"block": []
},
"safety_checks": "ask",
"scope": "",
"screen_check": false,
"max_steps": 150,
"max_minutes": null,
"approval_timeout_minutes": null
},
"tools": {
"files": {
"enabled": true,
"access": "read_only"
},
"http": [],
"mcp": [],
"browser": {
"keep_logins": false
},
"code": {
"enabled": false
},
"web": {
"enabled": false
},
"learn": {
"mode": "auto",
"enabled": true
},
"visual": {
"enabled": true,
"blocks": [
"facts"
],
"choices": true,
"instructions": "<string>"
}
},
"resources": {
"browser": {
"enabled": true,
"start_url": "https://portal.example.com/orders",
"keep_logins": false
},
"computers": [
{
"type": "pool",
"id": "pool_8fK2mQ0aLp4x"
}
]
},
"escalations": {
"qa": true,
"approval": true,
"question": true,
"procedure_failed": true,
"procedure_change": true,
"handoff": true,
"expert": true,
"transfer": false
},
"voice": "meridian",
"folder_id": "<string>",
"invite_url_template": "https://guidinghand.ai/acme/billing/{code}",
"version": 3,
"has_draft": true,
"created_by": {
"type": "user",
"email": "jane@acme.com"
},
"updated_by": {
"type": "user",
"email": "jane@acme.com"
},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"imported_from": {
"platform": "retell",
"agent_id": "<string>",
"name": "<string>",
"imported_at": "2023-11-07T05:31:56Z"
}
}
}{
"error": {
"type": "invalid_request",
"message": "<string>",
"code": "<string>",
"test_case_ids": [
"<string>"
],
"decided_by": {
"type": "person",
"email": "<string>",
"key_id": "<string>"
},
"conversation_id": "<string>",
"agent_id": "<string>",
"approval_id": "<string>",
"question_id": "<string>"
}
}{
"error": {
"type": "invalid_request",
"message": "<string>",
"code": "<string>",
"test_case_ids": [
"<string>"
],
"decided_by": {
"type": "person",
"email": "<string>",
"key_id": "<string>"
},
"conversation_id": "<string>",
"agent_id": "<string>",
"approval_id": "<string>",
"question_id": "<string>"
}
}Agents
Get a version
One published version, with the agent as it was then.
GET
/
v1
/
agents
/
{agent_id}
/
versions
/
{version}
Get a version
curl --request GET \
--url https://guidinghand.ai/v1/agents/{agent_id}/versions/{version} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://guidinghand.ai/v1/agents/{agent_id}/versions/{version}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://guidinghand.ai/v1/agents/{agent_id}/versions/{version}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"object": "agent_version",
"agent_id": "billing",
"version": 3,
"note": "Order lookup",
"published_at": "2023-11-07T05:31:56Z",
"published_by": {
"type": "user",
"email": "jane@acme.com"
},
"agent": {
"object": "agent",
"agent_id": "billing",
"name": "Billing help",
"instructions": "<string>",
"model": "claude-haiku-5-5",
"effort": "low",
"greeting": "<string>",
"after_call": "<string>",
"display_name": "Acme Support",
"narration": true,
"customer_answers": true,
"customer_approvals": true,
"guardrails": {
"mode": "supervised",
"confirm": [
"purchase",
"send",
"delete",
"install",
"security",
"terms"
],
"block": [],
"apps": {
"allow": [],
"block": []
},
"sites": {
"allow": [],
"block": []
},
"safety_checks": "ask",
"scope": "",
"screen_check": false,
"max_steps": 150,
"max_minutes": null,
"approval_timeout_minutes": null
},
"tools": {
"files": {
"enabled": true,
"access": "read_only"
},
"http": [],
"mcp": [],
"browser": {
"keep_logins": false
},
"code": {
"enabled": false
},
"web": {
"enabled": false
},
"learn": {
"mode": "auto",
"enabled": true
},
"visual": {
"enabled": true,
"blocks": [
"facts"
],
"choices": true,
"instructions": "<string>"
}
},
"resources": {
"browser": {
"enabled": true,
"start_url": "https://portal.example.com/orders",
"keep_logins": false
},
"computers": [
{
"type": "pool",
"id": "pool_8fK2mQ0aLp4x"
}
]
},
"escalations": {
"qa": true,
"approval": true,
"question": true,
"procedure_failed": true,
"procedure_change": true,
"handoff": true,
"expert": true,
"transfer": false
},
"voice": "meridian",
"folder_id": "<string>",
"invite_url_template": "https://guidinghand.ai/acme/billing/{code}",
"version": 3,
"has_draft": true,
"created_by": {
"type": "user",
"email": "jane@acme.com"
},
"updated_by": {
"type": "user",
"email": "jane@acme.com"
},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"imported_from": {
"platform": "retell",
"agent_id": "<string>",
"name": "<string>",
"imported_at": "2023-11-07T05:31:56Z"
}
}
}{
"error": {
"type": "invalid_request",
"message": "<string>",
"code": "<string>",
"test_case_ids": [
"<string>"
],
"decided_by": {
"type": "person",
"email": "<string>",
"key_id": "<string>"
},
"conversation_id": "<string>",
"agent_id": "<string>",
"approval_id": "<string>",
"question_id": "<string>"
}
}{
"error": {
"type": "invalid_request",
"message": "<string>",
"code": "<string>",
"test_case_ids": [
"<string>"
],
"decided_by": {
"type": "person",
"email": "<string>",
"key_id": "<string>"
},
"conversation_id": "<string>",
"agent_id": "<string>",
"approval_id": "<string>",
"question_id": "<string>"
}
}Authorizations
Path Parameters
Response
OK