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

# Queue Configuration

> Queue a generation configuration for an external generator.

The configuration remains traceable from creation through the sample it
produces, and can expire automatically when it is no longer relevant.



## OpenAPI

````yaml /openapi.json post /v1/experiments/{experiment_id}/configurations
openapi: 3.1.0
info:
  description: Customer-owned evaluation lifecycle API.
  title: HeyBee Public API
  version: 1.0.0
servers:
  - description: Production
    url: https://api.heybee.app
security: []
paths:
  /v1/experiments/{experiment_id}/configurations:
    post:
      tags:
        - Experiments
      summary: Queue Configuration
      description: |-
        Queue a generation configuration for an external generator.

        The configuration remains traceable from creation through the sample it
        produces, and can expire automatically when it is no longer relevant.
      operationId: queue_configuration_v1_experiments__experiment_id__configurations_post
      parameters:
        - in: path
          name: experiment_id
          required: true
          schema:
            format: uuid
            title: Experiment Id
            type: string
        - in: header
          name: authorization
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Authorization
        - in: header
          name: X-API-Key
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: X-Api-Key
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/QueueConfigurationRequest'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/QueuedConfigurationItem'
          description: Successful Response
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
      security:
        - BearerAuth: []
        - ApiKeyAuth: []
components:
  schemas:
    QueueConfigurationRequest:
      description: >-
        Request payload to hand-author and enqueue a generation configuration.


        A queued config becomes a manual ``generation_suggestion`` row that an

        external driver later generates into a sample. Manual queued configs are

        long-lived so they are not garbage-expired before the driver picks them
        up.
      properties:
        anchor_value:
          anyOf:
            - type: string
            - type: 'null'
          title: Anchor Value
        expires_in_hours:
          default: 8760
          minimum: 1
          title: Expires In Hours
          type: integer
        parameters:
          additionalProperties: true
          title: Parameters
          type: object
        strategy:
          default: manual
          title: Strategy
          type: string
      required:
        - parameters
      title: QueueConfigurationRequest
      type: object
    QueuedConfigurationItem:
      properties:
        anchor_value:
          anyOf:
            - type: string
            - type: 'null'
          title: Anchor Value
        consumed_at:
          anyOf:
            - format: date-time
              type: string
            - type: 'null'
          title: Consumed At
        consumed_sample_id:
          anyOf:
            - format: uuid
              type: string
            - type: 'null'
          title: Consumed Sample Id
        created_at:
          format: date-time
          title: Created At
          type: string
        expires_at:
          format: date-time
          title: Expires At
          type: string
        parameters:
          additionalProperties: true
          title: Parameters
          type: object
        suggestion_id:
          format: uuid
          title: Suggestion Id
          type: string
      required:
        - suggestion_id
        - parameters
        - created_at
        - expires_at
      title: QueuedConfigurationItem
      type: object
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          type: array
      title: HTTPValidationError
      type: object
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          title: Location
          type: array
        msg:
          title: Message
          type: string
        type:
          title: Error Type
          type: string
      required:
        - loc
        - msg
        - type
      title: ValidationError
      type: object
  securitySchemes:
    BearerAuth:
      bearerFormat: Supabase JWT
      scheme: bearer
      type: http
    ApiKeyAuth:
      in: header
      name: X-API-Key
      type: apiKey

````