Saltar al contenido principal
GET
/
v1
/
export-jobs
Listar trabajos de exportación
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"
}

Autorizaciones

Authorization
string
header
requerido

Autenticación con token Bearer (formato: "Bearer {token}")

Encabezados

X-Request-Id
string

Un identificador único para rastrear la solicitud a través de los servicios.

Parámetros de consulta

status
string

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

limit
integer

Número máximo de trabajos a devolver (predeterminado 20, máximo 100)

Respuesta

Indica que la solicitud fue exitosa y la respuesta contiene los datos esperados.

hasMore
boolean
Ejemplo:

true

jobs
object[]
limit
integer
Rango requerido: 1 <= x <= 200
Ejemplo:

20

nextCursor
string
Ejemplo:

"eyJpZCI6IjEyMyJ9"

prevCursor
string
Ejemplo:

"eyJpZCI6IjEyMiJ9"