Skip to main content
POST
/
v1
/
metric
/
collection-jobs
/
{jobId}
/
retry
Retry a metric collection job
curl --request POST \
  --url https://api.roark.ai/v1/metric/collection-jobs/{jobId}/retry \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "totalItems": 123,
    "completedItems": 123,
    "failedItems": 123,
    "startedAt": "<string>",
    "completedAt": "<string>",
    "errorMessage": "<string>",
    "policyIds": [
      "3c90c3cc-0d44-4b50-8888-8dd25736052a"
    ],
    "createdAt": "<string>",
    "updatedAt": "<string>"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.roark.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

jobId
string<uuid>
required

The ID of the previous metric collection job to retry

Response

The newly created (retry) metric collection job

data
object
required

A metric collection job that processes metrics for calls or chats