Optimizely Job Definitions API
The Job Definitions API from Optimizely — 8 operation(s) for job definitions.
Operations 12
Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay
GET
/api/v1/admin/JobDefinitions
List integration job definitions · Returns the EntitySet JobDefinitions
#
Ask an LLM
“How can I see every integration job definition configured in Configured Commerce?”
“Can I filter job definitions to recurring ones or by job type?”
Tell an agent
List all integration job definitions.
List job definitions matching {filter}, sorted by {orderby}.
POST
/api/v1/admin/JobDefinitions
Create an integration job definition · Post a new entity to EntitySet JobDefinitions
#
Ask an LLM
“What must I supply to define a new import or export job?”
“Can I set up a job definition that runs on a cron schedule?”
Tell an agent
Create job definition {name} of type {jobType} from standard job {standardJobName}.
Define job {name} that recurs on cron {recurringCronExpression} and notifies {notifyEmail}.
GET
/api/v1/admin/JobDefinitions({id})
Get a job definition · Returns the entity with the key from JobDefinitions
#
Ask an LLM
“Can I see the schedule and processors of one job definition?”
“When did a particular job definition last run and with what status?”
Tell an agent
Show job definition {id}.
Get job definition {id} expanding {expand}.
PUT
/api/v1/admin/JobDefinitions({id})
Replace a job definition · Replace entity in EntitySet JobDefinitions
#
Ask an LLM
“Can I overwrite an entire job definition with a new configuration?”
“What's the full-replacement call for a job definition?”
Tell an agent
Replace job definition {id} with name {name} and type {jobType}.
Overwrite job definition {id} entirely, using description {description}.
DELETE
/api/v1/admin/JobDefinitions({id})
Delete a job definition · Delete entity in EntitySet JobDefinitions
#
Ask an LLM
“How do I remove an integration job definition I no longer use?”
“Can I delete a job definition conditionally on its ETag?”
Tell an agent destructive · confirm first
Delete job definition {id}.
Delete job definition {id} only if its ETag equals {etag}.
PATCH
/api/v1/admin/JobDefinitions({id})
Update a job definition's settings · Update entity in EntitySet JobDefinitions
#
Ask an LLM
“Can I change only the notification email on a job definition?”
“Is there a partial update to raise a job's max retries?”
Tell an agent
Set the notify email on job definition {id} to {notifyEmail}.
Patch job definition {id} so max retries is {maxRetries}.
GET
/api/v1/admin/JobDefinitions/Default.Default()
Get default values for a job definition · Call operation Default
#
Ask an LLM
“What defaults are pre-filled for a new job definition?”
“Is there a blank template for a job definition?”
Tell an agent
Get the default job definition template.
Show pre-filled values for a new job definition.
DELETE
/api/v1/admin/jobdefinitions/delete
Delete several job definitions · Job definitions delete route
#
Ask an LLM
“Can I bulk delete job definitions in a single request?”
“Which call removes a list of job definitions by ID?”
Tell an agent destructive · confirm first
Bulk delete job definitions {ids}.
Remove the job definitions listed in {ids}.
GET
/api/v1/admin/jobdefinitions({key})/customproperties({custompropertyKey})
Get a custom property on a job definition · Job definitions get custom property by key and custompropertykey
#
Ask an LLM
“Can I read a custom field stored on a job definition?”
“Where are extra attributes of a job definition kept?”
Tell an agent
Get custom property {custompropertyKey} on job definition {key}.
Show job definition {key}'s custom field {custompropertyKey}.
GET
/api/v1/admin/jobdefinitions({key})/integrationjobs({integrationjobKey})
Get one run of a job definition · Job definitions get integration job by key and integrationjobkey
#
Ask an LLM
“Can I look up a specific job run that belongs to a job definition?”
“Which call returns one integration job under its definition?”
Tell an agent
Get integration job {integrationjobKey} run by job definition {key}.
Show run {integrationjobKey} of job definition {key}.
GET
/api/v1/admin/jobdefinitions({key})/jobdefinitionparameters({jobdefinitionparameterKey})
Get a parameter of a job definition · Job definitions get job definition parameter by key and…
#
Ask an LLM
“Can I read one configured parameter on a job definition?”
“Where do I see a job definition's input parameter value?”
Tell an agent
Get parameter {jobdefinitionparameterKey} of job definition {key}.
Show job definition {key}'s parameter {jobdefinitionparameterKey}.
GET
/api/v1/admin/jobdefinitions({key})/jobdefinitionsteps({jobdefinitionstepKey})
Get a step of a job definition · Job definitions get job definition step by key and jobdefinitionstepkey
#
Ask an LLM
“Can I inspect a single processing step inside a job definition?”
“Which call returns one step of a multi-step integration job?”
Tell an agent
Get step {jobdefinitionstepKey} of job definition {key}.
Show job definition {key}'s step {jobdefinitionstepKey}.