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

# Get Generated Benchmark Data

> Retrieve complete benchmark data with all questions and answers.


This endpoint returns the full benchmark dataset including all questions, expected answers, and metadata. Use this to access the complete benchmark content for evaluation or review.


**Path Parameters:**

- `id`: Unique benchmark identifier


**Returns:**

- `benchmark_id`: Benchmark identifier
- `benchmark_name`: Name of the benchmark
- `status`: Benchmark status
- `document_ids`: List of document IDs (single-element array for uploaded benchmarks, multiple elements for generated benchmarks)
- `num_questions`: Total number of questions
- `questions`: Full list of benchmark questions with answers
- `created_at`: Creation timestamp
- `updated_at`: Last update timestamp


**Raises:**

- `404`: If benchmark not found or user doesn't have access


**Example Request:**

```json
GET /api/v3/benchmark/benchmark-abc123/data
Headers: {"Authorization": "Bearer <api_key>"}
```


**Example Response:**

```json
{
  "benchmark_id": "benchmark-abc123",
  "benchmark_name": "Customer Support Q&A",
  "status": "READY",
  "document_ids": ["doc-123", "doc-456"],
  "num_questions": 2,
  "questions": [
    {
      "question_num": 1,
      "question": "What is the main purpose of the product?",
      "answer": "To provide real-time collaboration tools for distributed teams."
    },
    {
      "question_num": 2,
      "question": "How does the authentication system work?",
      "answer": "Uses OAuth 2.0 with JWT tokens for secure authentication."
    }
  ],
  "created_at": "2024-01-15T10:30:00Z",
  "updated_at": "2024-01-15T10:32:45Z"
}
```


**Notes:**

- Only returns benchmarks owned by the user
- Contains complete question and answer data for evaluation
- Use this endpoint when you need the full benchmark content (not just metadata)



## OpenAPI

````yaml https://api.nugen.in/openapi-public.json get /api/v3/benchmarks/{id}/data
openapi: 3.1.0
info:
  title: Nugen Intelligence API
  description: 'Nugen Intelligence : Powering Specialized Intelligence At Scale'
  version: 25.4.20
servers: []
security: []
paths:
  /api/v3/benchmarks/{id}/data:
    get:
      tags:
        - General
      summary: Get Generated Benchmark Data
      description: >-
        Retrieve complete benchmark data with all questions and answers.



        This endpoint returns the full benchmark dataset including all
        questions, expected answers, and metadata. Use this to access the
        complete benchmark content for evaluation or review.



        **Path Parameters:**


        - `id`: Unique benchmark identifier



        **Returns:**


        - `benchmark_id`: Benchmark identifier

        - `benchmark_name`: Name of the benchmark

        - `status`: Benchmark status

        - `document_ids`: List of document IDs (single-element array for
        uploaded benchmarks, multiple elements for generated benchmarks)

        - `num_questions`: Total number of questions

        - `questions`: Full list of benchmark questions with answers

        - `created_at`: Creation timestamp

        - `updated_at`: Last update timestamp



        **Raises:**


        - `404`: If benchmark not found or user doesn't have access



        **Example Request:**


        ```json

        GET /api/v3/benchmark/benchmark-abc123/data

        Headers: {"Authorization": "Bearer <api_key>"}

        ```



        **Example Response:**


        ```json

        {
          "benchmark_id": "benchmark-abc123",
          "benchmark_name": "Customer Support Q&A",
          "status": "READY",
          "document_ids": ["doc-123", "doc-456"],
          "num_questions": 2,
          "questions": [
            {
              "question_num": 1,
              "question": "What is the main purpose of the product?",
              "answer": "To provide real-time collaboration tools for distributed teams."
            },
            {
              "question_num": 2,
              "question": "How does the authentication system work?",
              "answer": "Uses OAuth 2.0 with JWT tokens for secure authentication."
            }
          ],
          "created_at": "2024-01-15T10:30:00Z",
          "updated_at": "2024-01-15T10:32:45Z"
        }

        ```



        **Notes:**


        - Only returns benchmarks owned by the user

        - Contains complete question and answer data for evaluation

        - Use this endpoint when you need the full benchmark content (not just
        metadata)
      operationId: benchmarks_data
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
            title: Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````