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

# List registered evaluation and training sets, newest first



## OpenAPI

````yaml /openapi.json get /api/v1/datasets
openapi: 3.1.0
info:
  description: >-
    Durable, authenticated control-plane operations. Mutation responses may
    outlive the requesting client.
  title: InferCrane Control API
  version: 2.3.1
servers:
  - description: Local InferCrane API and gateway
    url: http://127.0.0.1:18000
security: []
tags:
  - name: Admission
  - name: Adoption
  - name: Agents
  - name: Alerts
  - name: Async inference
  - name: Audit
  - name: Autopilot
  - name: Benchmarks
  - name: Billing
  - name: Billing administration
  - name: Burst Guard
  - name: Capacity intelligence
  - name: Changes
  - name: Compute
  - name: Context Passport
  - name: Data
  - name: Deployments
  - name: Diagnostics
  - name: Endpoints
  - name: External capacity
  - name: FinOps
  - name: Identity
  - name: Inference
  - name: Inference Lab
  - name: Inference decisions
  - name: Inference optimization
  - name: Infrastructure
  - name: Marketplace administration
  - name: Migration Proof
  - name: Model API administration
  - name: Model APIs
  - name: Model artifacts
  - name: Model catalog
  - name: Monitoring
  - name: Notifications
  - name: Operations
  - name: Planning
  - name: Providers
  - name: Recipes
  - name: Release Guard
  - name: Release evidence
  - name: Replay
  - name: Revisions
  - name: Routing
  - name: Sandboxes
  - name: Scaling
  - name: Secrets
  - name: System
  - name: Targets
  - name: Training lineage
  - name: Workspace administration
paths:
  /api/v1/datasets:
    get:
      tags:
        - Data
      summary: List registered evaluation and training sets, newest first
      operationId: listDatasets
      parameters:
        - description: Sets returned, newest first.
          in: query
          name: limit
          required: false
          schema:
            default: 200
            maximum: 500
            minimum: 1
            type: integer
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DatasetList'
          description: Success
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
          description: Typed API error
      security:
        - bearerAuth: []
components:
  schemas:
    DatasetList:
      additionalProperties: false
      properties:
        data:
          items:
            $ref: '#/components/schemas/Dataset'
          type: array
      required:
        - data
      type: object
    ErrorEnvelope:
      properties:
        error:
          $ref: '#/components/schemas/Error'
      required:
        - error
      type: object
    Dataset:
      additionalProperties: false
      properties:
        content_digest:
          pattern: ^sha256:[a-f0-9]{64}$
          type: string
        expired:
          type: boolean
        expires_at:
          format: date-time
          type: string
        kind:
          enum:
            - capture
            - prompt_set
            - pairs_set
            - graded_eval_set
            - task_set
          type: string
        manifest:
          $ref: '#/components/schemas/DatasetManifest'
        name:
          type: string
        records:
          minimum: 1
          type: integer
        registered_at:
          format: date-time
          type: string
        stored_by_infercrane:
          description: >-
            True when an eval set with the same digest was uploaded, so
            InferCrane stores its text too.
          type: boolean
      required:
        - content_digest
        - name
        - kind
        - records
        - manifest
        - registered_at
        - expired
        - stored_by_infercrane
      type: object
    Error:
      properties:
        category:
          type: string
        code:
          type: string
        message:
          type: string
        remediation:
          type: string
        request_id:
          type: string
        retryable:
          type: boolean
      required:
        - code
        - message
      type: object
    DatasetManifest:
      additionalProperties: false
      description: >-
        An evaluation or training set's manifest. The set itself stays where you
        keep it.
      properties:
        authorship:
          additionalProperties: false
          properties:
            generators:
              items:
                additionalProperties: false
                properties:
                  model:
                    type: string
                  terms:
                    description: An SPDX identifier, or closed-api.
                    type: string
                  training_allowed:
                    description: >-
                      Your record that your agreement allows training on a
                      closed API's text.
                    type: boolean
                required:
                  - model
                  - terms
                type: object
              maxItems: 16
              type: array
            written_by:
              enum:
                - people
                - models
                - mixed
                - unknown
              type: string
          required:
            - written_by
          type: object
        bytes:
          minimum: 1
          type: integer
        consent:
          additionalProperties: false
          properties:
            capture_id:
              type: string
            endpoint:
              type: string
            sample_rate:
              exclusiveMinimum: 0
              maximum: 1
              type: number
            turned_on_at:
              format: date-time
              type: string
          required:
            - endpoint
            - capture_id
            - turned_on_at
            - sample_rate
          type: object
        content_digest:
          pattern: ^sha256:[a-f0-9]{64}$
          type: string
        created_at:
          format: date-time
          type: string
        derived_from:
          items:
            pattern: ^sha256:[a-f0-9]{64}$
            type: string
          maxItems: 16
          type: array
        expires_at:
          description: >-
            Required for your own content: at most 30 days for a capture, 365
            for any other set, from its creation. A creation time more than 5
            minutes after the control plane's clock is refused.
          format: date-time
          type: string
        kind:
          enum:
            - capture
            - prompt_set
            - pairs_set
            - graded_eval_set
            - task_set
          type: string
        license:
          additionalProperties: false
          properties:
            spdx:
              const: LicenseRef-Customer-Owned
              description: Your own content. Open datasets are not registered yet.
              type: string
          required:
            - spdx
          type: object
        location:
          additionalProperties: false
          properties:
            kind:
              enum:
                - customer-volume
                - customer-bucket
                - agent-local
                - hugging-face
              type: string
            revision:
              description: A Hugging Face location's commit.
              pattern: ^[0-9a-f]{40}$
              type: string
            uri:
              description: >-
                pvc://NAMESPACE/CLAIM/PATH, s3:// or gs://, local:NAME, or
                OWNER/NAME.
              maxLength: 512
              type: string
          required:
            - kind
            - uri
          type: object
        name:
          pattern: ^[a-z0-9](?:[a-z0-9._-]{0,62}[a-z0-9])?$
          type: string
        records:
          maximum: 10000000
          minimum: 1
          type: integer
        schema:
          const: infercrane.dev/dataset/v1
          type: string
        source:
          enum:
            - traffic_capture
            - customer_file
          type: string
        uses:
          items:
            enum:
              - training
              - evaluation
            type: string
          maxItems: 2
          minItems: 1
          type: array
          uniqueItems: true
        version:
          pattern: ^[A-Za-z0-9][A-Za-z0-9._-]{0,63}$
          type: string
      required:
        - schema
        - name
        - version
        - kind
        - source
        - uses
        - location
        - content_digest
        - records
        - bytes
        - license
        - authorship
        - created_at
      type: object
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.