curl --request GET \
--url https://api.mintlify.com/v1/agent/{projectId}/job/{id} \
--header 'Authorization: Bearer <token>'{
"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 the details and status of a specific agent job by its ID.
curl --request GET \
--url https://api.mintlify.com/v1/agent/{projectId}/job/{id} \
--header 'Authorization: Bearer <token>'{
"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.
The unique identifier of the agent job to retrieve.
Agent job details retrieved successfully
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?