List logs for the job
GET/integrations/:integration_uuid/jobs/:job_uuid/logs
Returns the integration logs for the given integration and job UUID.
Request
Path Parameters
The unique identifier of the integration.
The unique identifier of the integration job.
Responses
- 200
- 404
- 500
Success. Returns a list of integration logs.
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
data IntegrationLog[]
A unique identifier of an integration whose logs you want to view.
Possible values: [integration
]
Default value: integration
This represents the type of resource object being returned. Always integration
.
Whether the integration was successful.
The number of attempts made to process the integration.
The response returned from the integration.
The status code returned from the integration.
The reason why the integration failed.
relationships object
Relationships are established between different integration entities. For example, a log and an integration job are related to an integration.
integration object
data object
The ID of the integration processed.
This represents the resource type of the object being returned. Always integration
.
job object
data object
The ID of the integration job processed.
This represents the resource type of the object being returned. Always integration-job
.
meta object
The maximum number of records per page for a response. You can set this value up to 100.
The current offset by number of records, not pages. Offset is zero-based.
The current page.
The total page count.
results object
The results for this response for the entire collection.
The total number of records for this response for the entire collection.
{
"data": [
{
"id": "ac8bb58e-2b9b-4ccf-9dd2-ecdf50417849",
"type": "integration",
"succeeded": true,
"attempt": 1,
"body": "Not Found",
"status_code": 404,
"error_detail": "Received a status code outside of 2xx range - treating webhook as a fail",
"relationships": {
"integration": {
"data": {
"id": "ff8634a8-a89e-4eac-baab-9b7b8c4f8720",
"type": "integration"
}
},
"job": {
"data": {
"id": "ff8634a8-a89e-4eac-baab-9b7b8c4f8720",
"type": "job"
}
}
}
}
],
"meta": {
"limit": 100,
"offset": 0,
"current": 1,
"total": 1
},
"results": {
"total": 1
}
}
Not found. The requested entity does not exist.
- application/json
- Schema
- Example (from schema)
- not-found
Schema
- Array [
- ]
errors ErrorBody[]required
The HTTP response code of the error.
A brief summary of the error.
Optional additional detail about the error.
{
"errors": [
{
"status": 500,
"title": "Internal server error",
"detail": "An internal error has occurred."
}
]
}
{
"errors": [
{
"title": "Not Found",
"status": 404,
"detail": "The resource could not be found"
}
]
}
Internal server error. There was a system failure in the platform.
- application/json
- Schema
- Example (from schema)
- internal-server-error
Schema
- Array [
- ]
errors ErrorBody[]required
The HTTP response code of the error.
A brief summary of the error.
Optional additional detail about the error.
{
"errors": [
{
"status": 500,
"title": "Internal server error",
"detail": "An internal error has occurred."
}
]
}
{
"errors": [
{
"title": "Internal Server Error",
"status": 500
}
]
}