Appearance
Create background job
POST
/api/v1/projects/{project_id}/jobs
Queues a new background job (generation or sync) for a project. Validates XCT balance for generation jobs and store connection for sync jobs, and rejects the request if a conflicting job is already active.
Authorizations
HTTPBearer
Type
HTTP (bearer)
Parameters
Path Parameters
project_id*
Type
Requiredstring
Format
"uuid"Request Body
application/json
JSON
{
"job_type": "string",
"payload": {
}
}
Responses
Successful Response
application/json
JSON
{
"job_id": "string",
"status": "string"
}