---
title: "Get a Collection"
method: GET
path: "/api/v1/data-collection/collections/{collection_id}"
tags: ["aiTaskBuilder"]
---

# Get a Collection

`GET /api/v1/data-collection/collections/{collection_id}`

Get a specific AI Task Builder Collection by its unique identifier.

## Path parameters

- `collection_id` string, required

## Headers

- `Authorization` string, required

## Response `200`

OK

- Collection
  - `id` string, uuid, required
  - `schema_version` '1', required
  - `created_at` string, date-time, required — ISO-8601 formatted creation timestamp in UTC
  - `created_by` string, required — User ID of the Prolific user that created the collection
  - `workspace_id` string, required — The ID of the Prolific workspace
  - `name` string, required — The name of the collection
  - `task_details` TaskDetails, required — Task metadata displayed to participants
    - `task_name` string, required — The title displayed to participants
    - `task_introduction` string, required — HTML formatted introduction shown at the start of the task
    - `task_steps` string, required — HTML formatted step-by-step instructions
  - `collection_items` CollectionItem[], required — Pages within the collection. Each collection item represents a page.
    - `id` string, uuid, required
    - `created_at` string, date-time, required
    - `created_by` string, required
    - `schema_version` '1', required
    - `page_items` PageItem[], required — Instructions and content blocks on this page
      - union — An instruction or content block within a page
        - object — multiple_choice variant
          - `type` 'multiple_choice', required
          - `id` string, uuid, required
          - `created_at` string, date-time, required
          - `parent_id` string, uuid, required — ID of the parent batch or collection
          - `parent_type` 'batch' | 'collection', required
          - `created_by` string, required
          - `description` string, required
          - `order` integer, required
          - `helper_text` string — Additional guidance text displayed below the question
          - `placeholder_text_input` string — Placeholder text displayed in the input field
          - `answer_limit` integer, required
          - `disable_dropdown` boolean
          - `options` CollectionMultipleChoiceInstructionOptionsItems[], required
            - `label` string, required
            - `value` union, required
              - …
            - `exclusive` boolean — When true, selecting this option deselects all other options. Useful for "None of the above" style options.
        - object — free_text variant
          - `type` 'free_text', required
          - `id` string, uuid, required
          - `created_at` string, date-time, required
          - `parent_id` string, uuid, required — ID of the parent batch or collection
          - `parent_type` 'batch' | 'collection', required
          - `created_by` string, required
          - `description` string, required
          - `order` integer, required
          - `helper_text` string — Additional guidance text displayed below the question
          - `placeholder_text_input` string — Placeholder text displayed in the input field
          - `validation` ValidationRule — Optional validation constraints for input values
            - `type` 'number' | 'string', required — The expected input type. When "number", the input must be numeric and min/max constrain the numeric value. When "string", the input is treated as text and min/max constrain the character count.
            - `min` number, double, nullable — Minimum value (for type "number") or minimum character count (for type "string"). Null means unbounded. When type is "string", must be a non-negative integer. If both min and max are provided, min must be less than or equal to max.
            - `max` number, double, nullable — Maximum value (for type "number") or maximum character count (for type "string"). Null means unbounded. When type is "string", must be a non-negative integer. If both min and max are provided, max must be greater than or equal to min.
        - object — free_text_with_unit variant
          - `type` 'free_text_with_unit', required
          - `id` string, uuid, required
          - `created_at` string, date-time, required
          - `parent_id` string, uuid, required — ID of the parent batch or collection
          - `parent_type` 'batch' | 'collection', required
          - `created_by` string, required
          - `description` string, required
          - `order` integer, required
          - `helper_text` string — Additional guidance text displayed below the question
          - `placeholder_text_input` string — Placeholder text displayed in the input field
          - `unit_options` CollectionFreeTextWithUnitInstructionUnitOptionsItems[], required — List of available units that participants can select from
            - `label` string, required — Display text shown to participants
            - `value` union, required — Value returned in responses
              - …
            - `validation` ValidationRule — Optional validation constraints for input values
              - …
          - `default_unit` string — Default selected unit (must match a value from unit_options)
          - `unit_position` 'prefix' | 'suffix', required — Position of the unit selector relative to the text input. Use 'prefix' for units before the input (e.g., currency symbols) or 'suffix' for units after the input (e.g., measurements).
        - object — multiple_choice_with_free_text variant
          - `type` 'multiple_choice_with_free_text', required
          - `id` string, uuid, required
          - `created_at` string, date-time, required
          - `parent_id` string, uuid, required — ID of the parent batch or collection
          - `parent_type` 'batch' | 'collection', required
          - `created_by` string, required
          - `description` string, required
          - `order` integer, required
          - `helper_text` string — Additional guidance text displayed below the question
          - `placeholder_text_input` string — Placeholder text displayed in the input field
          - `answer_limit` integer, required
          - `disable_dropdown` boolean
          - `options` CollectionMultipleChoiceWithFreeTextInstructionOptionsItems[], required
            - `label` string, required
            - `value` union, required
              - …
            - `heading` string, required
            - `exclusive` boolean — When true, selecting this option deselects all other options. Useful for "None of the above" style options.
        - object — file_upload variant
          - `type` 'file_upload', required
          - `id` string, uuid, required
          - `created_at` string, date-time, required
          - `parent_id` string, uuid, required — ID of the parent batch or collection
          - `parent_type` 'batch' | 'collection', required
          - `created_by` string, required
          - `description` string, required
          - `order` integer, required
          - `helper_text` string — Additional guidance text displayed below the question
          - `placeholder_text_input` string — Placeholder text displayed in the input field
          - `accepted_file_types` string[] — File extensions to accept (e.g., [".jpg", ".png", ".pdf"]). Each extension must start with a dot. Defaults to [".jpg", ".jpeg", ".png", ".heic", ".heif"] if not specified.
          - `max_file_size_mb` number, double — Maximum file size in megabytes per file. Must be a positive number. Defaults to 25.
          - `min_file_count` integer — Minimum number of files required. Must be at least 1. Defaults to 1.
          - `max_file_count` integer — Maximum number of files allowed. Must be at least 1 and greater than or equal to min_file_count. Defaults to 10.
        - object — image variant
          - `type` 'image', required
          - `id` string, uuid, required
          - `created_at` string, date-time, required
          - `parent_id` string, uuid, required — ID of the parent collection item (page)
          - `parent_type` 'collection' | 'batch', required
          - `created_by` string, required
          - `schema_version` '1', required
          - `url` string, uri, required — HTTPS URL of the image
          - `alt_text` string, required — Alt text for accessibility
          - `caption` string — Optional caption displayed below the image
        - object — rich_text variant
          - `type` 'rich_text', required
          - `id` string, uuid, required
          - `created_at` string, date-time, required
          - `parent_id` string, uuid, required — ID of the parent collection item (page)
          - `parent_type` 'collection' | 'batch', required
          - `created_by` string, required
          - `schema_version` '1', required
          - `content` string, required — HTML content. If the original input used Markdown, it has been converted to HTML.
  - `last_modified_at` string, date-time — ISO-8601 formatted last modification timestamp in UTC
  - `last_modified_by` string — User ID of the Prolific user that last modified the collection

## Other responses

- `400` — Error

---

[API](https://skmtc.net/prolific/apis/api-reference.md) · [All operations](https://skmtc.net/prolific/apis/api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/prolific/api-reference/versions/dc6f073a9827/schema)
