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

# Get span

> Retrieve a specific observability span by ID.

Use this endpoint to retrieve the complete record for a specific span. The [query spans](https://docs.seekr.com/flow/reference/query_spans_v2_spans_get.md) endpoint returns span summaries. This endpoint returns the full span object.


## OpenAPI

````yaml get /v2/spans/{span_id}
openapi: 3.1.0
info:
  title: SeekrFlow API
  description: SeekrFlow API Documentation
  termsOfService: http://www.seekr.com/support
  contact:
    name: Seekr API Support
    url: http://www.seekr.com/contact
    email: contact@seekr.com
  version: 6.17.0
servers:
  - url: https://flow.seekr.com
    description: SeekrBuild server base URL
security: []
paths:
  /v2/spans/{span_id}:
    get:
      tags:
        - Observability
      summary: Retrieve Span
      description: Retrieve a particular span by ID.
      operationId: retrieve_span_v2_spans__span_id__get
      parameters:
        - name: span_id
          in: path
          required: true
          schema:
            type: string
            title: Span Id
          description: ID of the span.
        - name: x-team-id
          in: header
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: X-Team-Id
          description: >-
            ID of the team to use for the request. If omitted, the request uses
            your personal workspace.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                anyOf:
                  - additionalProperties: true
                    type: object
                  - type: 'null'
                title: Response Retrieve Span V2 Spans  Span Id  Get
        '422':
          description: Invalid request parameters
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - APIKeyHeader: []
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
          description: List of validation errors.
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
          description: Location of the error, as a list of path segments.
        msg:
          type: string
          title: Message
          description: Description of the error.
        type:
          type: string
          title: Error Type
          description: Machine-readable validation error type.
        input:
          title: Input
          description: Input value that failed validation, when included in the error.
        ctx:
          type: object
          title: Context
          description: >-
            Additional values that explain the validation error, such as a
            failed constraint.
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      description: >-
        Your Seekr API key, sent in the Authorization header with no 'Bearer'
        prefix.
      in: header
      name: Authorization

````

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