Skip to main content
GET
/
hostedextractors
/
jobs
/
metrics
Python SDK
res = client.hosted_extractors.jobs.list_metrics(job="myJob")
{
  "items": [
    {
      "jobExternalId": "<string>",
      "timestamp": 1,
      "sourceMessages": 1,
      "cdfInputValues": 1,
      "cdfRequests": 1,
      "transformFailures": 1,
      "cdfWriteFailures": 1,
      "cdfSkippedValues": 1,
      "cdfFailedValues": 1,
      "cdfUploadedValues": 1
    }
  ]
}

Authorizations

Authorization
string
header
required

Access token issued by the CDF project's configured identity provider. Access token must be an OpenID Connect token, and the project must be configured to accept OpenID Connect tokens. Use a header key of 'Authorization' with a value of 'Bearer $accesstoken'. The token can be obtained through any flow supported by the identity provider.

Query Parameters

job
string

Require returned metrics to belong to the job given by this external ID.

limit
integer
default:100

Limits the number of results to be returned. The maximum results returned by the server is 1000 even if you specify a higher limit.

Required range: 1 <= x <= 1000
cursor
string

Cursor for paging through results. In general, if a response contains a nextCursor property, it means that there may be more results, and you should pass that value as the cursor parameter in the next request.

Note that the cursor may or may not be encrypted, but either way, it is not intended to be decoded. Its internal structure is not a part of the public API, and may change without notice. You should treat it as an opaque string and not attempt to craft your own cursors.

Example:

"4zj0Vy2fo0NtNMb229mI9r1V3YG5NBL752kQz1cKtwo"

source
string

Require returned metrics to belong to the any job with source given by this external ID.

destination
string

Require returned metrics to belong to the any job with destination given by this external ID.

Response

List of retrieved job metrics.

items
Items · object[]
required
Maximum array length: 1000
Last modified on April 23, 2026