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

# Get an SMS outbound operation's full delivery/reconciliation tree



## OpenAPI

````yaml /api-reference/openapi.json get /v1/sms/operations/{operation_id}
openapi: 3.1.0
info:
  title: Feather API
  description: >-
    Unified customer experience platform API. Manages identity, conversations,
    memory, agents, procedures, policies, model routing, knowledge bases,
    integrations, and runtime execution.
  version: 1.87.0
servers:
  - url: https://api-sandbox.featherhq.com
    description: Sandbox
  - url: http://localhost:8000
    description: Local dev
security: []
paths:
  /v1/sms/operations/{operation_id}:
    get:
      tags:
        - sms
      summary: Get an SMS outbound operation's full delivery/reconciliation tree
      operationId: getSmsOperation
      parameters:
        - name: operation_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Operation Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SmsOutboundOperationDetail'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Resource not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - APIKeyHeader: []
components:
  schemas:
    SmsOutboundOperationDetail:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        session_id:
          type: string
          format: uuid
          title: Session Id
        status:
          type: string
          title: Status
        outcome:
          type: string
          title: Outcome
          default: ''
        from_e164:
          type: string
          title: From E164
        to_e164:
          type: string
          title: To E164
        created_at:
          type: string
          format: date-time
          title: Created At
        updated_at:
          type: string
          format: date-time
          title: Updated At
        chunks:
          items:
            $ref: '#/components/schemas/SmsOutboundChunkDetail'
          type: array
          title: Chunks
      type: object
      required:
        - id
        - session_id
        - status
        - from_e164
        - to_e164
        - created_at
        - updated_at
        - chunks
      title: SmsOutboundOperationDetail
      description: |-
        Full operation -> chunks -> attempts -> events tree for
        ``GET /sms/operations/{operation_id}``.

        ``outcome`` doesn't exist on the ORM operation directly (derived) —
        defaulted here so ``model_validate`` succeeds, then always overwritten
        by the router before the response is returned.
    ErrorResponse:
      properties:
        error:
          type: string
          title: Error
        message:
          type: string
          title: Message
        retryable:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Retryable
        retry_after:
          anyOf:
            - type: integer
            - type: 'null'
          title: Retry After
      type: object
      required:
        - error
        - message
      title: ErrorResponse
      description: Standard error response returned by all API error handlers.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    SmsOutboundChunkDetail:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        ordinal:
          type: integer
          title: Ordinal
        status:
          type: string
          title: Status
        outcome:
          type: string
          title: Outcome
          default: ''
        to_e164:
          type: string
          title: To E164
          default: ''
        attempts:
          items:
            $ref: '#/components/schemas/SmsDeliveryAttemptDetail'
          type: array
          title: Attempts
      type: object
      required:
        - id
        - ordinal
        - status
        - attempts
      title: SmsOutboundChunkDetail
      description: >-
        One immutable wire chunk, its retry/redrive attempt history, and the

        derived per-chunk outcome (see ``derive_chunk_outcome`` in
        ``service.py``).


        ``outcome``/``to_e164`` don't exist on the ORM chunk directly (outcome
        is

        derived; to_e164 lives on the chunk's sibling) — defaulted here so

        ``model_validate`` succeeds, then always overwritten by the router
        before

        the response is returned.
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
    SmsDeliveryAttemptDetail:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        attempt_number:
          type: integer
          title: Attempt Number
        state:
          type: string
          title: State
        provider_sid:
          anyOf:
            - type: string
            - type: 'null'
          title: Provider Sid
        delivery_status:
          anyOf:
            - type: string
            - type: 'null'
          title: Delivery Status
        delivery_status_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Delivery Status At
        failure_code:
          anyOf:
            - type: string
            - type: 'null'
          title: Failure Code
        failure_classification:
          anyOf:
            - type: string
            - type: 'null'
          title: Failure Classification
        reconciliation_state:
          anyOf:
            - type: string
            - type: 'null'
          title: Reconciliation State
        submitted_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Submitted At
        completed_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Completed At
        provider_events:
          items:
            $ref: '#/components/schemas/SmsProviderEventDetail'
          type: array
          title: Provider Events
      type: object
      required:
        - id
        - attempt_number
        - state
        - provider_sid
        - delivery_status
        - delivery_status_at
        - failure_code
        - failure_classification
        - reconciliation_state
        - submitted_at
        - completed_at
        - provider_events
      title: SmsDeliveryAttemptDetail
      description: |-
        One provider submission for a chunk, with its carrier callback
        history. ``provider_sid`` is ``None`` unless the caller holds
        ``communication:manage`` (see ``_may_see_unmasked`` in ``router.py``).
    SmsProviderEventDetail:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        provider:
          type: string
          title: Provider
        vendor_status:
          type: string
          title: Vendor Status
        normalized_status:
          type: string
          title: Normalized Status
        vendor_error_code:
          anyOf:
            - type: string
            - type: 'null'
          title: Vendor Error Code
        failure_classification:
          anyOf:
            - type: string
            - type: 'null'
          title: Failure Classification
        occurred_at:
          type: string
          format: date-time
          title: Occurred At
        received_at:
          type: string
          format: date-time
          title: Received At
        reconciliation_state:
          type: string
          title: Reconciliation State
      type: object
      required:
        - id
        - provider
        - vendor_status
        - normalized_status
        - vendor_error_code
        - failure_classification
        - occurred_at
        - received_at
        - reconciliation_state
      title: SmsProviderEventDetail
      description: One durable callback/reconciliation record.
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      in: header
      name: x-api-key

````