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

# Get session ingest status

> Report coding-session ingestion progress for the caller: how many session nodes and edges exist, how much is still queued, which warm layers (identity, manifold, domains, insights, temporal) have.

Report coding-session ingestion progress for the caller: how many session nodes and edges exist, how much is still queued, which warm layers (identity, manifold, domains, insights, temporal) have been built, and whether a build is running right now.

Poll while `building` is true. Warm-layer reads degrade to false rather than failing, so a partially migrated org still gets a usable answer.

## Authorization

This route requires the `write` scope.

A missing or invalid credential returns 401 [`authentication_error`](/errors/authentication_error). A valid credential without the scope returns 403 [`permission_denied`](/errors/permission_denied), and the problem body names the exact scope required.

## Headers

These are request conventions the contract does not declare as parameters, so they do not appear in the schema tables below.

| Header            | Applies        | What it does                                                                                                                                                                        |
| ----------------- | -------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `X-Exo-API-Key`   | Required       | Your Exo API key, `exo_<env>_<token>`. `Authorization: Bearer exo_...` is accepted as an alternate.                                                                                 |
| `X-Exo-Subject`   | Refused        | This route scopes data by the key owner. Sending the header returns 400 [`subject_not_supported`](/errors/subject_not_supported), rather than silently reading the wrong partition. |
| `Idempotency-Key` | Not applicable | The replay engine covers POST requests only.                                                                                                                                        |
| `X-Request-Id`    | Response       | Returned on every response, including `204`s. Quote it in a support request.                                                                                                        |

## Success responses

| Status | Meaning                                               |
| ------ | ----------------------------------------------------- |
| `200`  | Session counts, queue depth and warm-layer readiness. |

## Errors

| Status | Code                                                   | When                                                           |
| ------ | ------------------------------------------------------ | -------------------------------------------------------------- |
| `400`  | [`invalid_request`](/errors/invalid_request)           | Malformed request, for example an invalid cursor.              |
| `401`  | [`authentication_error`](/errors/authentication_error) | Missing or invalid credentials.                                |
| `403`  | [`permission_denied`](/errors/permission_denied)       | Missing scope, or an unprovisioned subject selector.           |
| `404`  | [`not_found`](/errors/not_found)                       | The resource does not exist, or is not visible to this caller. |
| `409`  | [`conflict`](/errors/conflict)                         | A conflict with the current state of the resource.             |
| `422`  | [`validation_error`](/errors/validation_error)         | The request was understood but failed field validation.        |
| `429`  | [`rate_limit_exceeded`](/errors/rate_limit_exceeded)   | Rate limit exceeded. Retry after the Retry-After interval.     |
| `503`  | [`service_degraded`](/errors/service_degraded)         | A dependency is temporarily unavailable. Safe to retry.        |

Every error is an RFC 9457 `application/problem+json` body carrying a stable `code`, a `requestId`, and a `suggestedAction` where Exo has one. See [Errors](/platform/errors).

## Notes

* **Poll `building`, not `warmLayers`.** The layers are data-dependent: an organization with no dated content never grows temporal phases, so waiting for all of them to turn true polls forever.


## OpenAPI

````yaml openapi.json GET /v1/ingest/session-status
openapi: 3.1.0
info:
  contact:
    name: Exo
    url: https://get-exo.com/
  description: >-
    The Exo public developer API: ingest content, retrieve identity-conditioned
    context, and read the knowledge graph. Authenticate every request with an
    Exo API key, either as the X-Exo-API-Key header or as Authorization: Bearer
    exo_... . Errors follow RFC 9457 problem+json with a stable snake_case code
    on every body.
  title: Exo API
  version: 1.0.0
servers:
  - url: https://api.get-exo.com
security:
  - ApiKeyHeader: []
  - BearerAuth: []
tags:
  - name: retrieve
    x-group: Retrieval
  - name: search
    x-group: Search
  - name: ingest
    x-group: Ingestion
  - name: jobs
    x-group: Jobs
  - name: subjects
    x-group: Subjects
  - name: recall
    x-group: Recall
  - name: graph
    x-group: Graph
  - name: insights
    x-group: Contradictions and proposals
  - name: condition
    x-group: Condition
  - name: brain
    x-group: Brain
  - name: sessions
    x-group: Coding sessions
  - name: connectors
    x-group: Connectors
  - name: events
    x-group: Events and webhooks
  - name: meta
    x-group: Identity
  - name: keys
    x-group: Keys and sandbox
  - name: usage
    x-group: Usage
  - name: settings
    x-group: Settings
  - name: exports
    x-group: Exports
  - name: team
    x-group: Team
  - name: admin
    x-group: Account and purge
paths:
  /v1/ingest/session-status:
    get:
      tags:
        - sessions
      summary: Get session ingest status
      description: >-
        Report coding-session ingestion progress for the caller: how many
        session nodes and edges exist, how much is still queued, which warm
        layers (identity, manifold, domains, insights, temporal) have been
        built, and whether a build is running right now.


        Poll while `building` is true. Warm-layer reads degrade to false rather
        than failing, so a partially migrated org still gets a usable answer.
      operationId: getIngestSessionStatus
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SessionStatusResponse'
          description: Session counts, queue depth and warm-layer readiness.
        '400':
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
          description: Malformed request, for example an invalid cursor.
        '401':
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
          description: Missing or invalid credentials.
        '403':
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
          description: Missing scope or unprovisioned subject.
        '404':
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
          description: The requested resource does not exist.
        '409':
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
          description: Conflict, for example a duplicate in-flight idempotent request.
        '422':
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
          description: The request was understood but failed validation; see errors[].
        '429':
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
          description: >-
            Rate limit exceeded; retry after the interval in the Retry-After
            header.
        '503':
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
          description: A dependency is temporarily unavailable; safe to retry with backoff.
components:
  schemas:
    SessionStatusResponse:
      description: >-
        GET /v1/ingest/session-status: Claude Code ingestion + warm-layer
        progress.


        Backs the frontend "Connect Claude Code" status panel: how many session

        nodes/edges have landed, when the last line arrived, whether jobs are
        still

        draining/building, and which warm layers exist yet.
      properties:
        building:
          default: false
          title: Building
          type: boolean
        finalizePending:
          default: false
          title: Finalizepending
          type: boolean
        ingestPending:
          default: 0
          title: Ingestpending
          type: integer
        lastIngestedAt:
          anyOf:
            - type: string
            - type: 'null'
          title: Lastingestedat
        sessionEdgeCount:
          default: 0
          title: Sessionedgecount
          type: integer
        sessionNodeCount:
          default: 0
          title: Sessionnodecount
          type: integer
        totalNodeCount:
          default: 0
          title: Totalnodecount
          type: integer
        warmLayers:
          $ref: '#/components/schemas/SessionWarmLayers'
      title: SessionStatusResponse
      type: object
    Problem:
      description: |-
        RFC 9457 problem+json envelope (spec D9), documented in OpenAPI.

        Invariant: ``code`` equals the tail of the ``type`` URI
        (``https://docs.get-exo.com/errors/<code>``).
      properties:
        code:
          title: Code
          type: string
        detail:
          title: Detail
          type: string
        documentationUrl:
          anyOf:
            - type: string
            - type: 'null'
          title: Documentationurl
        errors:
          anyOf:
            - items:
                $ref: '#/components/schemas/FieldViolation'
              type: array
            - type: 'null'
          title: Errors
        requestId:
          default: ''
          title: Requestid
          type: string
        status:
          title: Status
          type: integer
        suggestedAction:
          anyOf:
            - type: string
            - type: 'null'
          title: Suggestedaction
        title:
          title: Title
          type: string
        type:
          title: Type
          type: string
      required:
        - type
        - title
        - status
        - detail
        - code
      title: Problem
      type: object
    SessionWarmLayers:
      description: Which cold-start warm layers have materialized for the user/org.
      properties:
        domains:
          default: false
          title: Domains
          type: boolean
        identity:
          default: false
          title: Identity
          type: boolean
        insights:
          default: false
          title: Insights
          type: boolean
        manifold:
          default: false
          title: Manifold
          type: boolean
        temporal:
          default: false
          title: Temporal
          type: boolean
      title: SessionWarmLayers
      type: object
    FieldViolation:
      description: A single field-level violation inside a Problem ``errors[]`` list.
      properties:
        code:
          title: Code
          type: string
        field:
          title: Field
          type: string
        message:
          title: Message
          type: string
        pointer:
          title: Pointer
          type: string
      required:
        - pointer
        - field
        - code
        - message
      title: FieldViolation
      type: object
  securitySchemes:
    ApiKeyHeader:
      description: An Exo API key (exo_...) sent as the X-Exo-API-Key header.
      in: header
      name: X-Exo-API-Key
      type: apiKey
    BearerAuth:
      description: The same Exo API key (exo_...) sent as an Authorization bearer token.
      scheme: bearer
      type: http

````