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

# Fetch Dynamic Columns

> Trigger a fetch for dynamic (prompt/API) columns on selected rows.



## OpenAPI

````yaml POST /datasets/{datasetId}/dynamic-columns/fetch
openapi: 3.1.1
info:
  title: Adaline API
  version: 2.0.0
  description: >-
    Public API for managing Adaline projects, prompts, datasets, evaluators,
    evaluations, providers, models, and deployments.


    Generated from Zod schemas — this spec is the single source of truth.
servers:
  - url: https://api.adaline.ai/v2
    description: Production API
security: []
tags:
  - name: datasets
    description: Manage prompt datasets and their columns and rows.
  - name: projects
    description: List and manage Adaline projects.
  - name: providers
    description: List configured LLM providers and their settings.
  - name: models
    description: List available models across providers.
  - name: prompts
    description: Create and manage prompts and their drafts.
  - name: evaluators
    description: Configure evaluators attached to a prompt.
  - name: evaluations
    description: Run and inspect evaluation results.
  - name: deployments
    description: Retrieve deployed prompt snapshots.
  - name: logs
    description: Ingest execution traces and spans for observability.
paths:
  /datasets/{datasetId}/dynamic-columns/fetch:
    post:
      tags:
        - datasets
      summary: Trigger dynamic column fetch
      description: Trigger a fetch for dynamic (prompt/API) columns on selected rows.
      operationId: fetchDynamicColumns
      parameters:
        - schema:
            $ref: '#/components/schemas/BaseEntityId'
          required: true
          name: datasetId
          in: path
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                columnIds:
                  type: array
                  items:
                    $ref: '#/components/schemas/BaseEntityId'
                datasetRowIds:
                  type: array
                  items:
                    $ref: '#/components/schemas/BaseEntityId'
                runMode:
                  type: string
                  enum:
                    - all
                    - failed
                    - first
      responses:
        '200':
          description: Dynamic columns fetched.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FetchDynamicColumnsResponse'
          headers:
            X-Request-Id:
              description: >-
                Unique identifier for the request. Returned in every response.
                Send a custom value to correlate requests, or omit to receive a
                generated UUID.
              schema:
                type: string
                format: uuid
        '400':
          description: Bad request — validation error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Unauthorized — invalid or missing API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: Forbidden — API key lacks access.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Internal server error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - bearerAuth: []
components:
  schemas:
    BaseEntityId:
      title: Base Entity ID
      type: string
      description: Unique identifier for an entity, between 20 and 80 characters.
      minLength: 20
      maxLength: 80
    FetchDynamicColumnsResponse:
      type: object
      properties:
        datasetId:
          $ref: '#/components/schemas/BaseEntityId'
        runMode:
          type: string
          enum:
            - all
            - failed
            - first
        columnRuns:
          type: array
          items:
            type: object
            properties:
              columnId:
                $ref: '#/components/schemas/BaseEntityId'
              runMode:
                type: string
                enum:
                  - all
                  - failed
                  - first
              totalRowsInDataset:
                type: integer
              processedRowsCount:
                type: integer
              successfulCount:
                type: integer
              failedCount:
                type: integer
            required:
              - columnId
              - runMode
              - totalRowsInDataset
              - processedRowsCount
              - successfulCount
              - failedCount
      required:
        - datasetId
        - runMode
        - columnRuns
      title: Fetch Dynamic Columns Response
      description: Status of dynamic column fetch runs.
    ErrorResponse:
      title: Error Response
      type: object
      description: >-
        Standard error response envelope. Permits backend-specific sibling
        fields (e.g. Zod issue details) alongside the typed `error`.
      properties:
        error:
          description: >-
            Error details — typed envelope, or a raw string reason when the
            backend's validator produces a short summary (e.g. Zod validation
            fallback).
          oneOf:
            - type: string
            - type: object
              properties:
                code:
                  type: string
                  description: Machine-readable error code.
                  enum:
                    - VALIDATION_ERROR
                    - INVALID_CURSOR
                    - AUTHENTICATION_REQUIRED
                    - FORBIDDEN
                    - RESOURCE_NOT_FOUND
                    - CONFLICT
                    - PAYLOAD_TOO_LARGE
                    - RATE_LIMITED
                    - INTERNAL_ERROR
                message:
                  type: string
                  description: Human-readable error message.
                details:
                  type: array
                  description: Optional field-level validation details.
                  items:
                    type: object
                    properties:
                      field:
                        type: string
                      issue:
                        type: string
                    required:
                      - field
                      - issue
              required:
                - code
                - message
              additionalProperties: true
      required:
        - error
      additionalProperties: true
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key
      description: 'Workspace API key. Pass as `Authorization: Bearer <key>`.'

````