Jobs

List jobs

Get the list of jobs for your organization based on filters.

get/v1/jobs

Request

  • Base URL
    https://docs.grepr.ai (the document declares no server; this is the origin it was published from)
  • Auth
    • API key in header GREPR-API-KEY
    • or OpenID Connect (https://grepr-prod.us.auth0.com/.well-known/openid-configuration)

Query parameters

sincestring date-time

Optional reference time to fetch jobs after. The value must represent a valid instant in UTC parseable using DateTimeFormatter.ISO_INSTANT. Eg: 2007-12-03T10:15:30.00Z

execution'SYNCHRONOUS' | 'ASYNCHRONOUS'

Optional filter to fetch jobs of specific execution types

processing'BATCH' | 'STREAMING'

Optional filter to fetch jobs of specific processing types

latestboolean

Optional flag to fetch only the latest versions of the jobs

statestring[]

Optional filter to fetch a subset of states

namestring[]

Optional filter to fetch specific jobs by name

idstring[]

Optional filter to fetch specific jobs by id

tagstring[]

Optional filter to fetch only jobs carrying every given tag, each as key:value

Response

Jobs retrieved successfully

Example response

{
  "items": [
    {
      "id": "0ABC12DEF4G",
      "jobGraph": {
        "edges": [
          "source -> sink"
        ],
        "vertices": [
          {
            "end": "2024-08-07T22:05:07Z",
            "integrationId": "0jn5rdc93r10t",
            "name": "source",
            "processing": "BATCH",
            "query": {
              "query": "service:grepr-query",
              "type": "datadog-query"
            },
            "start": "2024-08-07T22:00:07Z",
            "table": "logevent_raw_devpipeline",
            "type": "logs-iceberg-table-source"
          },
          {
            "name": "sink",
            "type": "logs-sync-sink"
          }
        ]
      },
      "name": "demo_pipeline_1",
      "organizationId": "grepr"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.