Get the events of a migration job

View as Markdown
GET /jobs/{jobId}/logs

Get the events of a migration job

Path parameters

  • jobId string Required

    Job ID

    Format should match the following pattern: ^[A-Za-z0-9\-]+$.

Query parameters

  • limit integer

    Limit the number of events

    Minimum value is 0. Default value is 1000.

  • offset integer

    the number of events since the most recent event

    Minimum value is 0. Default value is 0.

  • eventType string

    filter by a specific job event type

    Values are ERROR, WARNING, or INFO.

Responses

  • 200 application/json

    OK

    Hide response attributes Show response attributes object
    • eventType string Required

      Values are ERROR, WARNING, or INFO.

    • message string Required
    • details string
    • timestamp string(date-time) Required
    • stackTrace array[string]
    • locationType string

      Values are TABLE or COLLECTION.

    • locationName string
    • fieldName string
    • key object
      Hide key attribute Show key attribute object
      • * string Additional properties
    • errorType string
  • 400 application/json

    Bad request

    Hide response attributes Show response attributes object
    • jobId string

      Format should match the following pattern: ^[A-Za-z0-9\-]+$.

    • message string Required
    • description string
    • timestamp string(date-time) Required
  • 404 application/json

    Not found

    Hide response attributes Show response attributes object
    • jobId string

      Format should match the following pattern: ^[A-Za-z0-9\-]+$.

    • message string Required
    • description string
    • timestamp string(date-time) Required
GET /jobs/{jobId}/logs
curl \
 --request GET 'http://127.0.0.1:8278/api/v1/jobs/{jobId}/logs'
Response examples (200)
[
  {
    "eventType": "ERROR",
    "message": "string",
    "details": "string",
    "timestamp": "2025-05-04T09:42:00Z",
    "stackTrace": [
      "string"
    ],
    "locationType": "TABLE",
    "locationName": "string",
    "fieldName": "string",
    "key": {
      "additionalProperty1": "string",
      "additionalProperty2": "string"
    },
    "errorType": "DuplicateKeyError"
  }
]
Response examples (400)
{
  "jobId": "string",
  "message": "string",
  "description": "string",
  "timestamp": "2025-05-04T09:42:00Z"
}
Response examples (404)
{
  "jobId": "string",
  "message": "string",
  "description": "string",
  "timestamp": "2025-05-04T09:42:00Z"
}