Skip to main content

Get Job Result by Id

GET 

/api/workspaces/:workspace_id/jobs/app/:job_id/

Get the job result by its id. This endpoint can be used for obtaining a result, progress message or error.

Request

Path Parameters

    workspace_id stringrequired
    job_id stringrequired

Query Parameters

    editor_session uuid

    UUID of the editor session. This field is only required when used from public endpoints.

Responses

Schema

    uid integer

    The uid of the AppJob.

    message string

    Possible values: non-empty

    Progress message when app runner is still processing the job.

    kind string

    Possible values: non-empty

    The result payload kind.

    status string

    Possible values: non-empty

    Status of the AppJob. 'success' | 'error' | 'error_user' | 'stopped' | 'message'.

    error_message string

    Possible values: non-empty

    If error is raised, the error message returned.

    error_stack_trace object

    If error is raised, the stack trace is returned.

    invalid_fields object

    Any invalid fields that were found during the Job.

    content object

    The actual result content.

Loading...