Skip to Content
Docs

Create a crash log

POST
/agents/{agentId}/crash-logs

Authorization

jwt
headerAuthorizationBearer <JWT>

Path Parameters

Header Parameters

Request Body

application/json
  1. body
hostname*string
message*string
error?unknown

Response Body

application/json
  1. response
hostname*string
organizationId*string
uri*string
message*string
error?unknown
_metaData*
Example Request
curl -X POST 'https://agents.your-tenant-id.my.contextual.io/api/v1/agents/{agentId}/crash-logs' \  -H 'Content-Type: application/json' \  -d '{  "hostname": "string",  "message": "string"}'
Example Response
{  "hostname": "string",  "organizationId": "string",  "uri": "string",  "message": "string",  "error": null,  "_metaData": {    "id": "string",    "createdAt": "2019-08-24T14:15:22Z",    "updatedAt": "2019-08-24T14:15:22Z"  }}