Jobs¶
5 operations in the Adverity Connect API. Replace {{INSTANCE}} and {{KEY}} in the examples with your instance and API key. How authentication works.
List jobs¶
GET/api/jobs/
API key permissionDatastream: Read-onlydatastream:read
Query parameters
datastream_idnumberendstring · date-timejob_group_idnumberjob_uuidstring · uuidorderingstringWhich field to use when ordering the results.
pageintegerA page number within the paginated result set.
page_sizeintegerNumber of results to return per page.
stack_idnumberstartstring · date-timestateinteger20- Scheduled10- Running50- Success70- Cancelled30- Failed60- Discarded
triggered_by_userbooleantrue: only human-triggered fetches; false: only system-triggered.
typestringFetch- FetchEnrich- EnrichTransfer- Transfer
userstringFilter by the email of the user who triggered the fetch.
Responses
200OKapplication/json
Response schema
object PaginatedJobPolymorphicList
countintegerrequirednextstring · urinullablepreviousstring · urinullableresultsarray of one ofrequiredItems · JobPolymorphic
BaseJobTyped
typestringrequiredidintegerrequiredread-onlyuuidstring · uuidrequiredread-onlyurlstring · urirequiredread-onlyjob_startstring · date-timerequiredread-onlyjob_endstring · date-timerequiredread-onlyprogressstringrequiredread-onlystatestringrequiredread-onlystate_labelstringrequiredread-onlyDisplay label for the job state. "Retrying" while the job is waiting out a retry/backoff; otherwise the label matching
state.stateitself is unchanged while "Retrying". The signal is derived per job group, so while a group waits out a backoff every running job in it reports the label, regardless of which stage's task is being retried.state_colorstringrequiredread-onlydatastreamobjectrequiredread-onlynullableAttributes
APIDatastreamBasic
idintegerrequiredread-onlyuuidstring · uuidrequiredread-onlystackobjectrequiredread-onlyAttributes · StackBasic
idintegerrequiredread-onlyuuidstring · uuidrequiredread-onlynamestringrequiredslugstringrequiredread-onlyurlstring · urirequiredread-onlychange_urlstringrequiredread-onlyextracts_urlstringrequiredread-onlyissues_urlstringrequiredread-onlyoverview_urlstringrequiredread-onlypermissionsstringrequiredread-only
stack_idintegerrequiredread-onlyWhich workspace the datastream belongs to.
authintegernullableWhich authorization the datastream uses.
namestringrequiredA human readable name. Numbers and special characters are supported.
slugstringrequiredread-onlyapp_labelstringrequiredread-onlyabsolute_urlstringrequiredread-onlychange_urlstringrequiredread-onlyextracts_urlstringrequiredread-onlyfetch_urlstringrequiredread-onlyoverview_urlstringrequiredread-onlyschema_mapping_urlstringrequiredread-onlyenabledbooleanStreams that are not scheduled will not be fetched automatically.
next_runstring · date-timerequiredread-onlyurlstring · urirequiredread-onlydatastream_type_idintegerrequiredread-onlylogo_urlstringrequiredread-onlyextracts_stream_urlstringrequiredread-onlysupports_extended_intervalsstringrequiredread-onlyupdatedstring · date-timerequiredread-onlycreatedstring · date-timerequiredread-onlycreatorstringrequiredread-onlynullablecan_be_fetchedbooleanrequiredread-only
null
issuesarray of objectrequiredread-onlyItems · CompactDatastreamExtractionLog
messagestringnullabletype_labelstringrequiredread-onlyextraction_stage_labelstringrequiredread-onlyurlstring · urirequiredread-only
last_executedstring · date-timerequiredread-onlynullableWhen a job in this job group last started executing. Job-group level: it reflects any job in the group, not this job alone. Null until the first job in the group starts - fall back to
scheduledto age a group that has not started yet. The write is debounced by 5 minutes, so the value may lag real activity by up to that much - do not build staleness alarms with a tighter threshold.userstringrequiredread-onlynullable
FetchJobTyped
typestringrequiredidintegerrequiredread-onlyuuidstring · uuidrequiredread-onlyurlstring · urirequiredread-onlyjob_startstring · date-timerequiredread-onlyjob_endstring · date-timerequiredread-onlyprogressstringrequiredread-onlystatestringrequiredread-onlystate_labelstringrequiredread-onlyDisplay label for the job state. "Retrying" while the job is waiting out a retry/backoff; otherwise the label matching
state.stateitself is unchanged while "Retrying". The signal is derived per job group, so while a group waits out a backoff every running job in it reports the label, regardless of which stage's task is being retried.state_colorstringrequiredread-onlydatastreamobjectrequiredread-onlynullableAttributes
APIDatastreamBasic
idintegerrequiredread-onlyuuidstring · uuidrequiredread-onlystackobjectrequiredread-onlyAttributes · StackBasic
idintegerrequiredread-onlyuuidstring · uuidrequiredread-onlynamestringrequiredslugstringrequiredread-onlyurlstring · urirequiredread-onlychange_urlstringrequiredread-onlyextracts_urlstringrequiredread-onlyissues_urlstringrequiredread-onlyoverview_urlstringrequiredread-onlypermissionsstringrequiredread-only
stack_idintegerrequiredread-onlyWhich workspace the datastream belongs to.
authintegernullableWhich authorization the datastream uses.
namestringrequiredA human readable name. Numbers and special characters are supported.
slugstringrequiredread-onlyapp_labelstringrequiredread-onlyabsolute_urlstringrequiredread-onlychange_urlstringrequiredread-onlyextracts_urlstringrequiredread-onlyfetch_urlstringrequiredread-onlyoverview_urlstringrequiredread-onlyschema_mapping_urlstringrequiredread-onlyenabledbooleanStreams that are not scheduled will not be fetched automatically.
next_runstring · date-timerequiredread-onlyurlstring · urirequiredread-onlydatastream_type_idintegerrequiredread-onlylogo_urlstringrequiredread-onlyextracts_stream_urlstringrequiredread-onlysupports_extended_intervalsstringrequiredread-onlyupdatedstring · date-timerequiredread-onlycreatedstring · date-timerequiredread-onlycreatorstringrequiredread-onlynullablecan_be_fetchedbooleanrequiredread-only
null
issuesarray of objectrequiredread-onlyItems · CompactDatastreamExtractionLog
messagestringnullabletype_labelstringrequiredread-onlyextraction_stage_labelstringrequiredread-onlyurlstring · urirequiredread-only
last_executedstring · date-timerequiredread-onlynullableWhen a job in this job group last started executing. Job-group level: it reflects any job in the group, not this job alone. Null until the first job in the group starts - fall back to
scheduledto age a group that has not started yet. The write is debounced by 5 minutes, so the value may lag real activity by up to that much - do not build staleness alarms with a tighter threshold.userstringrequiredread-onlynullablerange_startstring · date-timerequiredread-onlyrange_endstring · date-timerequiredread-onlyscheduledstring · date-timerequiredread-onlymanualstringrequiredread-only
Get jobs¶
GET/api/jobs/{id}/
API key permissionDatastream: Read-onlydatastream:read
Path parameters
idintegerrequiredA unique integer value identifying this job.
Responses
200OKapplication/json
Response schema
one of JobPolymorphic
BaseJobTyped
typestringrequiredidintegerrequiredread-onlyuuidstring · uuidrequiredread-onlyurlstring · urirequiredread-onlyjob_startstring · date-timerequiredread-onlyjob_endstring · date-timerequiredread-onlyprogressstringrequiredread-onlystatestringrequiredread-onlystate_labelstringrequiredread-onlyDisplay label for the job state. "Retrying" while the job is waiting out a retry/backoff; otherwise the label matching
state.stateitself is unchanged while "Retrying". The signal is derived per job group, so while a group waits out a backoff every running job in it reports the label, regardless of which stage's task is being retried.state_colorstringrequiredread-onlydatastreamobjectrequiredread-onlynullableAttributes
APIDatastreamBasic
idintegerrequiredread-onlyuuidstring · uuidrequiredread-onlystackobjectrequiredread-onlyAttributes · StackBasic
idintegerrequiredread-onlyuuidstring · uuidrequiredread-onlynamestringrequiredslugstringrequiredread-onlyurlstring · urirequiredread-onlychange_urlstringrequiredread-onlyextracts_urlstringrequiredread-onlyissues_urlstringrequiredread-onlyoverview_urlstringrequiredread-onlypermissionsstringrequiredread-only
stack_idintegerrequiredread-onlyWhich workspace the datastream belongs to.
authintegernullableWhich authorization the datastream uses.
namestringrequiredA human readable name. Numbers and special characters are supported.
slugstringrequiredread-onlyapp_labelstringrequiredread-onlyabsolute_urlstringrequiredread-onlychange_urlstringrequiredread-onlyextracts_urlstringrequiredread-onlyfetch_urlstringrequiredread-onlyoverview_urlstringrequiredread-onlyschema_mapping_urlstringrequiredread-onlyenabledbooleanStreams that are not scheduled will not be fetched automatically.
next_runstring · date-timerequiredread-onlyurlstring · urirequiredread-onlydatastream_type_idintegerrequiredread-onlylogo_urlstringrequiredread-onlyextracts_stream_urlstringrequiredread-onlysupports_extended_intervalsstringrequiredread-onlyupdatedstring · date-timerequiredread-onlycreatedstring · date-timerequiredread-onlycreatorstringrequiredread-onlynullablecan_be_fetchedbooleanrequiredread-only
null
issuesarray of objectrequiredread-onlyItems · CompactDatastreamExtractionLog
messagestringnullabletype_labelstringrequiredread-onlyextraction_stage_labelstringrequiredread-onlyurlstring · urirequiredread-only
last_executedstring · date-timerequiredread-onlynullableWhen a job in this job group last started executing. Job-group level: it reflects any job in the group, not this job alone. Null until the first job in the group starts - fall back to
scheduledto age a group that has not started yet. The write is debounced by 5 minutes, so the value may lag real activity by up to that much - do not build staleness alarms with a tighter threshold.userstringrequiredread-onlynullable
FetchJobTyped
typestringrequiredidintegerrequiredread-onlyuuidstring · uuidrequiredread-onlyurlstring · urirequiredread-onlyjob_startstring · date-timerequiredread-onlyjob_endstring · date-timerequiredread-onlyprogressstringrequiredread-onlystatestringrequiredread-onlystate_labelstringrequiredread-onlyDisplay label for the job state. "Retrying" while the job is waiting out a retry/backoff; otherwise the label matching
state.stateitself is unchanged while "Retrying". The signal is derived per job group, so while a group waits out a backoff every running job in it reports the label, regardless of which stage's task is being retried.state_colorstringrequiredread-onlydatastreamobjectrequiredread-onlynullableAttributes
APIDatastreamBasic
idintegerrequiredread-onlyuuidstring · uuidrequiredread-onlystackobjectrequiredread-onlyAttributes · StackBasic
idintegerrequiredread-onlyuuidstring · uuidrequiredread-onlynamestringrequiredslugstringrequiredread-onlyurlstring · urirequiredread-onlychange_urlstringrequiredread-onlyextracts_urlstringrequiredread-onlyissues_urlstringrequiredread-onlyoverview_urlstringrequiredread-onlypermissionsstringrequiredread-only
stack_idintegerrequiredread-onlyWhich workspace the datastream belongs to.
authintegernullableWhich authorization the datastream uses.
namestringrequiredA human readable name. Numbers and special characters are supported.
slugstringrequiredread-onlyapp_labelstringrequiredread-onlyabsolute_urlstringrequiredread-onlychange_urlstringrequiredread-onlyextracts_urlstringrequiredread-onlyfetch_urlstringrequiredread-onlyoverview_urlstringrequiredread-onlyschema_mapping_urlstringrequiredread-onlyenabledbooleanStreams that are not scheduled will not be fetched automatically.
next_runstring · date-timerequiredread-onlyurlstring · urirequiredread-onlydatastream_type_idintegerrequiredread-onlylogo_urlstringrequiredread-onlyextracts_stream_urlstringrequiredread-onlysupports_extended_intervalsstringrequiredread-onlyupdatedstring · date-timerequiredread-onlycreatedstring · date-timerequiredread-onlycreatorstringrequiredread-onlynullablecan_be_fetchedbooleanrequiredread-only
null
issuesarray of objectrequiredread-onlyItems · CompactDatastreamExtractionLog
messagestringnullabletype_labelstringrequiredread-onlyextraction_stage_labelstringrequiredread-onlyurlstring · urirequiredread-only
last_executedstring · date-timerequiredread-onlynullableWhen a job in this job group last started executing. Job-group level: it reflects any job in the group, not this job alone. Null until the first job in the group starts - fall back to
scheduledto age a group that has not started yet. The write is debounced by 5 minutes, so the value may lag real activity by up to that much - do not build staleness alarms with a tighter threshold.userstringrequiredread-onlynullablerange_startstring · date-timerequiredread-onlyrange_endstring · date-timerequiredread-onlyscheduledstring · date-timerequiredread-onlymanualstringrequiredread-only
Get jobs imported¶
GET/api/jobs/{id}/imported/
API key permissionDatastream: Read-onlydatastream:read
Path parameters
idintegerrequiredA unique integer value identifying this job.
Responses
200OKapplication/json
Response schema
one of JobPolymorphic
BaseJobTyped
typestringrequiredidintegerrequiredread-onlyuuidstring · uuidrequiredread-onlyurlstring · urirequiredread-onlyjob_startstring · date-timerequiredread-onlyjob_endstring · date-timerequiredread-onlyprogressstringrequiredread-onlystatestringrequiredread-onlystate_labelstringrequiredread-onlyDisplay label for the job state. "Retrying" while the job is waiting out a retry/backoff; otherwise the label matching
state.stateitself is unchanged while "Retrying". The signal is derived per job group, so while a group waits out a backoff every running job in it reports the label, regardless of which stage's task is being retried.state_colorstringrequiredread-onlydatastreamobjectrequiredread-onlynullableAttributes
APIDatastreamBasic
idintegerrequiredread-onlyuuidstring · uuidrequiredread-onlystackobjectrequiredread-onlyAttributes · StackBasic
idintegerrequiredread-onlyuuidstring · uuidrequiredread-onlynamestringrequiredslugstringrequiredread-onlyurlstring · urirequiredread-onlychange_urlstringrequiredread-onlyextracts_urlstringrequiredread-onlyissues_urlstringrequiredread-onlyoverview_urlstringrequiredread-onlypermissionsstringrequiredread-only
stack_idintegerrequiredread-onlyWhich workspace the datastream belongs to.
authintegernullableWhich authorization the datastream uses.
namestringrequiredA human readable name. Numbers and special characters are supported.
slugstringrequiredread-onlyapp_labelstringrequiredread-onlyabsolute_urlstringrequiredread-onlychange_urlstringrequiredread-onlyextracts_urlstringrequiredread-onlyfetch_urlstringrequiredread-onlyoverview_urlstringrequiredread-onlyschema_mapping_urlstringrequiredread-onlyenabledbooleanStreams that are not scheduled will not be fetched automatically.
next_runstring · date-timerequiredread-onlyurlstring · urirequiredread-onlydatastream_type_idintegerrequiredread-onlylogo_urlstringrequiredread-onlyextracts_stream_urlstringrequiredread-onlysupports_extended_intervalsstringrequiredread-onlyupdatedstring · date-timerequiredread-onlycreatedstring · date-timerequiredread-onlycreatorstringrequiredread-onlynullablecan_be_fetchedbooleanrequiredread-only
null
issuesarray of objectrequiredread-onlyItems · CompactDatastreamExtractionLog
messagestringnullabletype_labelstringrequiredread-onlyextraction_stage_labelstringrequiredread-onlyurlstring · urirequiredread-only
last_executedstring · date-timerequiredread-onlynullableWhen a job in this job group last started executing. Job-group level: it reflects any job in the group, not this job alone. Null until the first job in the group starts - fall back to
scheduledto age a group that has not started yet. The write is debounced by 5 minutes, so the value may lag real activity by up to that much - do not build staleness alarms with a tighter threshold.userstringrequiredread-onlynullable
FetchJobTyped
typestringrequiredidintegerrequiredread-onlyuuidstring · uuidrequiredread-onlyurlstring · urirequiredread-onlyjob_startstring · date-timerequiredread-onlyjob_endstring · date-timerequiredread-onlyprogressstringrequiredread-onlystatestringrequiredread-onlystate_labelstringrequiredread-onlyDisplay label for the job state. "Retrying" while the job is waiting out a retry/backoff; otherwise the label matching
state.stateitself is unchanged while "Retrying". The signal is derived per job group, so while a group waits out a backoff every running job in it reports the label, regardless of which stage's task is being retried.state_colorstringrequiredread-onlydatastreamobjectrequiredread-onlynullableAttributes
APIDatastreamBasic
idintegerrequiredread-onlyuuidstring · uuidrequiredread-onlystackobjectrequiredread-onlyAttributes · StackBasic
idintegerrequiredread-onlyuuidstring · uuidrequiredread-onlynamestringrequiredslugstringrequiredread-onlyurlstring · urirequiredread-onlychange_urlstringrequiredread-onlyextracts_urlstringrequiredread-onlyissues_urlstringrequiredread-onlyoverview_urlstringrequiredread-onlypermissionsstringrequiredread-only
stack_idintegerrequiredread-onlyWhich workspace the datastream belongs to.
authintegernullableWhich authorization the datastream uses.
namestringrequiredA human readable name. Numbers and special characters are supported.
slugstringrequiredread-onlyapp_labelstringrequiredread-onlyabsolute_urlstringrequiredread-onlychange_urlstringrequiredread-onlyextracts_urlstringrequiredread-onlyfetch_urlstringrequiredread-onlyoverview_urlstringrequiredread-onlyschema_mapping_urlstringrequiredread-onlyenabledbooleanStreams that are not scheduled will not be fetched automatically.
next_runstring · date-timerequiredread-onlyurlstring · urirequiredread-onlydatastream_type_idintegerrequiredread-onlylogo_urlstringrequiredread-onlyextracts_stream_urlstringrequiredread-onlysupports_extended_intervalsstringrequiredread-onlyupdatedstring · date-timerequiredread-onlycreatedstring · date-timerequiredread-onlycreatorstringrequiredread-onlynullablecan_be_fetchedbooleanrequiredread-only
null
issuesarray of objectrequiredread-onlyItems · CompactDatastreamExtractionLog
messagestringnullabletype_labelstringrequiredread-onlyextraction_stage_labelstringrequiredread-onlyurlstring · urirequiredread-only
last_executedstring · date-timerequiredread-onlynullableWhen a job in this job group last started executing. Job-group level: it reflects any job in the group, not this job alone. Null until the first job in the group starts - fall back to
scheduledto age a group that has not started yet. The write is debounced by 5 minutes, so the value may lag real activity by up to that much - do not build staleness alarms with a tighter threshold.userstringrequiredread-onlynullablerange_startstring · date-timerequiredread-onlyrange_endstring · date-timerequiredread-onlyscheduledstring · date-timerequiredread-onlymanualstringrequiredread-only
Create jobs retry¶
POST/api/jobs/{id}/retry/
API key permissionDatastream: Writedatastream:write
Path parameters
idintegerrequiredA unique integer value identifying this job.
Request body
application/json also application/x-www-form-urlencoded, multipart/form-data
Body schema
one of JobPolymorphic
BaseJobTyped
typestringrequired
FetchJobTyped
typestringrequired
Responses
200OKapplication/json
Response schema
one of JobPolymorphic
BaseJobTyped
typestringrequiredidintegerrequiredread-onlyuuidstring · uuidrequiredread-onlyurlstring · urirequiredread-onlyjob_startstring · date-timerequiredread-onlyjob_endstring · date-timerequiredread-onlyprogressstringrequiredread-onlystatestringrequiredread-onlystate_labelstringrequiredread-onlyDisplay label for the job state. "Retrying" while the job is waiting out a retry/backoff; otherwise the label matching
state.stateitself is unchanged while "Retrying". The signal is derived per job group, so while a group waits out a backoff every running job in it reports the label, regardless of which stage's task is being retried.state_colorstringrequiredread-onlydatastreamobjectrequiredread-onlynullableAttributes
APIDatastreamBasic
idintegerrequiredread-onlyuuidstring · uuidrequiredread-onlystackobjectrequiredread-onlyAttributes · StackBasic
idintegerrequiredread-onlyuuidstring · uuidrequiredread-onlynamestringrequiredslugstringrequiredread-onlyurlstring · urirequiredread-onlychange_urlstringrequiredread-onlyextracts_urlstringrequiredread-onlyissues_urlstringrequiredread-onlyoverview_urlstringrequiredread-onlypermissionsstringrequiredread-only
stack_idintegerrequiredread-onlyWhich workspace the datastream belongs to.
authintegernullableWhich authorization the datastream uses.
namestringrequiredA human readable name. Numbers and special characters are supported.
slugstringrequiredread-onlyapp_labelstringrequiredread-onlyabsolute_urlstringrequiredread-onlychange_urlstringrequiredread-onlyextracts_urlstringrequiredread-onlyfetch_urlstringrequiredread-onlyoverview_urlstringrequiredread-onlyschema_mapping_urlstringrequiredread-onlyenabledbooleanStreams that are not scheduled will not be fetched automatically.
next_runstring · date-timerequiredread-onlyurlstring · urirequiredread-onlydatastream_type_idintegerrequiredread-onlylogo_urlstringrequiredread-onlyextracts_stream_urlstringrequiredread-onlysupports_extended_intervalsstringrequiredread-onlyupdatedstring · date-timerequiredread-onlycreatedstring · date-timerequiredread-onlycreatorstringrequiredread-onlynullablecan_be_fetchedbooleanrequiredread-only
null
issuesarray of objectrequiredread-onlyItems · CompactDatastreamExtractionLog
messagestringnullabletype_labelstringrequiredread-onlyextraction_stage_labelstringrequiredread-onlyurlstring · urirequiredread-only
last_executedstring · date-timerequiredread-onlynullableWhen a job in this job group last started executing. Job-group level: it reflects any job in the group, not this job alone. Null until the first job in the group starts - fall back to
scheduledto age a group that has not started yet. The write is debounced by 5 minutes, so the value may lag real activity by up to that much - do not build staleness alarms with a tighter threshold.userstringrequiredread-onlynullable
FetchJobTyped
typestringrequiredidintegerrequiredread-onlyuuidstring · uuidrequiredread-onlyurlstring · urirequiredread-onlyjob_startstring · date-timerequiredread-onlyjob_endstring · date-timerequiredread-onlyprogressstringrequiredread-onlystatestringrequiredread-onlystate_labelstringrequiredread-onlyDisplay label for the job state. "Retrying" while the job is waiting out a retry/backoff; otherwise the label matching
state.stateitself is unchanged while "Retrying". The signal is derived per job group, so while a group waits out a backoff every running job in it reports the label, regardless of which stage's task is being retried.state_colorstringrequiredread-onlydatastreamobjectrequiredread-onlynullableAttributes
APIDatastreamBasic
idintegerrequiredread-onlyuuidstring · uuidrequiredread-onlystackobjectrequiredread-onlyAttributes · StackBasic
idintegerrequiredread-onlyuuidstring · uuidrequiredread-onlynamestringrequiredslugstringrequiredread-onlyurlstring · urirequiredread-onlychange_urlstringrequiredread-onlyextracts_urlstringrequiredread-onlyissues_urlstringrequiredread-onlyoverview_urlstringrequiredread-onlypermissionsstringrequiredread-only
stack_idintegerrequiredread-onlyWhich workspace the datastream belongs to.
authintegernullableWhich authorization the datastream uses.
namestringrequiredA human readable name. Numbers and special characters are supported.
slugstringrequiredread-onlyapp_labelstringrequiredread-onlyabsolute_urlstringrequiredread-onlychange_urlstringrequiredread-onlyextracts_urlstringrequiredread-onlyfetch_urlstringrequiredread-onlyoverview_urlstringrequiredread-onlyschema_mapping_urlstringrequiredread-onlyenabledbooleanStreams that are not scheduled will not be fetched automatically.
next_runstring · date-timerequiredread-onlyurlstring · urirequiredread-onlydatastream_type_idintegerrequiredread-onlylogo_urlstringrequiredread-onlyextracts_stream_urlstringrequiredread-onlysupports_extended_intervalsstringrequiredread-onlyupdatedstring · date-timerequiredread-onlycreatedstring · date-timerequiredread-onlycreatorstringrequiredread-onlynullablecan_be_fetchedbooleanrequiredread-only
null
issuesarray of objectrequiredread-onlyItems · CompactDatastreamExtractionLog
messagestringnullabletype_labelstringrequiredread-onlyextraction_stage_labelstringrequiredread-onlyurlstring · urirequiredread-only
last_executedstring · date-timerequiredread-onlynullableWhen a job in this job group last started executing. Job-group level: it reflects any job in the group, not this job alone. Null until the first job in the group starts - fall back to
scheduledto age a group that has not started yet. The write is debounced by 5 minutes, so the value may lag real activity by up to that much - do not build staleness alarms with a tighter threshold.userstringrequiredread-onlynullablerange_startstring · date-timerequiredread-onlyrange_endstring · date-timerequiredread-onlyscheduledstring · date-timerequiredread-onlymanualstringrequiredread-only
Create jobs stop¶
POST/api/jobs/{id}/stop/
API key permissionDatastream: Writedatastream:write
Path parameters
idintegerrequiredA unique integer value identifying this job.
Request body
application/json also application/x-www-form-urlencoded, multipart/form-data
Body schema
one of JobPolymorphic
BaseJobTyped
typestringrequired
FetchJobTyped
typestringrequired
Responses
200OKapplication/json
Response schema
one of JobPolymorphic
BaseJobTyped
typestringrequiredidintegerrequiredread-onlyuuidstring · uuidrequiredread-onlyurlstring · urirequiredread-onlyjob_startstring · date-timerequiredread-onlyjob_endstring · date-timerequiredread-onlyprogressstringrequiredread-onlystatestringrequiredread-onlystate_labelstringrequiredread-onlyDisplay label for the job state. "Retrying" while the job is waiting out a retry/backoff; otherwise the label matching
state.stateitself is unchanged while "Retrying". The signal is derived per job group, so while a group waits out a backoff every running job in it reports the label, regardless of which stage's task is being retried.state_colorstringrequiredread-onlydatastreamobjectrequiredread-onlynullableAttributes
APIDatastreamBasic
idintegerrequiredread-onlyuuidstring · uuidrequiredread-onlystackobjectrequiredread-onlyAttributes · StackBasic
idintegerrequiredread-onlyuuidstring · uuidrequiredread-onlynamestringrequiredslugstringrequiredread-onlyurlstring · urirequiredread-onlychange_urlstringrequiredread-onlyextracts_urlstringrequiredread-onlyissues_urlstringrequiredread-onlyoverview_urlstringrequiredread-onlypermissionsstringrequiredread-only
stack_idintegerrequiredread-onlyWhich workspace the datastream belongs to.
authintegernullableWhich authorization the datastream uses.
namestringrequiredA human readable name. Numbers and special characters are supported.
slugstringrequiredread-onlyapp_labelstringrequiredread-onlyabsolute_urlstringrequiredread-onlychange_urlstringrequiredread-onlyextracts_urlstringrequiredread-onlyfetch_urlstringrequiredread-onlyoverview_urlstringrequiredread-onlyschema_mapping_urlstringrequiredread-onlyenabledbooleanStreams that are not scheduled will not be fetched automatically.
next_runstring · date-timerequiredread-onlyurlstring · urirequiredread-onlydatastream_type_idintegerrequiredread-onlylogo_urlstringrequiredread-onlyextracts_stream_urlstringrequiredread-onlysupports_extended_intervalsstringrequiredread-onlyupdatedstring · date-timerequiredread-onlycreatedstring · date-timerequiredread-onlycreatorstringrequiredread-onlynullablecan_be_fetchedbooleanrequiredread-only
null
issuesarray of objectrequiredread-onlyItems · CompactDatastreamExtractionLog
messagestringnullabletype_labelstringrequiredread-onlyextraction_stage_labelstringrequiredread-onlyurlstring · urirequiredread-only
last_executedstring · date-timerequiredread-onlynullableWhen a job in this job group last started executing. Job-group level: it reflects any job in the group, not this job alone. Null until the first job in the group starts - fall back to
scheduledto age a group that has not started yet. The write is debounced by 5 minutes, so the value may lag real activity by up to that much - do not build staleness alarms with a tighter threshold.userstringrequiredread-onlynullable
FetchJobTyped
typestringrequiredidintegerrequiredread-onlyuuidstring · uuidrequiredread-onlyurlstring · urirequiredread-onlyjob_startstring · date-timerequiredread-onlyjob_endstring · date-timerequiredread-onlyprogressstringrequiredread-onlystatestringrequiredread-onlystate_labelstringrequiredread-onlyDisplay label for the job state. "Retrying" while the job is waiting out a retry/backoff; otherwise the label matching
state.stateitself is unchanged while "Retrying". The signal is derived per job group, so while a group waits out a backoff every running job in it reports the label, regardless of which stage's task is being retried.state_colorstringrequiredread-onlydatastreamobjectrequiredread-onlynullableAttributes
APIDatastreamBasic
idintegerrequiredread-onlyuuidstring · uuidrequiredread-onlystackobjectrequiredread-onlyAttributes · StackBasic
idintegerrequiredread-onlyuuidstring · uuidrequiredread-onlynamestringrequiredslugstringrequiredread-onlyurlstring · urirequiredread-onlychange_urlstringrequiredread-onlyextracts_urlstringrequiredread-onlyissues_urlstringrequiredread-onlyoverview_urlstringrequiredread-onlypermissionsstringrequiredread-only
stack_idintegerrequiredread-onlyWhich workspace the datastream belongs to.
authintegernullableWhich authorization the datastream uses.
namestringrequiredA human readable name. Numbers and special characters are supported.
slugstringrequiredread-onlyapp_labelstringrequiredread-onlyabsolute_urlstringrequiredread-onlychange_urlstringrequiredread-onlyextracts_urlstringrequiredread-onlyfetch_urlstringrequiredread-onlyoverview_urlstringrequiredread-onlyschema_mapping_urlstringrequiredread-onlyenabledbooleanStreams that are not scheduled will not be fetched automatically.
next_runstring · date-timerequiredread-onlyurlstring · urirequiredread-onlydatastream_type_idintegerrequiredread-onlylogo_urlstringrequiredread-onlyextracts_stream_urlstringrequiredread-onlysupports_extended_intervalsstringrequiredread-onlyupdatedstring · date-timerequiredread-onlycreatedstring · date-timerequiredread-onlycreatorstringrequiredread-onlynullablecan_be_fetchedbooleanrequiredread-only
null
issuesarray of objectrequiredread-onlyItems · CompactDatastreamExtractionLog
messagestringnullabletype_labelstringrequiredread-onlyextraction_stage_labelstringrequiredread-onlyurlstring · urirequiredread-only
last_executedstring · date-timerequiredread-onlynullableWhen a job in this job group last started executing. Job-group level: it reflects any job in the group, not this job alone. Null until the first job in the group starts - fall back to
scheduledto age a group that has not started yet. The write is debounced by 5 minutes, so the value may lag real activity by up to that much - do not build staleness alarms with a tighter threshold.userstringrequiredread-onlynullablerange_startstring · date-timerequiredread-onlyrange_endstring · date-timerequiredread-onlyscheduledstring · date-timerequiredread-onlymanualstringrequiredread-only