List session checkpoints
import requests
url = "https://app.ubik-agent.com/api/v1/agent-sessions/{session_id}/checkpoints"
headers = {"X-API-KEY": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-KEY': '<api-key>'}};
fetch('https://app.ubik-agent.com/api/v1/agent-sessions/{session_id}/checkpoints', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://app.ubik-agent.com/api/v1/agent-sessions/{session_id}/checkpoints \
--header 'X-API-KEY: <api-key>'{
"checkpoints": [
{
"checkpoint_name": "<string>",
"task_id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"metadata": {}
}
]
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}List session checkpoints
Retrieves a list of checkpoints for the agent session.
GET
/
agent-sessions
/
{session_id}
/
checkpoints
List session checkpoints
import requests
url = "https://app.ubik-agent.com/api/v1/agent-sessions/{session_id}/checkpoints"
headers = {"X-API-KEY": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-KEY': '<api-key>'}};
fetch('https://app.ubik-agent.com/api/v1/agent-sessions/{session_id}/checkpoints', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://app.ubik-agent.com/api/v1/agent-sessions/{session_id}/checkpoints \
--header 'X-API-KEY: <api-key>'{
"checkpoints": [
{
"checkpoint_name": "<string>",
"task_id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"metadata": {}
}
]
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Authorizations
Headers
Path Parameters
Response
Successful Response
Hide child attributes
Hide child attributes
The unique name of the checkpoint.
The ID of the task that created this checkpoint.
Creation timestamp.
Metadata associated with the checkpoint.
Was this page helpful?
⌘I

