Get job details
const url = 'https://firma.company-gpt.com/companygpt/rag/api/jobs/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://firma.company-gpt.com/companygpt/rag/api/jobs/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \ --header 'Authorization: Bearer <token>'Get detailed information about a specific job, including its file when it can still be resolved
Authorizations
Abschnitt betitelt „Authorizations“Parameters
Abschnitt betitelt „Parameters“Path Parameters
Abschnitt betitelt „Path Parameters“Job UUID
Responses
Abschnitt betitelt „Responses“Job details
Response for GET /jobs/{jobId} (handlers.JobDetailResponse)
object
Indexing job information (handlers.JobInfo)
object
Unique job identifier
Associated file ID
Name of the file being processed (list endpoint only)
Associated collection ID (list endpoint only)
Associated collection name (list endpoint only)
Job action type (JSON key is “type”; the Go field is named Action)
Current job status
Number of retries attempted
Maximum allowed retries
Error message if job failed
ISO 8601 creation timestamp
ISO 8601 start timestamp
ISO 8601 completion timestamp
1-based position in the global FIFO queue; present only for jobs currently in ‘queued’ status (list endpoint only)
Present when the job’s file could still be resolved
object
Unique file identifier
Original file name
Path in blob storage
File size in bytes
MIME type
File processing status
Associated collection ID
Associated collection name
ISO 8601 creation timestamp
ISO 8601 last update timestamp
ISO 8601 last indexing timestamp
Source-specific metadata (ACL fields, SharePoint item info, etc.); omitted/empty for files with no metadata
object
Example
{ "job": { "type": "index", "status": "queued" }, "file": { "status": "pending" }}Invalid job ID
object
Error message
Examplegenerated
{ "error": "example"}Unauthorized
object
Error message
Examplegenerated
{ "error": "example"}Access denied
object
Error message
Examplegenerated
{ "error": "example"}Job not found
object
Error message
Examplegenerated
{ "error": "example"}