Skip to main content
GET
/
vault
/
{id}
/
objects
/
{objectId}
/
summarize
/
{jobId}
Get CaseMark job status
curl --request GET \
  --url https://api.case.dev/vault/{id}/objects/{objectId}/summarize/{jobId} \
  --header 'Authorization: Bearer <token>'
{
  "jobId": "<string>",
  "status": "pending",
  "workflowType": "<string>",
  "sourceObjectId": "<string>",
  "resultObjectId": "<string>",
  "resultFilename": "<string>",
  "error": "<string>",
  "createdAt": "2023-11-07T05:31:56Z",
  "completedAt": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

API key starting with sk_case_

Path Parameters

id
string
required

Vault ID

objectId
string
required

Source object ID

jobId
string
required

CaseMark job ID

Response

Job status retrieved successfully

jobId
string

Case.dev job ID

status
enum<string>

Current job status

Available options:
pending,
processing,
completed,
failed
workflowType
string

Type of workflow being executed

sourceObjectId
string

ID of the source document

resultObjectId
string | null

ID of the result document (if completed)

resultFilename
string | null

Filename of the result document (if completed)

error
string | null

Error message (if failed)

createdAt
string<date-time>

When the job was created

completedAt
string<date-time> | null

When the job completed