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

# ingestTokens

> GET /api/ingest-tokens
List the workspace's ingest tokens, newest-first. When tenantConnectorTapId
is supplied results are scoped to that tap. Includes revoked and expired
rows so the UI can show their disposition.



## OpenAPI

````yaml /api-reference/openapi.json get /api/ingest-tokens
openapi: 3.0.3
info:
  title: Parable API
  description: >-
    The REST API for your Parable workspace: manage connectors and taps, explore
    your data catalog, upload artifacts, and administer users and roles.
  version: v1
servers:
  - url: https://api.askparable.com
    description: Production
security: []
paths:
  /api/ingest-tokens:
    get:
      tags:
        - ingest-tokens
      summary: ingestTokens
      description: >-
        GET /api/ingest-tokens

        List the workspace's ingest tokens, newest-first. When
        tenantConnectorTapId

        is supplied results are scoped to that tap. Includes revoked and expired

        rows so the UI can show their disposition.
      operationId: IngestTokensIngestTokensHandler
      parameters:
        - description: >-
            Workspace slug. Overrides subdomain-based workspace resolution when
            provided.
          in: header
          name: X-Tenant
          required: false
          schema:
            example: acme
            type: string
        - description: Optional request correlation ID echoed back in the response.
          in: header
          name: X-Request-ID
          required: false
          schema:
            example: 550e8400-e29b-41d4-a716-446655440000
            format: uuid
            type: string
        - in: query
          name: tenantConnectorTapId
          required: false
          schema:
            description: UUID v4 with automatic base62 encoding for client-facing APIs
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  data:
                    items:
                      $ref: '#/components/schemas/IngestTokenInfo'
                    type: array
                  links:
                    $ref: '#/components/schemas/ResponseLinks'
                  meta:
                    $ref: '#/components/schemas/ResponseMeta'
                required:
                  - data
                  - meta
                type: object
          description: Successful response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Bad request
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Internal server error
      security:
        - bearerAuth: []
components:
  schemas:
    IngestTokenInfo:
      description: >-
        An ingest token belonging to one of the workspace's collector taps.
        Projection

        of web-db IngestToken that never exposes the SHA-256 hash. The plaintext
        is

        returned exactly once at mint/rotation via MintIngestTokenResult.token;

        afterwards the prefix is the only user-visible identifier. Lifecycle is

        timestamp-derived: revokedAt set = rejected immediately (modulo
        collector

        cache TTL); expiresAt in the past = rejected (rotation grace elapsed).
      properties:
        createdAt:
          description: ISO8601 datetime string
          type: string
        expiresAt:
          description: >-
            Rotation grace expiry. Set on the outgoing token when a rotation
            mints its

            replacement; after expiresAt the token is rejected. Null = no
            expiry.
          type: string
        id:
          description: UUID v4 with automatic base62 encoding for client-facing APIs
          type: string
        lastUsedAt:
          description: ISO8601 datetime string
          type: string
        prefix:
          description: >-
            First characters of the plaintext token, shown in lists so the
            workspace can

            identify which token is which.
          type: string
        revokedAt:
          description: >-
            Set when the token was revoked. Revoked tokens are kept for audit
            but

            immediately rejected.
          type: string
        rotatedAt:
          description: Set when the token was rotated (a replacement row was minted).
          type: string
        tenantConnectorTapId:
          description: Flattened Relation<TenantConnectorTap> for the wire.
          type: string
        updatedAt:
          description: ISO8601 datetime string
          type: string
      required:
        - id
        - createdAt
        - updatedAt
        - tenantConnectorTapId
        - prefix
      type: object
    ResponseLinks:
      properties:
        first:
          nullable: true
          type: string
        last:
          nullable: true
          type: string
        next:
          nullable: true
          type: string
        prev:
          nullable: true
          type: string
      type: object
    ResponseMeta:
      properties:
        requestId:
          description: Unique identifier for the request
          type: string
        totalCount:
          description: Total count of items for paginated responses
          nullable: true
          type: integer
      required:
        - requestId
      type: object
    Error:
      properties:
        error:
          type: string
      type: object
  securitySchemes:
    bearerAuth:
      bearerFormat: JWT
      scheme: bearer
      type: http

````