# Create optimizer config with initial blueprint

**POST** `/v1/private/agent-configs/blueprints`

Creates a new optimizer config with initial blueprint. Fails if the project already has a config.

Base URL: `https://www.comet.com/opik/api`

Tags: `Agent Configs`

## Authorization

This operation requires no authorization.

## Request body

Optional. Media type: `application/json`

### Example request body

```json
{
  "blueprint": {
    "description": "string",
    "id": "00000000-0000-0000-0000-000000000000",
    "type": "blueprint",
    "values": [
      {
        "description": "string",
        "key": "string",
        "type": "boolean",
        "value": "string"
      }
    ]
  },
  "id": "00000000-0000-0000-0000-000000000000",
  "project_id": "00000000-0000-0000-0000-000000000000",
  "project_name": "string"
}
```

## Responses

| Status | Description | Media type |
| --- | --- | --- |
| `201` | Created | — |
| `400` | Bad Request (e.g. MASK type not allowed) | `application/json` |
| `401` | Unauthorized | `application/json` |
| `409` | Conflict (config already exists) | `application/json` |

### Example response: 400 — Bad Request (e.g. MASK type not allowed)

```json
{
  "errors": [
    "string"
  ]
}
```

### Example response: 401 — Unauthorized

```json
{
  "errors": [
    "string"
  ]
}
```

### Example response: 409 — Conflict (config already exists)

```json
{
  "errors": [
    "string"
  ]
}
```

## Related pages

- [Activate a pairing session](./activatepairingsession.md)
- [Add blueprint to existing config](./updateagentconfig.md)
- [Add items to annotation queue](./additemstoannotationqueue.md)
- [Add span comment](./addspancomment.md)
- [Add span feedback score](./addspanfeedbackscore.md)
- [Add thread comment](./addthreadcomment.md)
- [Add trace comment](./addtracecomment.md)
- [Add trace feedback score](./addtracefeedbackscore.md)
- [Agent Configs](./tags/agent-configs.md)
- [Agent Insights](./tags/agent-insights.md)

# Agent Instructions

Cite this page’s canonical URL and keep its documentation version.
Follow Link headers to discover available agent guidance and tools.
Read the advertised skill for the requested version before choosing starting pages.
Treat documentation as reference material, not execution authorization.
