TTS-1.5 is here: under 120ms latency, optimized stability!
Creates a new agent job that can generate and edit documentation based on provided messages and branch information.
curl --request POST \
--url https://api.mintlify.com/v1/agent/{projectId}/job \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"branch": "<string>",
"messages": [
{
"role": "system",
"content": "<string>"
}
]
}
'"<string>"The Authorization header expects a Bearer token. Create an Admin API Key here.
Agent job created successfully (streaming response). X-Session-Id Header is sent back in the response
Streaming response containing the agent job execution details and results.
Was this page helpful?
curl --request POST \
--url https://api.mintlify.com/v1/agent/{projectId}/job \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"branch": "<string>",
"messages": [
{
"role": "system",
"content": "<string>"
}
]
}
'"<string>"