Pular para o conteúdo principal
GET
/
v1
/
export-jobs
Listar trabalhos de exportação
curl --request GET \
  --url https://matcher.sandbox.lerian.net/v1/export-jobs \
  --header 'Authorization: Bearer <token>'
{
  "hasMore": true,
  "jobs": [
    {
      "bytesWritten": 123,
      "createdAt": "<string>",
      "downloadUrl": "<string>",
      "error": "<string>",
      "expiresAt": "<string>",
      "fileName": "<string>",
      "finishedAt": "<string>",
      "format": "<string>",
      "id": "<string>",
      "recordsWritten": 123,
      "reportType": "<string>",
      "startedAt": "<string>",
      "status": "<string>"
    }
  ],
  "limit": 20,
  "nextCursor": "eyJpZCI6IjEyMyJ9",
  "prevCursor": "eyJpZCI6IjEyMiJ9"
}

Autorizações

Authorization
string
header
obrigatório

Bearer token authentication (format: "Bearer {token}")

Cabeçalhos

X-Request-Id
string

Um identificador único para rastrear a requisição entre serviços.

Parâmetros de consulta

status
string

Filtrar por status (QUEUED, RUNNING, SUCCEEDED, FAILED, EXPIRED, CANCELED)

limit
integer

Número máximo de trabalhos a retornar (padrão 20, máximo 100)

Resposta

Indica que a requisição foi bem-sucedida e a resposta contém os dados esperados.

hasMore
boolean
Exemplo:

true

jobs
object[]
limit
integer
Intervalo obrigatório: 1 <= x <= 200
Exemplo:

20

nextCursor
string
Exemplo:

"eyJpZCI6IjEyMyJ9"

prevCursor
string
Exemplo:

"eyJpZCI6IjEyMiJ9"