logs

Retrieve one request with its content

Metadata plus captured content, whichever exist, with a state explaining any missing part. 404 only when neither exists. Authenticate with an API key, or a console JWT plus X-Org-ID.

get/logs/{id}

Request

  • Base URL: https://api.aiand.com
  • URL: https://api.aiand.com/logs/{id}
  • Auth: HTTP bearer

Path parameters

idstring required

The X-Request-ID returned on the original response.

Response

OK

idstring required
state'ready' | 'processing' | 'not_logged' | 'expired' | 'unavailable' required

Example response

{
  "metadata": {
    "api_key": "sk-...abcd",
    "cost": "0.00420000",
    "currency": "usd",
    "created_at": "2026-05-18 12:34:56.123456+00",
    "request_at": "2026-05-18 12:34:56.123456+00",
    "endpoint": "/v1/chat/completions"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.