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

# Per-source pass receipts and evidence pointers

> One receipt per source pass that DELIVERED. Orchestration spend (the run's own model calls) and passes that delivered nothing are billed without a per-source receipt, so sum(receipts) <= spend_usd — read spend_usd or GET /v1/usage for the complete account of a bill. See "What a receipt covers — and what it does not" in the money conventions. An `orchestration` line item is planned.




## OpenAPI

````yaml /api-reference/openapi.yaml get /sessions/{id}/receipts
openapi: 3.1.0
info:
  title: Five Nine Agent API
  version: '2026-08-26'
  description: >
    Live catalogs from the open web, under signed receipts.

    Conventions (versioning via the dated `fn-version` header, request IDs,

    idempotency, rate limits, pagination, money) are documented across this

    reference; the error envelope at https://docs.fiveninelabs.com/errors; the

    event vocabulary at https://docs.fiveninelabs.com/guides/events; webhooks at

    https://docs.fiveninelabs.com/guides/webhooks.


    Honesty marker: operations tagged `x-fn-status: planned` are specced but NOT

    yet served by the live API — on any method they answer 501 not_implemented
    with

    a `surface` member naming what is missing, never 404. Everything unmarked is

    live. The changelog says when a planned surface ships.
servers:
  - url: https://api.fiveninelabs.com/v1
security:
  - bearerKey: []
paths:
  /sessions/{id}/receipts:
    get:
      summary: Per-source pass receipts and evidence pointers
      description: >
        One receipt per source pass that DELIVERED. Orchestration spend (the
        run's own model calls) and passes that delivered nothing are billed
        without a per-source receipt, so sum(receipts) <= spend_usd — read
        spend_usd or GET /v1/usage for the complete account of a bill. See "What
        a receipt covers — and what it does not" in the money conventions. An
        `orchestration` line item is planned.
      parameters:
        - $ref: '#/components/parameters/FnVersion'
        - $ref: '#/components/parameters/RunId'
      responses:
        '200':
          description: The receipts
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/Receipt'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
components:
  parameters:
    FnVersion:
      name: fn-version
      in: header
      required: false
      schema:
        type: string
        example: '2026-08-26'
      description: >-
        Dated API version; defaults to the account pin. Honesty note: with one
        version in existence the gateway echoes any value back as effective
        WITHOUT validating it — validation against the known-versions set is
        planned, so send only real dated versions from
        https://docs.fiveninelabs.com/changelog
    RunId:
      name: id
      in: path
      required: true
      schema:
        type: string
  schemas:
    Receipt:
      type: object
      required:
        - id
        - source_url
        - signed
      properties:
        id:
          type: string
          example: rcpt_e41x8
        source_url:
          type: string
        signed:
          type: boolean
        signature:
          type: string
          description: hmac-sha256, truncated display form
        claim:
          type: string
        records:
          type: integer
        bytes:
          type: integer
        duration_ms:
          type: integer
        cost_usd:
          type: number
        cost_basis:
          type: string
          description: provider-billed-lower-bound | catalog-estimate | unavailable
        delivered_at:
          type: string
          format: date-time
        evidence_url:
          type: string
          description: capture-at-delivery and artifacts
    Error:
      type: object
      required:
        - error
      properties:
        error:
          type: object
          required:
            - type
            - code
            - message
            - doc_url
            - request_id
          properties:
            type:
              type: string
            code:
              type: string
            message:
              type: string
            doc_url:
              type: string
              format: uri
            request_id:
              type: string
          additionalProperties: true
  responses:
    Unauthorized:
      description: 401 invalid_key | key_revoked — key missing, unknown, or revoked
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Forbidden:
      description: >-
        403 missing_scope — or a cap forbids this (session_cap_exceeded |
        monthly_cap_exceeded; caps are permissions, not rates)
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    bearerKey:
      type: http
      scheme: bearer
      description: 'fn_live_… or fn_test_… — Authorization: Bearer'

````