@archastro/sdk
    Preparing search index...

    Interface ContextIngestion

    A context ingestion job that processes a context source and populates its documents. Tracks status and timing from submission through completion or failure.

    interface ContextIngestion {
        agent?: string;
        completed_at?: string;
        created_at?: string;
        error?: Record<string, unknown>;
        id: string;
        metadata?: Record<string, unknown>;
        source?: string;
        started_at?: string;
        status: string;
        team?: string;
        updated_at?: string;
        user?: string;
    }
    Index

    Properties

    agent?: string

    ID of the agent that initiated this ingestion (agi_...). null if initiated by a user.

    completed_at?: string

    When the ingestion job finished, either successfully or with a failure. null if still in progress.

    created_at?: string

    When the ingestion was submitted (ISO 8601).

    error?: Record<string, unknown>

    Structured error details when the ingestion has status: "failed". null for any other status.

    id: string

    Context ingestion ID (cig_...).

    metadata?: Record<string, unknown>

    Arbitrary key-value metadata associated with this ingestion run. Shape is caller-defined.

    source?: string

    ID of the context source being ingested (cso_...). null if the source has been deleted.

    started_at?: string

    When the ingestion job began processing. null if the job is still pending.

    status: string

    Current processing status. One of "pending", "running", "awaiting_callback", "succeeded", or "failed".

    team?: string

    ID of the team that owns this ingestion (tem_...). null if owned by a user or agent.

    updated_at?: string

    When the ingestion record was last updated (ISO 8601).

    user?: string

    ID of the user that initiated this ingestion (usr_...). null if initiated by an agent.