Skip to content

HTTP models: ApiPendingAction – ApiTaskScheduleReceipt

Exact OpenAPI component declarations. $ref values identify other components in the complete schema.

{
"properties": {
"attention_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Attention Id"
},
"id": {
"type": "string",
"title": "Id"
},
"kind": {
"type": "string",
"enum": [
"tool_approval",
"user_input",
"manual_recovery",
"delegated_action"
],
"title": "Kind"
},
"session": {
"$ref": "#/components/schemas/ApiSessionBase"
},
"event": {
"$ref": "#/components/schemas/ApiEventRecord"
},
"title": {
"type": "string",
"title": "Title"
},
"detail": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Detail"
},
"tool_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Tool Name"
},
"approval_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Approval Id"
},
"input_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Input Id"
},
"round_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Round Id"
},
"tool_call_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Tool Call Id"
},
"policy_evidence": {
"anyOf": [
{
"type": "string",
"enum": [
"unplanned",
"authoritative",
"unregistered",
"ambiguous"
]
},
{
"type": "null"
}
],
"title": "Policy Evidence"
},
"question": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Question"
},
"options": {
"items": {
"type": "string"
},
"type": "array",
"title": "Options"
},
"arguments": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"title": "Arguments"
},
"delegated_action": {
"anyOf": [
{
"$ref": "#/components/schemas/DelegatedActionReference"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false,
"type": "object",
"required": [
"id",
"kind",
"session",
"event",
"title"
],
"title": "ApiPendingAction"
}
{
"properties": {
"code": {
"type": "string",
"enum": [
"source_too_large",
"source_too_complex",
"source_invalid"
],
"title": "Code"
},
"session_id": {
"type": "string",
"title": "Session Id"
},
"agent_name": {
"type": "string",
"title": "Agent Name"
},
"status": {
"type": "string",
"enum": [
"interrupted",
"failed",
"completed"
],
"title": "Status"
},
"updated_at": {
"type": "string",
"format": "date-time",
"title": "Updated At"
},
"detail": {
"type": "string",
"title": "Detail"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"code",
"session_id",
"agent_name",
"status",
"updated_at",
"detail"
],
"title": "ApiPendingActionIssue"
}
{
"properties": {
"status": {
"type": "string",
"enum": [
"synchronous",
"provider_operation_in_progress",
"reconnect_scheduled",
"reconnect_in_progress",
"provider_operation_reconciled",
"provider_operation_unavailable",
"ambiguous_submission",
"fallback_retry"
],
"title": "Status"
},
"stage_id": {
"anyOf": [
{
"type": "string",
"maxLength": 256
},
{
"type": "null"
}
],
"title": "Stage Id"
},
"run_epoch": {
"anyOf": [
{
"type": "integer",
"minimum": 0.0
},
{
"type": "null"
}
],
"title": "Run Epoch"
},
"provider": {
"anyOf": [
{
"type": "string",
"maxLength": 256
},
{
"type": "null"
}
],
"title": "Provider"
},
"operation_id": {
"anyOf": [
{
"type": "string",
"maxLength": 512
},
{
"type": "null"
}
],
"title": "Operation Id"
},
"stream_protocol": {
"anyOf": [
{
"type": "string",
"maxLength": 128
},
{
"type": "null"
}
],
"title": "Stream Protocol"
},
"recovery_reason": {
"anyOf": [
{
"type": "string",
"enum": [
"failed",
"expired",
"cancelled",
"malformed",
"wrong_provider",
"unavailable",
"ambiguous_submission"
]
},
{
"type": "null"
}
],
"title": "Recovery Reason"
},
"duplicate_request_risk": {
"type": "boolean",
"title": "Duplicate Request Risk",
"default": false
},
"allowed_resolutions": {
"items": {
"type": "string",
"enum": [
"fallback_retry",
"fail"
]
},
"type": "array",
"maxItems": 2,
"title": "Allowed Resolutions"
},
"resolution_action": {
"anyOf": [
{
"type": "string",
"enum": [
"fallback_retry",
"fail"
]
},
{
"type": "null"
}
],
"title": "Resolution Action"
},
"resolution_id": {
"anyOf": [
{
"type": "string",
"maxLength": 256
},
{
"type": "null"
}
],
"title": "Resolution Id"
},
"cancellation_status": {
"type": "string",
"enum": [
"not_requested",
"requested",
"unsupported",
"pending",
"cancelled",
"completed",
"failed",
"unavailable"
],
"title": "Cancellation Status"
},
"accounting_status": {
"type": "string",
"enum": [
"not_applicable",
"reserved",
"settled"
],
"title": "Accounting Status"
},
"reservation_count": {
"type": "integer",
"maximum": 32.0,
"minimum": 0.0,
"title": "Reservation Count"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"status",
"cancellation_status",
"accounting_status",
"reservation_count"
],
"title": "ApiProviderOperationInspection"
}
{
"properties": {
"entry_id": {
"type": "string",
"title": "Entry Id"
},
"revision": {
"type": "integer",
"maximum": 2147483647.0,
"minimum": 1.0,
"title": "Revision"
},
"namespace": {
"type": "string",
"title": "Namespace"
},
"kind": {
"type": "string",
"title": "Kind"
},
"visibility": {
"type": "string",
"title": "Visibility"
},
"status": {
"type": "string",
"title": "Status"
},
"title": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Title"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"type": "object",
"title": "Labels"
},
"aspects": {
"items": {
"type": "string"
},
"type": "array",
"title": "Aspects"
},
"impact_targets": {
"items": {
"type": "string"
},
"type": "array",
"title": "Impact Targets"
},
"source_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Source Type"
},
"source_uri": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Source Uri"
},
"source_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Source Id"
},
"created_by_type": {
"type": "string",
"title": "Created By Type"
},
"created_by": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Created By"
},
"created_at": {
"type": "string",
"title": "Created At"
},
"updated_at": {
"type": "string",
"title": "Updated At"
},
"importance": {
"anyOf": [
{
"type": "string",
"pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"
},
{
"type": "null"
}
],
"title": "Importance"
},
"importance_source": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Importance Source"
},
"confidence": {
"anyOf": [
{
"type": "string",
"pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"
},
{
"type": "null"
}
],
"title": "Confidence"
},
"text_preview": {
"type": "string",
"title": "Text Preview"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"entry_id",
"revision",
"namespace",
"kind",
"visibility",
"status",
"title",
"labels",
"aspects",
"impact_targets",
"source_type",
"source_uri",
"source_id",
"created_by_type",
"created_by",
"created_at",
"updated_at",
"importance",
"importance_source",
"confidence",
"text_preview"
],
"title": "ApiReviewedKnowledgeEntry"
}
{
"properties": {
"id": {
"type": "string",
"title": "Id"
},
"status": {
"type": "string",
"title": "Status"
},
"agent_name": {
"type": "string",
"title": "Agent Name"
},
"provider_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Provider Name"
},
"model": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Model"
},
"parent_session_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Parent Session Id"
},
"causal_budget_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Causal Budget Id"
},
"runtime_name": {
"type": "string",
"title": "Runtime Name"
},
"runtime_version": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Runtime Version"
},
"runtime_build_provenance": {
"$ref": "#/components/schemas/RuntimeBuildProvenance"
},
"environment_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Environment Name"
},
"created_at": {
"type": "string",
"title": "Created At"
},
"updated_at": {
"type": "string",
"title": "Updated At"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"type": "object",
"title": "Labels"
},
"metadata": {
"additionalProperties": true,
"type": "object",
"title": "Metadata"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"id",
"status",
"agent_name",
"provider_name",
"model",
"parent_session_id",
"causal_budget_id",
"runtime_name",
"runtime_version",
"runtime_build_provenance",
"environment_name",
"created_at",
"updated_at",
"labels",
"metadata"
],
"title": "ApiSession"
}
{
"properties": {
"id": {
"type": "string",
"title": "Id"
},
"status": {
"type": "string",
"title": "Status"
},
"agent_name": {
"type": "string",
"title": "Agent Name"
},
"provider_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Provider Name"
},
"model": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Model"
},
"parent_session_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Parent Session Id"
},
"causal_budget_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Causal Budget Id"
},
"runtime_name": {
"type": "string",
"title": "Runtime Name"
},
"runtime_version": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Runtime Version"
},
"runtime_build_provenance": {
"$ref": "#/components/schemas/RuntimeBuildProvenance"
},
"environment_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Environment Name"
},
"created_at": {
"type": "string",
"title": "Created At"
},
"updated_at": {
"type": "string",
"title": "Updated At"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"type": "object",
"title": "Labels"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"id",
"status",
"agent_name",
"provider_name",
"model",
"parent_session_id",
"causal_budget_id",
"runtime_name",
"runtime_version",
"runtime_build_provenance",
"environment_name",
"created_at",
"updated_at",
"labels"
],
"title": "ApiSessionBase"
}
{
"properties": {
"id": {
"type": "string",
"title": "Id"
},
"status": {
"type": "string",
"title": "Status"
},
"agent_name": {
"type": "string",
"title": "Agent Name"
},
"provider_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Provider Name"
},
"model": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Model"
},
"parent_session_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Parent Session Id"
},
"causal_budget_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Causal Budget Id"
},
"runtime_name": {
"type": "string",
"title": "Runtime Name"
},
"runtime_version": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Runtime Version"
},
"runtime_build_provenance": {
"$ref": "#/components/schemas/RuntimeBuildProvenance"
},
"environment_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Environment Name"
},
"created_at": {
"type": "string",
"title": "Created At"
},
"updated_at": {
"type": "string",
"title": "Updated At"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"type": "object",
"title": "Labels"
},
"metadata": {
"additionalProperties": true,
"type": "object",
"title": "Metadata"
},
"invocation": {
"$ref": "#/components/schemas/ApiSessionInvocation"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"id",
"status",
"agent_name",
"provider_name",
"model",
"parent_session_id",
"causal_budget_id",
"runtime_name",
"runtime_version",
"runtime_build_provenance",
"environment_name",
"created_at",
"updated_at",
"labels",
"metadata",
"invocation"
],
"title": "ApiSessionDetail"
}
{
"properties": {
"schema_version": {
"type": "integer",
"const": 1,
"title": "Schema Version"
},
"origin": {
"$ref": "#/components/schemas/ApiInvocationOrigin"
},
"root_invocation_id": {
"type": "string",
"format": "uuid4",
"title": "Root Invocation Id"
},
"root_session_id": {
"type": "string",
"title": "Root Session Id"
},
"source": {
"$ref": "#/components/schemas/SessionExecutionSource"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"schema_version",
"origin",
"root_invocation_id",
"root_session_id",
"source"
],
"title": "ApiSessionInvocation"
}
{
"properties": {
"session_id": {
"type": "string",
"title": "Session Id"
},
"status": {
"type": "string",
"title": "Status"
},
"reason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Reason"
},
"details": {
"additionalProperties": true,
"type": "object",
"title": "Details"
},
"retry": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"title": "Retry"
},
"terminal_event": {
"anyOf": [
{
"$ref": "#/components/schemas/ApiEventRecord"
},
{
"type": "null"
}
]
},
"latest_retry_event": {
"anyOf": [
{
"$ref": "#/components/schemas/ApiEventRecord"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false,
"type": "object",
"required": [
"session_id",
"status",
"reason",
"details",
"retry",
"terminal_event",
"latest_retry_event"
],
"title": "ApiSessionOutcome"
}
{
"properties": {
"session": {
"$ref": "#/components/schemas/ApiSession"
},
"outcome": {
"$ref": "#/components/schemas/ApiSessionOutcome"
},
"events": {
"$ref": "#/components/schemas/ApiEventSummary"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"session",
"outcome",
"events"
],
"title": "ApiSessionSummaryItem"
}
{
"properties": {
"parent_session_id": {
"type": "string",
"maxLength": 1024,
"minLength": 1,
"title": "Parent Session Id"
},
"children": {
"items": {
"$ref": "#/components/schemas/ApiSessionTopologyNode"
},
"type": "array",
"maxItems": 100,
"title": "Children"
},
"next_cursor": {
"anyOf": [
{
"type": "string",
"maxLength": 4096,
"minLength": 1
},
{
"type": "null"
}
],
"title": "Next Cursor"
},
"has_more": {
"type": "boolean",
"title": "Has More"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"parent_session_id",
"children",
"next_cursor",
"has_more"
],
"title": "ApiSessionTopologyBranch"
}
{
"properties": {
"id": {
"type": "string",
"maxLength": 1024,
"minLength": 1,
"title": "Id"
},
"agent_name": {
"type": "string",
"title": "Agent Name"
},
"provider_name": {
"type": "string",
"title": "Provider Name"
},
"model": {
"type": "string",
"title": "Model"
},
"parent_session_id": {
"anyOf": [
{
"type": "string",
"maxLength": 1024,
"minLength": 1
},
{
"type": "null"
}
],
"title": "Parent Session Id"
},
"causal_budget_id": {
"type": "string",
"maxLength": 1024,
"minLength": 1,
"title": "Causal Budget Id"
},
"runtime_name": {
"type": "string",
"title": "Runtime Name"
},
"runtime_version": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Runtime Version"
},
"runtime_build_provenance": {
"$ref": "#/components/schemas/RuntimeBuildProvenance"
},
"environment_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Environment Name"
},
"status": {
"type": "string",
"title": "Status"
},
"created_at": {
"type": "string",
"title": "Created At"
},
"updated_at": {
"type": "string",
"title": "Updated At"
},
"last_activity_at": {
"type": "string",
"title": "Last Activity At"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"id",
"agent_name",
"provider_name",
"model",
"parent_session_id",
"causal_budget_id",
"runtime_name",
"runtime_version",
"runtime_build_provenance",
"environment_name",
"status",
"created_at",
"updated_at",
"last_activity_at"
],
"title": "ApiSessionTopologyNode"
}
{
"properties": {
"id": {
"type": "string",
"title": "Id"
},
"type": {
"type": "string",
"title": "Type"
},
"title": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Title"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Description"
},
"status": {
"type": "string",
"title": "Status"
},
"status_reason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Status Reason"
},
"status_payload": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"title": "Status Payload"
},
"session_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Session Id"
},
"parent_task_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Parent Task Id"
},
"assigned_agent_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Assigned Agent Name"
},
"available_at": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Available At"
},
"worker_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Worker Id"
},
"lease_expires_at": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Lease Expires At"
},
"created_at": {
"type": "string",
"title": "Created At"
},
"updated_at": {
"type": "string",
"title": "Updated At"
},
"completed_at": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Completed At"
},
"retry_series": {
"anyOf": [
{
"$ref": "#/components/schemas/ApiTaskRetrySeries"
},
{
"type": "null"
}
]
},
"schedule": {
"anyOf": [
{
"$ref": "#/components/schemas/ApiTaskScheduleState"
},
{
"type": "null"
}
]
},
"invocation": {
"$ref": "#/components/schemas/ApiTaskInvocation"
},
"input": {
"additionalProperties": true,
"type": "object",
"title": "Input"
},
"result": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"title": "Result"
},
"error": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"title": "Error"
},
"metadata": {
"additionalProperties": true,
"type": "object",
"title": "Metadata"
},
"started_at": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Started At"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"id",
"type",
"title",
"description",
"status",
"status_reason",
"status_payload",
"session_id",
"parent_task_id",
"assigned_agent_name",
"available_at",
"worker_id",
"lease_expires_at",
"created_at",
"updated_at",
"completed_at",
"retry_series",
"schedule",
"invocation",
"input",
"result",
"error",
"metadata",
"started_at"
],
"title": "ApiTaskDetail"
}
{
"properties": {
"schema_version": {
"type": "integer",
"const": 1,
"title": "Schema Version"
},
"origin": {
"$ref": "#/components/schemas/ApiInvocationOrigin"
},
"root_invocation_id": {
"type": "string",
"format": "uuid4",
"title": "Root Invocation Id"
},
"root_session_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Root Session Id"
},
"source": {
"$ref": "#/components/schemas/TaskExecutionSource"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"schema_version",
"origin",
"root_invocation_id",
"root_session_id",
"source"
],
"title": "ApiTaskInvocation"
}
{
"properties": {
"id": {
"type": "string",
"title": "Id"
},
"type": {
"type": "string",
"title": "Type"
},
"title": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Title"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Description"
},
"status": {
"type": "string",
"title": "Status"
},
"status_reason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Status Reason"
},
"status_payload": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"title": "Status Payload"
},
"session_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Session Id"
},
"parent_task_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Parent Task Id"
},
"assigned_agent_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Assigned Agent Name"
},
"available_at": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Available At"
},
"worker_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Worker Id"
},
"lease_expires_at": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Lease Expires At"
},
"created_at": {
"type": "string",
"title": "Created At"
},
"updated_at": {
"type": "string",
"title": "Updated At"
},
"completed_at": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Completed At"
},
"retry_series": {
"anyOf": [
{
"$ref": "#/components/schemas/ApiTaskRetrySeries"
},
{
"type": "null"
}
]
},
"schedule": {
"anyOf": [
{
"$ref": "#/components/schemas/ApiTaskScheduleState"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false,
"type": "object",
"required": [
"id",
"type",
"title",
"description",
"status",
"status_reason",
"status_payload",
"session_id",
"parent_task_id",
"assigned_agent_name",
"available_at",
"worker_id",
"lease_expires_at",
"created_at",
"updated_at",
"completed_at",
"retry_series",
"schedule"
],
"title": "ApiTaskListItem"
}
{
"properties": {
"max_attempts": {
"type": "integer",
"maximum": 100.0,
"minimum": 1.0,
"title": "Max Attempts"
},
"max_elapsed_seconds": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Max Elapsed Seconds"
},
"max_total_tokens": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Max Total Tokens"
},
"max_estimated_cost": {
"anyOf": [
{
"type": "string",
"pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"
},
{
"type": "null"
}
],
"title": "Max Estimated Cost"
},
"cost_currency": {
"type": "string",
"title": "Cost Currency"
},
"initial_backoff_seconds": {
"type": "number",
"minimum": 0.0,
"title": "Initial Backoff Seconds"
},
"backoff_multiplier": {
"type": "number",
"minimum": 1.0,
"title": "Backoff Multiplier"
},
"max_backoff_seconds": {
"type": "number",
"minimum": 0.0,
"title": "Max Backoff Seconds"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"max_attempts",
"max_elapsed_seconds",
"max_total_tokens",
"max_estimated_cost",
"cost_currency",
"initial_backoff_seconds",
"backoff_multiplier",
"max_backoff_seconds"
],
"title": "ApiTaskRetryPolicy"
}
{
"properties": {
"series_id": {
"type": "string",
"title": "Series Id"
},
"causal_budget_id": {
"type": "string",
"title": "Causal Budget Id"
},
"attempt": {
"type": "integer",
"maximum": 100.0,
"minimum": 1.0,
"title": "Attempt"
},
"policy": {
"$ref": "#/components/schemas/ApiTaskRetryPolicy"
},
"started_at": {
"type": "string",
"title": "Started At"
},
"cumulative_tokens": {
"type": "string",
"title": "Cumulative Tokens"
},
"cumulative_estimated_cost": {
"type": "string",
"pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$",
"title": "Cumulative Estimated Cost"
},
"attempts_remaining": {
"type": "integer",
"maximum": 99.0,
"minimum": 0.0,
"title": "Attempts Remaining"
},
"tokens_remaining": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Tokens Remaining"
},
"estimated_cost_remaining": {
"anyOf": [
{
"type": "string",
"pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"
},
{
"type": "null"
}
],
"title": "Estimated Cost Remaining"
},
"elapsed_deadline": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Elapsed Deadline"
},
"disposition": {
"type": "string",
"title": "Disposition"
},
"predecessor_task_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Predecessor Task Id"
},
"successor_task_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Successor Task Id"
},
"next_eligible_at": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Next Eligible At"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"series_id",
"causal_budget_id",
"attempt",
"policy",
"started_at",
"cumulative_tokens",
"cumulative_estimated_cost",
"attempts_remaining",
"tokens_remaining",
"estimated_cost_remaining",
"elapsed_deadline",
"disposition",
"predecessor_task_id",
"successor_task_id",
"next_eligible_at"
],
"title": "ApiTaskRetrySeries"
}
{
"properties": {
"task_id": {
"type": "string",
"title": "Task Id"
},
"sequence": {
"type": "integer",
"title": "Sequence"
},
"type": {
"$ref": "#/components/schemas/TaskScheduleEventType"
},
"revision": {
"type": "integer",
"title": "Revision"
},
"occurred_at": {
"type": "string",
"title": "Occurred At"
},
"available_at": {
"type": "string",
"title": "Available At"
},
"policy": {
"$ref": "#/components/schemas/ApiTaskSchedulePolicy"
},
"invocation_id": {
"type": "string",
"title": "Invocation Id"
},
"operation_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Operation Id"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"task_id",
"sequence",
"type",
"revision",
"occurred_at",
"available_at",
"policy",
"invocation_id",
"operation_id"
],
"title": "ApiTaskScheduleEvent"
}
{
"properties": {
"expires_at": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Expires At"
},
"misfire_policy": {
"type": "string",
"enum": [
"fire_once",
"skip"
],
"title": "Misfire Policy"
},
"misfire_grace_seconds": {
"type": "integer",
"title": "Misfire Grace Seconds"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"expires_at",
"misfire_policy",
"misfire_grace_seconds"
],
"title": "ApiTaskSchedulePolicy"
}
{
"properties": {
"task_id": {
"type": "string",
"title": "Task Id"
},
"operation_id": {
"type": "string",
"title": "Operation Id"
},
"expected_revision": {
"type": "integer",
"title": "Expected Revision"
},
"schedule": {
"$ref": "#/components/schemas/ApiTaskScheduleState"
},
"available_at": {
"type": "string",
"title": "Available At"
},
"committed_at": {
"type": "string",
"title": "Committed At"
},
"type": {
"type": "string",
"enum": [
"task.rescheduled",
"task.schedule_cancelled",
"task.schedule_cancellation_requested"
],
"title": "Type"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"task_id",
"operation_id",
"expected_revision",
"schedule",
"available_at",
"committed_at",
"type"
],
"title": "ApiTaskScheduleReceipt"
}