Get agent job
Retrieves the current status and details of an agent job. Poll this endpoint to track job progress.
Poll this endpoint to track the progress of an agent job. TheDocumentation Index
Fetch the complete documentation index at: https://mintlify-mintlify-f6822e68.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
status field transitions through active → completed or failed.
After the agent creates a pull request, the prLink field contains the link.Authorizations
The Authorization header expects a Bearer token. Use an admin API key (prefixed with mint_). This is a server-side secret key. Generate one on the API keys page in your dashboard.
Path Parameters
The unique identifier of the agent job.
Response
Agent job details
Unique identifier for the agent job.
Current status of the job. active — the agent is currently processing the prompt. completed — the agent finished successfully and a PR may have been created (check prLink). archived — the job has been archived. failed — the agent encountered an unrecoverable error. Poll until status is completed, archived, or failed.
active, completed, archived, failed Source repository information.
The AI model used for this job.
GitHub pull request URL created by the agent. null while the job is still active or if no files were changed. Populated once the agent successfully creates a PR.
"https://github.com/org/repo/pull/123"
Timestamp when the job was created.
Timestamp when the job was archived.