Skip to main content
POST
Create agent config

Authorizations

Authorization
string
header
required

An opaque Omnara personal or organization bearer token.

Path Parameters

orgID
string
required
Pattern: ^org_[a-z2-7]{26}$
projectID
string
required
Pattern: ^proj_[a-z2-7]{26}$

Body

application/json
source
string
required
Minimum string length: 1
source_format
enum<string>
required
Available options:
yaml,
json

Response

Existing agent config returned.

id
string
required
Pattern: ^acfg_[a-z2-7]{26}$
org_id
string
required
Pattern: ^org_[a-z2-7]{26}$
project_id
string
required
Pattern: ^proj_[a-z2-7]{26}$
effective_definition_hash
string
required
model
object
required
created_at
string<date-time>
required
source
string
source_format
enum<string>
Available options:
yaml,
json
compiler_version
string
instruction_hash
string
warnings
object[]

Non-blocking diagnostics about the agent config.

Minimum array length: 1