For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Copy to LLMGithubGo to App
DocumentationIntegrationsBuilding Self-Improving AgentsSelf-hosting OpikSDK & API reference
DocumentationIntegrationsBuilding Self-Improving AgentsSelf-hosting OpikSDK & API reference
    • Overview
  • Python SDK
    • Reference
    • REST API Client
  • Typescript SDK
    • Overview
    • Opik TS
    • Prompts
    • Opik Query Language (OQL)
  • Rest API
    • Overview
        • POSTCreate optimizer config with initial blueprint
        • PATCHAdd blueprint to existing config
        • POSTCreate blueprint from mask
        • POSTCreate or update environments
        • GETRetrieve blueprint by environment
        • PUTSet environment by blueprint name
        • DELDelete environment
        • GETRetrieve blueprint by ID
        • GETRetrieve blueprint by name
        • GETGet blueprint history
        • GETRetrieve delta by blueprint ID
        • GETRetrieve latest blueprint
        • POSTRemove configuration parameters
LogoLogo
Copy to LLMGithubGo to App
Rest APIAPI ReferenceAgent Configs

Create blueprint from mask

POST
/v1/private/agent-configs/blueprints/projects/:project_id/masks/:mask_id
POST
/api/v1/private/agent-configs/blueprints/projects/:project_id/masks/:mask_id
$curl -X POST http://localhost:5173/api/v1/private/agent-configs/blueprints/projects/project_id/masks/mask_id \
> -H "Content-Type: application/json" \
> -d '{}'
1{}
Creates a new blueprint by applying a mask's changes on top of the latest blueprint for the project.
Was this page helpful?
Previous

Create or update environments

Next
Built with

Path parameters

project_idstringRequiredformat: "uuid"
mask_idstringRequiredformat: "uuid"

Response headers

Locationstring

Response

Created

Errors

401
Unauthorized Error
404
Not Found Error