Klineo/Docs
Open app ↗

API schemas

AgentClarification

All API schemas

object — Additional properties rejected

Field Required at this level Type Description and constraints
schemaVersion Yes Constant agent-clarification-v1 —
questionId Yes string Pattern: ^[a-zA-Z0-9][a-zA-Z0-9:_-]{2,159}$
prompt Yes string Min length: 3; Max length: 2000
contextHash Yes string Pattern: ^0x[0-9a-f]{64}$
options Yes Array of object Min items: 2; Max items: 6
options[].id Yes string Pattern: ^[a-zA-Z0-9][a-zA-Z0-9:_-]{2,159}$
options[].label Yes string Min length: 1; Max length: 160
options[].description Yes string Min length: 1; Max length: 1000

Nested required fields apply when their parent object or matching union branch is present. Named types link to their complete schema.

Exact definition: #/components/schemas/AgentClarification in the OpenAPI contract.