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

# Look Up Dataset Rows

> Return full row data for one or more row IDs from the dataset's latest ready version.



## OpenAPI

````yaml /openapi.json post /datasets/{dataset_id}/rows:lookup
openapi: 3.1.0
info:
  title: Woodwide API
  description: API service for the Woodwide platform
  version: 0.1.0
servers:
  - url: https://api.woodwide.ai
    description: Production
security: []
paths:
  /datasets/{dataset_id}/rows:lookup:
    post:
      tags:
        - Datasets
      summary: Look Up Dataset Rows
      description: >-
        Return full row data for one or more row IDs from the dataset's latest
        ready version.
      operationId: lookup_dataset_rows_datasets__dataset_id__rows_lookup_post
      parameters:
        - name: dataset_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Dataset Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DatasetRowsLookupRequest'
            example:
              ids:
                - 0
                - 3
                - 17
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DatasetRowsLookupResponse'
              example:
                headers:
                  - id
                  - feature_a
                  - feature_b
                  - label
                rows:
                  - id: 0
                    feature_a: 1.2
                    feature_b: A
                    label: 0
                  - id: 3
                    feature_a: 2.1
                    feature_b: C
                    label: 1
                  - id: 17
                    feature_a: 0.5
                    feature_b: D
                    label: 0
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    DatasetRowsLookupRequest:
      properties:
        ids:
          items:
            type: integer
          type: array
          maxItems: 256
          minItems: 1
          title: Ids
          description: Row ids to fetch. Duplicates are de-duplicated.
      type: object
      required:
        - ids
      title: DatasetRowsLookupRequest
      description: >-
        Look up specific rows by their ``id`` column value.


        Every dataset includes a 0-based ``id`` column assigned at ingest. Pass
        1--256 integer IDs; duplicates are removed.
      example:
        ids:
          - 0
          - 3
          - 17
    DatasetRowsLookupResponse:
      properties:
        headers:
          items:
            type: string
          type: array
          title: Headers
          description: Column names.
        rows:
          items:
            additionalProperties: true
            type: object
          type: array
          title: Rows
          description: 'Found rows as {column: value} dicts, ordered to match the request.'
      type: object
      required:
        - headers
        - rows
      title: DatasetRowsLookupResponse
      description: >-
        Rows matching a ``DatasetRowsLookupRequest``.


        Returned rows follow the request ``ids`` order (duplicates removed). IDs
        not present in the dataset are omitted -- reconcile against the request
        to detect missing IDs.
      example:
        headers:
          - id
          - feature_a
          - feature_b
          - label
        rows:
          - id: 0
            feature_a: 1.2
            feature_b: A
            label: 0
          - id: 3
            feature_a: 2.1
            feature_b: C
            label: 1
          - id: 17
            feature_a: 0.5
            feature_b: D
            label: 0
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
      description: Returned when request parameters or body fail validation.
    ValidationError:
      type: object
      required:
        - loc
        - msg
        - type
      properties:
        loc:
          type: array
          items:
            type: string
          title: Location
          description: Path to the field that caused the error.
        msg:
          type: string
          title: Message
          description: Human-readable error message.
        type:
          type: string
          title: Error Type
          description: Machine-readable error type identifier.
      title: ValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````