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

# Get Traces

> Get traces

Retrieve specific traces by providing an array of trace IDs.
Returns complete trace data including spans, summaries, and custom
metrics for all found traces.


## OpenAPI

````yaml api-reference/openapi.yaml get /api/sdk/v1/traces
openapi: 3.1.0
info:
  title: Atla Insights API
  description: Development documentation
  version: 1.0.0
servers:
  - url: https://app.atla-ai.com
    description: API server
security: []
paths:
  /api/sdk/v1/traces:
    get:
      tags:
        - SDK
      summary: List traces with pagination and filtering
      description: Retrieve a paginated list of traces for the authenticated organization.
      operationId: listTraces
      parameters:
        - in: query
          name: startTimestamp
          schema:
            type: string
            format: date-time
        - in: query
          name: endTimestamp
          schema:
            type: string
            format: date-time
        - name: metadataFilter
          in: query
          required: false
          description: >-
            URL-encoded JSON array of metadata key-value pairs:
            [{"key":"version","value":"1"}]
          schema:
            type: string
        - in: query
          name: page
          schema:
            type: integer
            minimum: 1
            default: 1
        - in: query
          name: pageSize
          schema:
            type: integer
            minimum: 1
            maximum: 1000
            default: 50
      responses:
        '200':
          description: Successfully retrieved paginated list of traces
          content:
            application/json:
              schema:
                type: object
                properties:
                  traces:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                        environment:
                          type: string
                          enum:
                            - PROD
                            - DEV
                        isSuccess:
                          type:
                            - boolean
                            - 'null'
                        isCompleted:
                          type: boolean
                        metadata:
                          type:
                            - object
                            - 'null'
                          additionalProperties:
                            type: string
                        startedAt:
                          type: string
                        endedAt:
                          type: string
                      required:
                        - id
                        - environment
                        - isSuccess
                        - isCompleted
                        - startedAt
                        - endedAt
                  total:
                    type: number
                  page:
                    type: integer
                  pageSize:
                    type: integer
                required:
                  - traces
                  - total
                  - page
                  - pageSize
        '401':
          description: Unauthorized - Invalid or missing API key
        '500':
          description: Internal server error
      security:
        - bearerAuth: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: API key authentication using Bearer token

````