Zum Inhalt springen

Retry a failed job

POST
/jobs/{jobId}/retry
curl --request POST \
--url https://firma.company-gpt.com/companygpt/rag/api/jobs/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/retry \
--header 'Authorization: Bearer <token>'

Requeue a single failed indexing job

jobId
required
string format: uuid

Job UUID

Job requeued

Media typeapplication/json

Generic status acknowledgement returned by several action endpoints

object
status
required
string
Examplegenerated
{
"status": "example"
}

Invalid job ID

Media typeapplication/json
object
error
required

Error message

string
Examplegenerated
{
"error": "example"
}

Job not found or not in failed status

Media typeapplication/json
object
error
required

Error message

string
Examplegenerated
{
"error": "example"
}