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.
Show child attributes
The subdomain this session belongs to.
The subdomain this session belongs to.
Git branch name where changes were made.
Whether the session execution was halted.
Reason for session halt.
completed, github_missconfigured, error Link to the created pull request.
Message for the user about the session outcome.
List of todo items from the session.
Show child attributes
Timestamp when the session was created.
Was this page helpful?