Skip to content
Book a demo

Connect documentation

All documentation
Documentation

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_idnumber
  • endstring · date-time
  • job_group_idnumber
  • job_uuidstring · uuid
  • orderingstring

    Which field to use when ordering the results.

  • pageinteger

    A page number within the paginated result set.

  • page_sizeinteger

    Number of results to return per page.

  • stack_idnumber
  • startstring · date-time
  • stateinteger
    • 20 - Scheduled
    • 10 - Running
    • 50 - Success
    • 70 - Cancelled
    • 30 - Failed
    • 60 - Discarded

    One of 10 20 30 50 60 70

  • triggered_by_userboolean

    true: only human-triggered fetches; false: only system-triggered.

  • typestring
    • Fetch - Fetch
    • Enrich - Enrich
    • Transfer - Transfer

    One of Enrich Fetch Transfer

  • userstring

    Filter by the email of the user who triggered the fetch.

Responses

200OKapplication/json

Response schema

object PaginatedJobPolymorphicList

  • countintegerrequired

    Example 123

  • nextstring · urinullable

    Example "http://api.example.org/accounts/?page=4"

  • previousstring · urinullable

    Example "http://api.example.org/accounts/?page=2"

  • resultsarray of one ofrequired
    Items · JobPolymorphic
    • BaseJobTyped

      • typestringrequired
      • idintegerrequiredread-only
      • uuidstring · uuidrequiredread-only
      • urlstring · urirequiredread-only
      • job_startstring · date-timerequiredread-onlynullable
      • job_endstring · date-timerequiredread-onlynullable
      • progressintegerrequiredread-only
      • stateintegerrequiredread-only
      • state_labelstringrequiredread-only

        Display label for the job state. "Retrying" while the job is waiting out a retry/backoff; otherwise the label matching state. state itself 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-only
      • datastreamobjectrequiredread-onlynullable
        Attributes
        • APIDatastreamBasic

          • idintegerrequiredread-only
          • uuidstring · uuidrequiredread-only
          • stackobjectrequiredread-only
            Attributes · StackBasic
            • idintegerrequiredread-only
            • uuidstring · uuidrequiredread-only
            • namestringrequired

              Max length 60

            • slugstringrequiredread-only
            • urlstring · urirequiredread-only
            • change_urlstringrequiredread-only
            • extracts_urlstringrequiredread-only
            • issues_urlstringrequiredread-only
            • overview_urlstringrequiredread-only
            • permissionsobjectrequiredread-only
              Attributes
              • isCreatorbooleanrequired
              • isDatastreamManagerbooleanrequired
              • isViewerbooleanrequired
          • stack_idintegerrequiredread-only

            Which workspace the datastream belongs to.

          • authintegernullable

            Which authorization the datastream uses.

          • namestringrequired

            A human readable name. Numbers and special characters are supported.

            Max length 150

          • slugstringrequiredread-only
          • app_labelstringrequiredread-only
          • absolute_urlstringrequiredread-only
          • change_urlstringrequiredread-only
          • extracts_urlstringrequiredread-only
          • fetch_urlstringrequiredread-only
          • overview_urlstringrequiredread-only
          • schema_mapping_urlstringrequiredread-only
          • enabledboolean

            Streams that are not scheduled will not be fetched automatically.

          • next_runstring · date-timerequiredread-onlynullable
          • urlstring · urirequiredread-only
          • datastream_type_idintegerrequiredread-only
          • logo_urlstringrequiredread-only
          • extracts_stream_urlstringrequiredread-only
          • supports_extended_intervalsbooleanrequiredread-only
          • updatedstring · date-timerequiredread-only
          • createdstring · date-timerequiredread-only
          • creatorstringrequiredread-onlynullable
          • can_be_fetchedbooleanrequiredread-only
        • null

      • issuesarray of objectrequiredread-only
        Items · CompactDatastreamExtractionLog
        • messagestringnullable
        • type_labelstringrequiredread-only
        • extraction_stage_labelstringrequiredread-onlynullable
        • urlstring · urirequiredread-only
      • last_executedstring · date-timerequiredread-onlynullable

        When 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 scheduled to 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

      • typestringrequired
      • idintegerrequiredread-only
      • uuidstring · uuidrequiredread-only
      • urlstring · urirequiredread-only
      • job_startstring · date-timerequiredread-onlynullable
      • job_endstring · date-timerequiredread-onlynullable
      • progressintegerrequiredread-only
      • stateintegerrequiredread-only
      • state_labelstringrequiredread-only

        Display label for the job state. "Retrying" while the job is waiting out a retry/backoff; otherwise the label matching state. state itself 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-only
      • datastreamobjectrequiredread-onlynullable
        Attributes
        • APIDatastreamBasic

          • idintegerrequiredread-only
          • uuidstring · uuidrequiredread-only
          • stackobjectrequiredread-only
            Attributes · StackBasic
            • idintegerrequiredread-only
            • uuidstring · uuidrequiredread-only
            • namestringrequired

              Max length 60

            • slugstringrequiredread-only
            • urlstring · urirequiredread-only
            • change_urlstringrequiredread-only
            • extracts_urlstringrequiredread-only
            • issues_urlstringrequiredread-only
            • overview_urlstringrequiredread-only
            • permissionsobjectrequiredread-only
              Attributes
              • isCreatorbooleanrequired
              • isDatastreamManagerbooleanrequired
              • isViewerbooleanrequired
          • stack_idintegerrequiredread-only

            Which workspace the datastream belongs to.

          • authintegernullable

            Which authorization the datastream uses.

          • namestringrequired

            A human readable name. Numbers and special characters are supported.

            Max length 150

          • slugstringrequiredread-only
          • app_labelstringrequiredread-only
          • absolute_urlstringrequiredread-only
          • change_urlstringrequiredread-only
          • extracts_urlstringrequiredread-only
          • fetch_urlstringrequiredread-only
          • overview_urlstringrequiredread-only
          • schema_mapping_urlstringrequiredread-only
          • enabledboolean

            Streams that are not scheduled will not be fetched automatically.

          • next_runstring · date-timerequiredread-onlynullable
          • urlstring · urirequiredread-only
          • datastream_type_idintegerrequiredread-only
          • logo_urlstringrequiredread-only
          • extracts_stream_urlstringrequiredread-only
          • supports_extended_intervalsbooleanrequiredread-only
          • updatedstring · date-timerequiredread-only
          • createdstring · date-timerequiredread-only
          • creatorstringrequiredread-onlynullable
          • can_be_fetchedbooleanrequiredread-only
        • null

      • issuesarray of objectrequiredread-only
        Items · CompactDatastreamExtractionLog
        • messagestringnullable
        • type_labelstringrequiredread-only
        • extraction_stage_labelstringrequiredread-onlynullable
        • urlstring · urirequiredread-only
      • last_executedstring · date-timerequiredread-onlynullable

        When 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 scheduled to 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
      • range_startstring · date-timerequiredread-only
      • range_endstring · date-timerequiredread-only
      • scheduledstring · date-timerequiredread-only
      • manualbooleanread-onlynullable

        True for fetches started from the Adverity UI, a refetch or a bulk load; false for scheduled fetches, fetches started through this API and other automatic fetches. Null on some older jobs. Left out when the job belongs to no job group.

Get jobs

GET/api/jobs/{id}/

API key permissionDatastream: Read-onlydatastream:read

Path parameters

  • idintegerrequired

    A unique integer value identifying this job.

Responses

200OKapplication/json

Response schema

one of JobPolymorphic

  • BaseJobTyped

    • typestringrequired
    • idintegerrequiredread-only
    • uuidstring · uuidrequiredread-only
    • urlstring · urirequiredread-only
    • job_startstring · date-timerequiredread-onlynullable
    • job_endstring · date-timerequiredread-onlynullable
    • progressintegerrequiredread-only
    • stateintegerrequiredread-only
    • state_labelstringrequiredread-only

      Display label for the job state. "Retrying" while the job is waiting out a retry/backoff; otherwise the label matching state. state itself 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-only
    • datastreamobjectrequiredread-onlynullable
      Attributes
      • APIDatastreamBasic

        • idintegerrequiredread-only
        • uuidstring · uuidrequiredread-only
        • stackobjectrequiredread-only
          Attributes · StackBasic
          • idintegerrequiredread-only
          • uuidstring · uuidrequiredread-only
          • namestringrequired

            Max length 60

          • slugstringrequiredread-only
          • urlstring · urirequiredread-only
          • change_urlstringrequiredread-only
          • extracts_urlstringrequiredread-only
          • issues_urlstringrequiredread-only
          • overview_urlstringrequiredread-only
          • permissionsobjectrequiredread-only
            Attributes
            • isCreatorbooleanrequired
            • isDatastreamManagerbooleanrequired
            • isViewerbooleanrequired
        • stack_idintegerrequiredread-only

          Which workspace the datastream belongs to.

        • authintegernullable

          Which authorization the datastream uses.

        • namestringrequired

          A human readable name. Numbers and special characters are supported.

          Max length 150

        • slugstringrequiredread-only
        • app_labelstringrequiredread-only
        • absolute_urlstringrequiredread-only
        • change_urlstringrequiredread-only
        • extracts_urlstringrequiredread-only
        • fetch_urlstringrequiredread-only
        • overview_urlstringrequiredread-only
        • schema_mapping_urlstringrequiredread-only
        • enabledboolean

          Streams that are not scheduled will not be fetched automatically.

        • next_runstring · date-timerequiredread-onlynullable
        • urlstring · urirequiredread-only
        • datastream_type_idintegerrequiredread-only
        • logo_urlstringrequiredread-only
        • extracts_stream_urlstringrequiredread-only
        • supports_extended_intervalsbooleanrequiredread-only
        • updatedstring · date-timerequiredread-only
        • createdstring · date-timerequiredread-only
        • creatorstringrequiredread-onlynullable
        • can_be_fetchedbooleanrequiredread-only
      • null

    • issuesarray of objectrequiredread-only
      Items · CompactDatastreamExtractionLog
      • messagestringnullable
      • type_labelstringrequiredread-only
      • extraction_stage_labelstringrequiredread-onlynullable
      • urlstring · urirequiredread-only
    • last_executedstring · date-timerequiredread-onlynullable

      When 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 scheduled to 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

    • typestringrequired
    • idintegerrequiredread-only
    • uuidstring · uuidrequiredread-only
    • urlstring · urirequiredread-only
    • job_startstring · date-timerequiredread-onlynullable
    • job_endstring · date-timerequiredread-onlynullable
    • progressintegerrequiredread-only
    • stateintegerrequiredread-only
    • state_labelstringrequiredread-only

      Display label for the job state. "Retrying" while the job is waiting out a retry/backoff; otherwise the label matching state. state itself 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-only
    • datastreamobjectrequiredread-onlynullable
      Attributes
      • APIDatastreamBasic

        • idintegerrequiredread-only
        • uuidstring · uuidrequiredread-only
        • stackobjectrequiredread-only
          Attributes · StackBasic
          • idintegerrequiredread-only
          • uuidstring · uuidrequiredread-only
          • namestringrequired

            Max length 60

          • slugstringrequiredread-only
          • urlstring · urirequiredread-only
          • change_urlstringrequiredread-only
          • extracts_urlstringrequiredread-only
          • issues_urlstringrequiredread-only
          • overview_urlstringrequiredread-only
          • permissionsobjectrequiredread-only
            Attributes
            • isCreatorbooleanrequired
            • isDatastreamManagerbooleanrequired
            • isViewerbooleanrequired
        • stack_idintegerrequiredread-only

          Which workspace the datastream belongs to.

        • authintegernullable

          Which authorization the datastream uses.

        • namestringrequired

          A human readable name. Numbers and special characters are supported.

          Max length 150

        • slugstringrequiredread-only
        • app_labelstringrequiredread-only
        • absolute_urlstringrequiredread-only
        • change_urlstringrequiredread-only
        • extracts_urlstringrequiredread-only
        • fetch_urlstringrequiredread-only
        • overview_urlstringrequiredread-only
        • schema_mapping_urlstringrequiredread-only
        • enabledboolean

          Streams that are not scheduled will not be fetched automatically.

        • next_runstring · date-timerequiredread-onlynullable
        • urlstring · urirequiredread-only
        • datastream_type_idintegerrequiredread-only
        • logo_urlstringrequiredread-only
        • extracts_stream_urlstringrequiredread-only
        • supports_extended_intervalsbooleanrequiredread-only
        • updatedstring · date-timerequiredread-only
        • createdstring · date-timerequiredread-only
        • creatorstringrequiredread-onlynullable
        • can_be_fetchedbooleanrequiredread-only
      • null

    • issuesarray of objectrequiredread-only
      Items · CompactDatastreamExtractionLog
      • messagestringnullable
      • type_labelstringrequiredread-only
      • extraction_stage_labelstringrequiredread-onlynullable
      • urlstring · urirequiredread-only
    • last_executedstring · date-timerequiredread-onlynullable

      When 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 scheduled to 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
    • range_startstring · date-timerequiredread-only
    • range_endstring · date-timerequiredread-only
    • scheduledstring · date-timerequiredread-only
    • manualbooleanread-onlynullable

      True for fetches started from the Adverity UI, a refetch or a bulk load; false for scheduled fetches, fetches started through this API and other automatic fetches. Null on some older jobs. Left out when the job belongs to no job group.

Get jobs imported

GET/api/jobs/{id}/imported/

API key permissionDatastream: Read-onlydatastream:read

Path parameters

  • idintegerrequired

    A unique integer value identifying this job.

Responses

200OKapplication/json

Response schema

one of JobPolymorphic

  • BaseJobTyped

    • typestringrequired
    • idintegerrequiredread-only
    • uuidstring · uuidrequiredread-only
    • urlstring · urirequiredread-only
    • job_startstring · date-timerequiredread-onlynullable
    • job_endstring · date-timerequiredread-onlynullable
    • progressintegerrequiredread-only
    • stateintegerrequiredread-only
    • state_labelstringrequiredread-only

      Display label for the job state. "Retrying" while the job is waiting out a retry/backoff; otherwise the label matching state. state itself 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-only
    • datastreamobjectrequiredread-onlynullable
      Attributes
      • APIDatastreamBasic

        • idintegerrequiredread-only
        • uuidstring · uuidrequiredread-only
        • stackobjectrequiredread-only
          Attributes · StackBasic
          • idintegerrequiredread-only
          • uuidstring · uuidrequiredread-only
          • namestringrequired

            Max length 60

          • slugstringrequiredread-only
          • urlstring · urirequiredread-only
          • change_urlstringrequiredread-only
          • extracts_urlstringrequiredread-only
          • issues_urlstringrequiredread-only
          • overview_urlstringrequiredread-only
          • permissionsobjectrequiredread-only
            Attributes
            • isCreatorbooleanrequired
            • isDatastreamManagerbooleanrequired
            • isViewerbooleanrequired
        • stack_idintegerrequiredread-only

          Which workspace the datastream belongs to.

        • authintegernullable

          Which authorization the datastream uses.

        • namestringrequired

          A human readable name. Numbers and special characters are supported.

          Max length 150

        • slugstringrequiredread-only
        • app_labelstringrequiredread-only
        • absolute_urlstringrequiredread-only
        • change_urlstringrequiredread-only
        • extracts_urlstringrequiredread-only
        • fetch_urlstringrequiredread-only
        • overview_urlstringrequiredread-only
        • schema_mapping_urlstringrequiredread-only
        • enabledboolean

          Streams that are not scheduled will not be fetched automatically.

        • next_runstring · date-timerequiredread-onlynullable
        • urlstring · urirequiredread-only
        • datastream_type_idintegerrequiredread-only
        • logo_urlstringrequiredread-only
        • extracts_stream_urlstringrequiredread-only
        • supports_extended_intervalsbooleanrequiredread-only
        • updatedstring · date-timerequiredread-only
        • createdstring · date-timerequiredread-only
        • creatorstringrequiredread-onlynullable
        • can_be_fetchedbooleanrequiredread-only
      • null

    • issuesarray of objectrequiredread-only
      Items · CompactDatastreamExtractionLog
      • messagestringnullable
      • type_labelstringrequiredread-only
      • extraction_stage_labelstringrequiredread-onlynullable
      • urlstring · urirequiredread-only
    • last_executedstring · date-timerequiredread-onlynullable

      When 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 scheduled to 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

    • typestringrequired
    • idintegerrequiredread-only
    • uuidstring · uuidrequiredread-only
    • urlstring · urirequiredread-only
    • job_startstring · date-timerequiredread-onlynullable
    • job_endstring · date-timerequiredread-onlynullable
    • progressintegerrequiredread-only
    • stateintegerrequiredread-only
    • state_labelstringrequiredread-only

      Display label for the job state. "Retrying" while the job is waiting out a retry/backoff; otherwise the label matching state. state itself 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-only
    • datastreamobjectrequiredread-onlynullable
      Attributes
      • APIDatastreamBasic

        • idintegerrequiredread-only
        • uuidstring · uuidrequiredread-only
        • stackobjectrequiredread-only
          Attributes · StackBasic
          • idintegerrequiredread-only
          • uuidstring · uuidrequiredread-only
          • namestringrequired

            Max length 60

          • slugstringrequiredread-only
          • urlstring · urirequiredread-only
          • change_urlstringrequiredread-only
          • extracts_urlstringrequiredread-only
          • issues_urlstringrequiredread-only
          • overview_urlstringrequiredread-only
          • permissionsobjectrequiredread-only
            Attributes
            • isCreatorbooleanrequired
            • isDatastreamManagerbooleanrequired
            • isViewerbooleanrequired
        • stack_idintegerrequiredread-only

          Which workspace the datastream belongs to.

        • authintegernullable

          Which authorization the datastream uses.

        • namestringrequired

          A human readable name. Numbers and special characters are supported.

          Max length 150

        • slugstringrequiredread-only
        • app_labelstringrequiredread-only
        • absolute_urlstringrequiredread-only
        • change_urlstringrequiredread-only
        • extracts_urlstringrequiredread-only
        • fetch_urlstringrequiredread-only
        • overview_urlstringrequiredread-only
        • schema_mapping_urlstringrequiredread-only
        • enabledboolean

          Streams that are not scheduled will not be fetched automatically.

        • next_runstring · date-timerequiredread-onlynullable
        • urlstring · urirequiredread-only
        • datastream_type_idintegerrequiredread-only
        • logo_urlstringrequiredread-only
        • extracts_stream_urlstringrequiredread-only
        • supports_extended_intervalsbooleanrequiredread-only
        • updatedstring · date-timerequiredread-only
        • createdstring · date-timerequiredread-only
        • creatorstringrequiredread-onlynullable
        • can_be_fetchedbooleanrequiredread-only
      • null

    • issuesarray of objectrequiredread-only
      Items · CompactDatastreamExtractionLog
      • messagestringnullable
      • type_labelstringrequiredread-only
      • extraction_stage_labelstringrequiredread-onlynullable
      • urlstring · urirequiredread-only
    • last_executedstring · date-timerequiredread-onlynullable

      When 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 scheduled to 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
    • range_startstring · date-timerequiredread-only
    • range_endstring · date-timerequiredread-only
    • scheduledstring · date-timerequiredread-only
    • manualbooleanread-onlynullable

      True for fetches started from the Adverity UI, a refetch or a bulk load; false for scheduled fetches, fetches started through this API and other automatic fetches. Null on some older jobs. Left out when the job belongs to no job group.

Create jobs retry

POST/api/jobs/{id}/retry/

API key permissionDatastream: Writedatastream:write

Path parameters

  • idintegerrequired

    A 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

    • typestringrequired
    • idintegerrequiredread-only
    • uuidstring · uuidrequiredread-only
    • urlstring · urirequiredread-only
    • job_startstring · date-timerequiredread-onlynullable
    • job_endstring · date-timerequiredread-onlynullable
    • progressintegerrequiredread-only
    • stateintegerrequiredread-only
    • state_labelstringrequiredread-only

      Display label for the job state. "Retrying" while the job is waiting out a retry/backoff; otherwise the label matching state. state itself 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-only
    • datastreamobjectrequiredread-onlynullable
      Attributes
      • APIDatastreamBasic

        • idintegerrequiredread-only
        • uuidstring · uuidrequiredread-only
        • stackobjectrequiredread-only
          Attributes · StackBasic
          • idintegerrequiredread-only
          • uuidstring · uuidrequiredread-only
          • namestringrequired

            Max length 60

          • slugstringrequiredread-only
          • urlstring · urirequiredread-only
          • change_urlstringrequiredread-only
          • extracts_urlstringrequiredread-only
          • issues_urlstringrequiredread-only
          • overview_urlstringrequiredread-only
          • permissionsobjectrequiredread-only
            Attributes
            • isCreatorbooleanrequired
            • isDatastreamManagerbooleanrequired
            • isViewerbooleanrequired
        • stack_idintegerrequiredread-only

          Which workspace the datastream belongs to.

        • authintegernullable

          Which authorization the datastream uses.

        • namestringrequired

          A human readable name. Numbers and special characters are supported.

          Max length 150

        • slugstringrequiredread-only
        • app_labelstringrequiredread-only
        • absolute_urlstringrequiredread-only
        • change_urlstringrequiredread-only
        • extracts_urlstringrequiredread-only
        • fetch_urlstringrequiredread-only
        • overview_urlstringrequiredread-only
        • schema_mapping_urlstringrequiredread-only
        • enabledboolean

          Streams that are not scheduled will not be fetched automatically.

        • next_runstring · date-timerequiredread-onlynullable
        • urlstring · urirequiredread-only
        • datastream_type_idintegerrequiredread-only
        • logo_urlstringrequiredread-only
        • extracts_stream_urlstringrequiredread-only
        • supports_extended_intervalsbooleanrequiredread-only
        • updatedstring · date-timerequiredread-only
        • createdstring · date-timerequiredread-only
        • creatorstringrequiredread-onlynullable
        • can_be_fetchedbooleanrequiredread-only
      • null

    • issuesarray of objectrequiredread-only
      Items · CompactDatastreamExtractionLog
      • messagestringnullable
      • type_labelstringrequiredread-only
      • extraction_stage_labelstringrequiredread-onlynullable
      • urlstring · urirequiredread-only
    • last_executedstring · date-timerequiredread-onlynullable

      When 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 scheduled to 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

    • typestringrequired
    • idintegerrequiredread-only
    • uuidstring · uuidrequiredread-only
    • urlstring · urirequiredread-only
    • job_startstring · date-timerequiredread-onlynullable
    • job_endstring · date-timerequiredread-onlynullable
    • progressintegerrequiredread-only
    • stateintegerrequiredread-only
    • state_labelstringrequiredread-only

      Display label for the job state. "Retrying" while the job is waiting out a retry/backoff; otherwise the label matching state. state itself 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-only
    • datastreamobjectrequiredread-onlynullable
      Attributes
      • APIDatastreamBasic

        • idintegerrequiredread-only
        • uuidstring · uuidrequiredread-only
        • stackobjectrequiredread-only
          Attributes · StackBasic
          • idintegerrequiredread-only
          • uuidstring · uuidrequiredread-only
          • namestringrequired

            Max length 60

          • slugstringrequiredread-only
          • urlstring · urirequiredread-only
          • change_urlstringrequiredread-only
          • extracts_urlstringrequiredread-only
          • issues_urlstringrequiredread-only
          • overview_urlstringrequiredread-only
          • permissionsobjectrequiredread-only
            Attributes
            • isCreatorbooleanrequired
            • isDatastreamManagerbooleanrequired
            • isViewerbooleanrequired
        • stack_idintegerrequiredread-only

          Which workspace the datastream belongs to.

        • authintegernullable

          Which authorization the datastream uses.

        • namestringrequired

          A human readable name. Numbers and special characters are supported.

          Max length 150

        • slugstringrequiredread-only
        • app_labelstringrequiredread-only
        • absolute_urlstringrequiredread-only
        • change_urlstringrequiredread-only
        • extracts_urlstringrequiredread-only
        • fetch_urlstringrequiredread-only
        • overview_urlstringrequiredread-only
        • schema_mapping_urlstringrequiredread-only
        • enabledboolean

          Streams that are not scheduled will not be fetched automatically.

        • next_runstring · date-timerequiredread-onlynullable
        • urlstring · urirequiredread-only
        • datastream_type_idintegerrequiredread-only
        • logo_urlstringrequiredread-only
        • extracts_stream_urlstringrequiredread-only
        • supports_extended_intervalsbooleanrequiredread-only
        • updatedstring · date-timerequiredread-only
        • createdstring · date-timerequiredread-only
        • creatorstringrequiredread-onlynullable
        • can_be_fetchedbooleanrequiredread-only
      • null

    • issuesarray of objectrequiredread-only
      Items · CompactDatastreamExtractionLog
      • messagestringnullable
      • type_labelstringrequiredread-only
      • extraction_stage_labelstringrequiredread-onlynullable
      • urlstring · urirequiredread-only
    • last_executedstring · date-timerequiredread-onlynullable

      When 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 scheduled to 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
    • range_startstring · date-timerequiredread-only
    • range_endstring · date-timerequiredread-only
    • scheduledstring · date-timerequiredread-only
    • manualbooleanread-onlynullable

      True for fetches started from the Adverity UI, a refetch or a bulk load; false for scheduled fetches, fetches started through this API and other automatic fetches. Null on some older jobs. Left out when the job belongs to no job group.

Create jobs stop

POST/api/jobs/{id}/stop/

API key permissionDatastream: Writedatastream:write

Path parameters

  • idintegerrequired

    A 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

    • typestringrequired
    • idintegerrequiredread-only
    • uuidstring · uuidrequiredread-only
    • urlstring · urirequiredread-only
    • job_startstring · date-timerequiredread-onlynullable
    • job_endstring · date-timerequiredread-onlynullable
    • progressintegerrequiredread-only
    • stateintegerrequiredread-only
    • state_labelstringrequiredread-only

      Display label for the job state. "Retrying" while the job is waiting out a retry/backoff; otherwise the label matching state. state itself 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-only
    • datastreamobjectrequiredread-onlynullable
      Attributes
      • APIDatastreamBasic

        • idintegerrequiredread-only
        • uuidstring · uuidrequiredread-only
        • stackobjectrequiredread-only
          Attributes · StackBasic
          • idintegerrequiredread-only
          • uuidstring · uuidrequiredread-only
          • namestringrequired

            Max length 60

          • slugstringrequiredread-only
          • urlstring · urirequiredread-only
          • change_urlstringrequiredread-only
          • extracts_urlstringrequiredread-only
          • issues_urlstringrequiredread-only
          • overview_urlstringrequiredread-only
          • permissionsobjectrequiredread-only
            Attributes
            • isCreatorbooleanrequired
            • isDatastreamManagerbooleanrequired
            • isViewerbooleanrequired
        • stack_idintegerrequiredread-only

          Which workspace the datastream belongs to.

        • authintegernullable

          Which authorization the datastream uses.

        • namestringrequired

          A human readable name. Numbers and special characters are supported.

          Max length 150

        • slugstringrequiredread-only
        • app_labelstringrequiredread-only
        • absolute_urlstringrequiredread-only
        • change_urlstringrequiredread-only
        • extracts_urlstringrequiredread-only
        • fetch_urlstringrequiredread-only
        • overview_urlstringrequiredread-only
        • schema_mapping_urlstringrequiredread-only
        • enabledboolean

          Streams that are not scheduled will not be fetched automatically.

        • next_runstring · date-timerequiredread-onlynullable
        • urlstring · urirequiredread-only
        • datastream_type_idintegerrequiredread-only
        • logo_urlstringrequiredread-only
        • extracts_stream_urlstringrequiredread-only
        • supports_extended_intervalsbooleanrequiredread-only
        • updatedstring · date-timerequiredread-only
        • createdstring · date-timerequiredread-only
        • creatorstringrequiredread-onlynullable
        • can_be_fetchedbooleanrequiredread-only
      • null

    • issuesarray of objectrequiredread-only
      Items · CompactDatastreamExtractionLog
      • messagestringnullable
      • type_labelstringrequiredread-only
      • extraction_stage_labelstringrequiredread-onlynullable
      • urlstring · urirequiredread-only
    • last_executedstring · date-timerequiredread-onlynullable

      When 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 scheduled to 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

    • typestringrequired
    • idintegerrequiredread-only
    • uuidstring · uuidrequiredread-only
    • urlstring · urirequiredread-only
    • job_startstring · date-timerequiredread-onlynullable
    • job_endstring · date-timerequiredread-onlynullable
    • progressintegerrequiredread-only
    • stateintegerrequiredread-only
    • state_labelstringrequiredread-only

      Display label for the job state. "Retrying" while the job is waiting out a retry/backoff; otherwise the label matching state. state itself 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-only
    • datastreamobjectrequiredread-onlynullable
      Attributes
      • APIDatastreamBasic

        • idintegerrequiredread-only
        • uuidstring · uuidrequiredread-only
        • stackobjectrequiredread-only
          Attributes · StackBasic
          • idintegerrequiredread-only
          • uuidstring · uuidrequiredread-only
          • namestringrequired

            Max length 60

          • slugstringrequiredread-only
          • urlstring · urirequiredread-only
          • change_urlstringrequiredread-only
          • extracts_urlstringrequiredread-only
          • issues_urlstringrequiredread-only
          • overview_urlstringrequiredread-only
          • permissionsobjectrequiredread-only
            Attributes
            • isCreatorbooleanrequired
            • isDatastreamManagerbooleanrequired
            • isViewerbooleanrequired
        • stack_idintegerrequiredread-only

          Which workspace the datastream belongs to.

        • authintegernullable

          Which authorization the datastream uses.

        • namestringrequired

          A human readable name. Numbers and special characters are supported.

          Max length 150

        • slugstringrequiredread-only
        • app_labelstringrequiredread-only
        • absolute_urlstringrequiredread-only
        • change_urlstringrequiredread-only
        • extracts_urlstringrequiredread-only
        • fetch_urlstringrequiredread-only
        • overview_urlstringrequiredread-only
        • schema_mapping_urlstringrequiredread-only
        • enabledboolean

          Streams that are not scheduled will not be fetched automatically.

        • next_runstring · date-timerequiredread-onlynullable
        • urlstring · urirequiredread-only
        • datastream_type_idintegerrequiredread-only
        • logo_urlstringrequiredread-only
        • extracts_stream_urlstringrequiredread-only
        • supports_extended_intervalsbooleanrequiredread-only
        • updatedstring · date-timerequiredread-only
        • createdstring · date-timerequiredread-only
        • creatorstringrequiredread-onlynullable
        • can_be_fetchedbooleanrequiredread-only
      • null

    • issuesarray of objectrequiredread-only
      Items · CompactDatastreamExtractionLog
      • messagestringnullable
      • type_labelstringrequiredread-only
      • extraction_stage_labelstringrequiredread-onlynullable
      • urlstring · urirequiredread-only
    • last_executedstring · date-timerequiredread-onlynullable

      When 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 scheduled to 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
    • range_startstring · date-timerequiredread-only
    • range_endstring · date-timerequiredread-only
    • scheduledstring · date-timerequiredread-only
    • manualbooleanread-onlynullable

      True for fetches started from the Adverity UI, a refetch or a bulk load; false for scheduled fetches, fetches started through this API and other automatic fetches. Null on some older jobs. Left out when the job belongs to no job group.