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

# Retrieve blueprint by name

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

## Request

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

Retrieves a specific blueprint by its name within a project

## Path parameters

- `name` string, required
- `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)
