Results
Get a result
GET
https://release0.com/api
/
v1
/
agents
/
{agentId}
/
results
/
{resultId}
curl --request GET \
--url https://release0.com/api/v1/agents/{agentId}/results/{resultId} \
--header 'Authorization: Bearer <token>'
{
"result": {
"id": "<string>",
"createdAt": "<string>",
"agentId": "<string>",
"workspaceId": "<string>",
"variables": [
{
"id": "<string>",
"name": "<string>",
"isSessionVariable": true,
"value": "<string>"
}
],
"isCompleted": true,
"hasStarted": true,
"isArchived": true,
"lastChatSessionId": "<string>",
"updatedAt": "<string>",
"metadata": {
"ip": "<string>",
"location": {
"continent": "<string>",
"country": "<string>",
"region": "<string>",
"city": "<string>",
"latitude": "<string>",
"longitude": "<string>",
"vercel_region": "<string>"
},
"device": {
"type": "<string>",
"vendor": "<string>",
"model": "<string>"
},
"browser": {
"name": "<string>",
"version": "<string>"
},
"os": {
"name": "<string>",
"version": "<string>"
},
"url": "<string>",
"bot": true,
"qr": true,
"referer": "<string>"
},
"answers": [
{
"createdAt": "<string>",
"blockId": "<string>",
"content": "<string>",
"attachedFileUrls": [
"<string>"
]
}
]
}
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
The resultId
is returned by the /startChat endpoint or you can find it by listing results with /results
endpoint
Response
200
application/json
Successful response
The response is of type object
.
curl --request GET \
--url https://release0.com/api/v1/agents/{agentId}/results/{resultId} \
--header 'Authorization: Bearer <token>'
{
"result": {
"id": "<string>",
"createdAt": "<string>",
"agentId": "<string>",
"workspaceId": "<string>",
"variables": [
{
"id": "<string>",
"name": "<string>",
"isSessionVariable": true,
"value": "<string>"
}
],
"isCompleted": true,
"hasStarted": true,
"isArchived": true,
"lastChatSessionId": "<string>",
"updatedAt": "<string>",
"metadata": {
"ip": "<string>",
"location": {
"continent": "<string>",
"country": "<string>",
"region": "<string>",
"city": "<string>",
"latitude": "<string>",
"longitude": "<string>",
"vercel_region": "<string>"
},
"device": {
"type": "<string>",
"vendor": "<string>",
"model": "<string>"
},
"browser": {
"name": "<string>",
"version": "<string>"
},
"os": {
"name": "<string>",
"version": "<string>"
},
"url": "<string>",
"bot": true,
"qr": true,
"referer": "<string>"
},
"answers": [
{
"createdAt": "<string>",
"blockId": "<string>",
"content": "<string>",
"attachedFileUrls": [
"<string>"
]
}
]
}
}
Assistant
Responses are generated using AI and may contain mistakes.