curl -X GET https://api.mintlify.com/v1/agent/your_project_id/job/session_abc123 \ -H "Authorization: Bearer mint_your_api_key_here"
{ "sessionId": "session_abc123", "subdomain": "your-docs", "branch": "agent-updates", "haulted": true, "haultReason": "completed", "pullRequestLink": "https://github.com/your-org/your-repo/pull/123", "messageToUser": "Successfully updated the getting started guide with installation instructions.", "todos": [ { "content": "Update installation section", "status": "completed", "priority": "high", "id": "todo_1" }, { "content": "Add code examples", "status": "completed", "priority": "medium", "id": "todo_2" } ], "createdAt": "2024-03-15T10:30:00.000Z" }
Retrieve the details and status of a specific agent job
mint_
completed
github_missconfigured
error
Show Todo object
pending
in_progress
cancelled
high
medium
low