Create agent job
Changed onDeprecated: use a custom automation with a webhook trigger instead. Creates a new agent job that runs in the background. The job processes the prompt asynchronously. Poll the get job endpoint to track progress. If the agent edits files successfully, a pull request is automatically created.
Authenticate with an admin API key.
post/v2/agent/{projectId}/job
Request
- Base URLhttps://api.mintlify.com
- AuthHTTP bearer
Path parameters
projectIdstring required
Your project ID. Can be copied from the API keys page in your dashboard.
Request body
Response
Agent job created successfully
Example response
{
"prLink": "https://github.com/org/repo/pull/123"
}Changes
- info
endpoint deprecated
- info
- info
added the non-success response with the status
- info
added the non-success response with the status
2 more changes in this revision
- info