---
title: "Retrieve latest blueprint"
method: GET
path: "/v1/private/agent-configs/blueprints/latest/projects/{project_id}"
tags: ["Agent Configs"]
---

# Retrieve latest blueprint

`GET /v1/private/agent-configs/blueprints/latest/projects/{project_id}`

## Request

- Base URL: `http://localhost:5173/api`
- URL: `http://localhost:5173/api/v1/private/agent-configs/blueprints/latest/projects/{project_id}`
- Auth: none declared

Retrieves the latest blueprint for a project

## Path parameters

- `project_id` string, uuid, required

## Query parameters

- `mask_id` string, uuid

## Response `200`

Blueprint retrieved

- AgentBlueprintPublic
  - `id` string, uuid
  - `name` string
  - `type` 'blueprint' | 'mask', required
  - `description` string
  - `envs` string[]
  - `created_by` string
  - `created_at` string, date-time
  - `last_updated_by` string
  - `last_updated_at` string, date-time
  - `values` AgentConfigValuePublic[], required
    - `key` string, required
    - `value` string
    - `type` 'string' | 'integer' | 'float' | 'boolean' | 'prompt' | 'prompt_commit', required
    - `description` string

## Other responses

- `401`: Unauthorized
- `404`: Not Found

---

[API](https://skmtc.dev/comet-ml/apis/opik-rest-api.md) - [All operations](https://skmtc.dev/comet-ml/apis/opik-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/comet-ml/apis/opik-rest-api/revisions/0067fada8962?raw)
