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

# Retrieve a request

> Returns one request of the organization. Pass the `created_at` the list returned to make the lookup faster. A request of another organization returns 404. Requires the `manage:read` scope.



## OpenAPI

````yaml https://api.edenai.run/v2/info/splitted-schema/management_api/openapi.json get /v3/manage/usage/requests/{request_id}/
openapi: 3.0.3
info:
  title: Organization Management
  version: '2.0'
  description: Your project description
servers:
  - url: https://api.edenai.run
security: []
paths:
  /v3/manage/usage/requests/{request_id}/:
    get:
      tags:
        - Usage
      summary: Retrieve a request
      description: >-
        Returns one request of the organization. Pass the `created_at` the list
        returned to make the lookup faster. A request of another organization
        returns 404. Requires the `manage:read` scope.
      operationId: manage_usage_requests_retrieve_2
      parameters:
        - in: query
          name: created_at
          schema:
            type: string
            format: date-time
        - in: path
          name: request_id
          schema:
            type: string
            format: uuid
          description: The request's id, as the request list returns it.
          required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ManageRequestLog'
          description: ''
      security:
        - ManagementKeyAuth: []
components:
  schemas:
    ManageRequestLog:
      type: object
      properties:
        request_id:
          type: string
          format: uuid
        created_at:
          type: string
          format: date-time
        org_id:
          type: integer
          description: The organization billed for the request.
        user_id:
          type: string
          format: uuid
          nullable: true
        user_email:
          type: string
          format: email
          nullable: true
        user_former:
          type: boolean
          description: Whether the member has left the organization since.
        custom_token_id:
          type: integer
          description: The API key's id, or 0 for a member's personal key.
        custom_token_name:
          type: string
          nullable: true
        custom_token_masked:
          type: string
          nullable: true
          description: The API key's masked value; null for a personal key.
        custom_token_revoked:
          type: boolean
          nullable: true
        custom_token_expired:
          type: boolean
          nullable: true
        call_type:
          type: string
        url:
          type: string
          description: The path the request was sent to.
        method:
          type: string
        api_version:
          type: string
        feature:
          type: string
        subfeature:
          type: string
        job_id:
          type: string
          format: uuid
          nullable: true
          description: The job of an asynchronous request.
        status_code:
          type: integer
          nullable: true
        error_kind:
          type: string
          description: '`none` when the request succeeded.'
        error_message:
          type: string
        providers:
          type: array
          items:
            type: string
        attempt_count:
          type: integer
        is_streaming:
          type: boolean
        is_cached:
          type: boolean
        requested_model:
          type: string
        routing_strategy:
          type: string
        routing_mode:
          type: string
        cost:
          type: number
          format: double
          description: What Eden AI charged for the request.
        latency_ns:
          type: integer
          nullable: true
        tags:
          type: object
          additionalProperties:
            type: string
      required:
        - api_version
        - attempt_count
        - call_type
        - cost
        - created_at
        - custom_token_expired
        - custom_token_id
        - custom_token_masked
        - custom_token_name
        - custom_token_revoked
        - error_kind
        - error_message
        - feature
        - is_cached
        - is_streaming
        - job_id
        - latency_ns
        - method
        - org_id
        - providers
        - request_id
        - requested_model
        - routing_mode
        - routing_strategy
        - status_code
        - subfeature
        - tags
        - url
        - user_email
        - user_former
        - user_id
  securitySchemes:
    ManagementKeyAuth:
      type: http
      scheme: bearer
      bearerFormat: opaque
      description: >-
        A management key (created from the organization dashboard or with `POST
        /v3/manage/auth-keys`), sent as `Authorization: Bearer
        <management_key>`. Inference API keys (`sk-eden...`) are not accepted on
        these endpoints.

````

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