Disclaimer: This website requires Please enable JavaScript in your browser settings for the best experience.

Dev Guide
Dev GuideUser GuidesGitHubDev CommunityOptimizely AcademySubmit a ticketLog In
Dev Guide
GitHubDev CommunityOptimizely AcademySubmit a ticket

Optimizely developer documentation

How can we help you?

Try our conversational search powered by Generative AI!

AI OnAI Off

OCP App SDK


OCP App SDK / JobDetail

Interface: JobDetail

Defined in: src/jobs/JobApi.ts:32

Details of a job run.

Properties

completedAt?

optional completedAt: Date

Defined in: src/jobs/JobApi.ts:56

Timestamp that the job run completed (potentially with errors)


definition

definition: JobDefinition

Defined in: src/jobs/JobApi.ts:44

The job definition


errors

errors: string

Defined in: src/jobs/JobApi.ts:48

Any error messages associated with the run. Empty string if no errors.


jobId

jobId: string

Defined in: src/jobs/JobApi.ts:36

The generated id of this job run. Unique for every run of a job.


startedAt?

optional startedAt: Date

Defined in: src/jobs/JobApi.ts:52

Timestamp that the job run began


status

status: JobRunStatus

Defined in: src/jobs/JobApi.ts:40

Current run status


terminatedAt?

optional terminatedAt: Date

Defined in: src/jobs/JobApi.ts:60

Timestamp that the job run was terminated (due to timeout, resource limits, etc)


Did this page help you?