Skip to content

HTTP: user-input

Default control-plane operations. Complete OpenAPI schema · Authentication and tenancy.

Resolve User Input

Operation ID: resolve_user_input_api_user_input_resolve_post.

Parameter Location Required Schema
Cayu-Mutation-ID header False {"anyOf":[{"type":"string","minLength":1,"maxLength":128,"pattern":"^[A-Za-z0-9][A-Za-z0-9._~-]*$"},{"type":"null"}],"description":"Client-generated mutation identity used to correlate an ambiguous SSE reconnect with its durable server acceptance event. Send the same value on the initial mutation and every Last-Event-ID replay request; it is a replay correlation key, not permission to repeat the POST.","title":"Cayu-Mutation-Id"}
{
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/UserInputResolveBody"
}
}
}
}

Model declarations: UserInputResolveBody.

{
"200": {
"description": "Server-Sent Events stream. Each runtime event is emitted as an SSE frame whose `data:` value is a JSON SseEventEnvelope. A classified terminal runtime or observer condition is emitted as `event: error` with a SseErrorEnvelope payload.",
"content": {
"text/event-stream": {
"schema": {
"type": "string",
"description": "SSE stream. Runtime `data:` frames contain SseEventEnvelope JSON; `event: error` frames contain SseErrorEnvelope JSON."
}
}
}
},
"404": {
"description": "The replay session or mutation target does not exist.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ApiErrorResponse"
}
}
}
},
"409": {
"description": "The replay event marker is unknown or the mutation conflicts with the current session state.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ApiErrorResponse"
}
}
}
},
"500": {
"description": "The mutation could not open an accepted durable stream.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ApiErrorResponse"
}
}
}
},
"413": {
"description": "The control-plane request exceeds its encoded byte limit.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ApiErrorResponse"
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}

Model declarations: ApiErrorResponse, HTTPValidationError.

Recover User Input

Operation ID: recover_user_input_api_user_input_recover_post.

Parameter Location Required Schema
Cayu-Mutation-ID header False {"anyOf":[{"type":"string","minLength":1,"maxLength":128,"pattern":"^[A-Za-z0-9][A-Za-z0-9._~-]*$"},{"type":"null"}],"description":"Client-generated mutation identity used to correlate an ambiguous SSE reconnect with its durable server acceptance event. Send the same value on the initial mutation and every Last-Event-ID replay request; it is a replay correlation key, not permission to repeat the POST.","title":"Cayu-Mutation-Id"}
{
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/UserInputRecoveryBody"
}
}
}
}

Model declarations: UserInputRecoveryBody.

{
"200": {
"description": "Server-Sent Events stream. Each runtime event is emitted as an SSE frame whose `data:` value is a JSON SseEventEnvelope. A classified terminal runtime or observer condition is emitted as `event: error` with a SseErrorEnvelope payload.",
"content": {
"text/event-stream": {
"schema": {
"type": "string",
"description": "SSE stream. Runtime `data:` frames contain SseEventEnvelope JSON; `event: error` frames contain SseErrorEnvelope JSON."
}
}
}
},
"404": {
"description": "The replay session or mutation target does not exist.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ApiErrorResponse"
}
}
}
},
"409": {
"description": "The replay event marker is unknown or the mutation conflicts with the current session state.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ApiErrorResponse"
}
}
}
},
"500": {
"description": "The mutation could not open an accepted durable stream.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ApiErrorResponse"
}
}
}
},
"413": {
"description": "The control-plane request exceeds its encoded byte limit.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ApiErrorResponse"
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}

Model declarations: ApiErrorResponse, HTTPValidationError.