Uso
Respuesta
Authorizations
The Authorization header expects a Bearer token. Create an Admin API Key here.
Path Parameters
Response
200 - application/json
All agent jobs retrieved successfully
Array of all agent sessions for the domain.
curl --request GET \
--url https://api.mintlify.com/v1/agent/{projectId}/jobs \
--header 'Authorization: Bearer <token>'{
"allSessions": [
{
"sessionId": "<string>",
"subdomain": "<string>",
"branch": "<string>",
"haulted": true,
"haultReason": "completed",
"pullRequestLink": "<string>",
"messageToUser": "<string>",
"todos": [
{
"content": "<string>",
"status": "pending",
"priority": "high",
"id": "<string>"
}
],
"createdAt": "2023-11-07T05:31:56Z"
}
]
}Retrieves all agent jobs for the specified domain, including their status and details.
curl --request GET \
--url https://api.mintlify.com/v1/agent/{projectId}/jobs \
--header 'Authorization: Bearer <token>'{
"allSessions": [
{
"sessionId": "<string>",
"subdomain": "<string>",
"branch": "<string>",
"haulted": true,
"haultReason": "completed",
"pullRequestLink": "<string>",
"messageToUser": "<string>",
"todos": [
{
"content": "<string>",
"status": "pending",
"priority": "high",
"id": "<string>"
}
],
"createdAt": "2023-11-07T05:31:56Z"
}
]
}The Authorization header expects a Bearer token. Create an Admin API Key here.
All agent jobs retrieved successfully
Array of all agent sessions for the domain.
Mostrar atributos secundarios
¿Esta página le ayudó?