NeuroLate
APIСправочникRequest log

Get a logged request

GET
/ext/v1/requests/{id}

Outcome, input summary and cost (usage). The log is kept for 90 days. Free.

Access: Requests made with any key of the same team are visible.

Authorization

apiKey
headerAuthorizationBearer <nlk_… (team API key)>

Path Parameters

id*string
Formatuuid

Response Body

The request.

application/json
  1. response

A logged request. input — a summary of what was sent (number of images, bytes, fields); the data itself is not stored.

id?string
Formatuuid
teamId?string
Formatuuid
apiKeyId?string
Formatuuid
apiKeyName?|

Key name at read time.

operation?string
Value in"SLICING""OCR""CLEAN""STYLES""CHAPTER_UPLOAD""PIPELINE_START"
httpStatus?|

null — the request is still running or was cut off midway.

Formatint32
errorCode?string|null
input?|null
durationMs?|
Formatint32
usage?

What the request cost. A line = price item × quantity; cost = sum of lines.

createdAt?string
Formatdate-time
finishedAt?|
Formatdate-time
Example Request
curl -X GET 'https://api.neurolate.com/ext/v1/requests/497f6eca-6276-4993-bfeb-53cbbbba6f08'
Example Response
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "teamId": "a4ede8ba-7c0a-4485-8763-cbd9b282fbec",  "apiKeyId": "37ba0474-c0bb-4910-bfb5-d6cebb614366",  "apiKeyName": "string",  "operation": "SLICING",  "httpStatus": 0,  "errorCode": "string",  "input": {},  "durationMs": 0,  "usage": {    "cost": 0,    "items": [      {        "item": "string",        "name": "string",        "unit": "BLOCK",        "quantity": 0,        "amount": 0      }    ]  },  "createdAt": "2019-08-24T14:15:22Z",  "finishedAt": "2019-08-24T14:15:22Z"}