Skip to main content
POST
Save a version of the approved agent specification

Authorizations

Authorization
string
header
required

A workspace API key, sent as Authorization: Bearer sempera_sk_... Each operation names the one scope it needs. Scopes, key kinds and roles are in the Authentication guide.

Headers

Idempotency-Key
string

Replays the stored answer for a retry of the same request; 409 for a different request under the same key.

Maximum string length: 255

Path Parameters

agent_id
string
required

Response

Version saved

client
string
required
ok
any
required
version_number
integer | null
required
agent_version_id
string | null
required
spec_hash
string | null
required
compiler_version
string | null
required