> ## Documentation Index
> Fetch the complete documentation index at: https://docs-api.kravata.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Request Log by Request ID

> Returns the log entries for one request id (the X-Request-ID header or error.request_id you received). Use it to look up a specific failure from a support ticket. Returns 404 when the id is unknown or older than 90 days.



## OpenAPI

````yaml /stack/openapi.json get /api/v1/logs/requests/{request_id}
openapi: 3.1.0
info:
  title: Kravata Stack API
  version: '2.0'
  description: >-
    Kravata Stack API: users, accounts, custody wallets, liquidity ramps and
    fiat payments.
servers:
  - url: https://test-api-kore.kravata.co
    description: Test
  - url: https://partners-api.kravata.co
    description: Production (mTLS + IP allowlist)
security:
  - bearerAuth: []
tags:
  - name: Authentication
  - name: Users
  - name: Accounts
  - name: Earn
  - name: Custody
  - name: Liquidity Ramps
  - name: Payments
  - name: Webhooks
  - name: Request Logs
paths:
  /api/v1/logs/requests/{request_id}:
    get:
      tags:
        - Request Logs
      summary: Get Request Log by Request ID
      description: >-
        Returns the log entries for one request id (the X-Request-ID header or
        error.request_id you received). Use it to look up a specific failure
        from a support ticket. Returns 404 when the id is unknown or older than
        90 days.
      operationId: get-request-log-by-request-id
      parameters:
        - name: request_id
          in: path
          required: true
          description: The request id you received in a response or in error.request_id.
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  properties:
                    id:
                      type: string
                    requestId:
                      type: string
                    source:
                      type: string
                    service:
                      type: string
                    method:
                      type: string
                    path:
                      type: string
                    statusCode:
                      type: integer
                    errorCode:
                      type: string
                    errorMessage:
                      type: string
                    latencyMs:
                      type: integer
                    occurredAt:
                      type: string
              examples:
                found:
                  summary: Found
                  value:
                    - id: 5b0f6d7e-2a1c-4f9e-8d3b-7c6a1e2f9a10
                      requestId: 8df2af7bb7e23e393e397ca489c47d54
                      source: partner_api
                      service: kmsk-transaction
                      method: POST
                      path: /api/v1/operations/withdrawal
                      statusCode: 400
                      errorCode: BAD_REQUEST
                      errorMessage: Invalid amount
                      latencyMs: 42
                      occurredAt: '2026-10-05T15:22:14.635000+00:00'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                type: object
                properties:
                  detail:
                    type: string
              examples:
                not-found:
                  summary: Not found
                  value:
                    detail: No request found with id 8df2af7bb7e23e393e397ca489c47d54
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Access token from POST /api/v1/client/token.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.