Observability
Get Log
Get Log — Nirmos Control Plane REST API.
better-auth.session_token<token>
Production cookie uses __Secure- prefix.
In: cookie
Path Parameters
id*string
Length
1 <= length <= 128Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v1/logs/string"{ "data": { "id": "string", "requestId": "string", "traceId": "string", "executionType": "string", "createdAt": "2019-08-24T14:15:22Z", "providerId": "string", "modelId": "string", "providerName": "string", "modelName": "string", "applicationId": "string", "environmentId": "string", "apiKeyId": "string", "modality": "string", "success": true, "latencyMs": 0, "promptTokens": 0, "completionTokens": 0, "totalTokens": 0, "estimatedCost": 0, "cacheHit": true, "retryCount": 0, "fallbackCount": 0, "requestPayload": "string", "responsePayload": "string", "errorCode": "string", "statusCode": 0, "retryable": true, "retryAfterMs": 0, "diagnostics": { "generationId": "string", "requestedModel": "string", "outputCount": "string", "providerOutputCount": "string", "dimensions": "string", "size": "string", "quality": "string", "outputFormat": "string", "providerMs": "string", "uploadMs": "string", "storageSuccess": "string", "providerRequestId": "string", "memoryRunId": "string", "memoryOperation": "string", "parentRequestId": "string", "parentTraceId": "string" } }, "requestId": "string"}{ "error": { "code": "string", "message": "string", "details": null, "requestId": "string" }}{ "error": { "code": "string", "message": "string", "details": null, "requestId": "string" }}{ "error": { "code": "string", "message": "string", "details": null, "requestId": "string" }}{ "error": { "code": "string", "message": "string", "details": null, "requestId": "string" }}{ "error": { "code": "string", "message": "string", "details": null, "requestId": "string" }}{ "error": { "code": "string", "message": "string", "details": null, "requestId": "string" }}{ "error": { "code": "string", "message": "string", "details": null, "requestId": "string" }}{ "error": { "code": "string", "message": "string", "details": null, "requestId": "string" }}{ "error": { "code": "string", "message": "string", "details": null, "requestId": "string" }}