{ "components": { "schemas": { "AcceptTurnRequest": { "additionalProperties": false, "properties": { "content": { "maxLength": 100000, "minLength": 1, "title": "Content", "type": "string" }, "idempotency_key": { "maxLength": 200, "minLength": 1, "title": "Idempotency Key", "type": "string" }, "retry_count": { "default": 0, "maximum": 5.0, "minimum": 0.0, "title": "Retry Count", "type": "integer" }, "timeout_seconds": { "default": 180.0, "maximum": 600.0, "minimum": 5.0, "title": "Timeout Seconds", "type": "number" } }, "required": [ "content", "idempotency_key" ], "title": "AcceptTurnRequest", "type": "object" }, "AgentDefinitionListResponse": { "properties": { "items": { "items": { "$ref": "#/components/schemas/AgentDefinitionResponse" }, "title": "Items", "type": "array" }, "total": { "title": "Total", "type": "integer" } }, "required": [ "total", "items" ], "title": "AgentDefinitionListResponse", "type": "object" }, "AgentDefinitionResponse": { "properties": { "agent_definition_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Agent Definition Id" }, "archived_at": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "title": "Archived At" }, "created_at": { "format": "date-time", "title": "Created At", "type": "string" }, "definition_key": { "title": "Definition Key", "type": "string" }, "deployments": { "items": { "$ref": "#/components/schemas/DeploymentSnapshotResponse" }, "title": "Deployments", "type": "array" }, "id": { "title": "Id", "type": "string" }, "memory_policy_version": { "title": "Memory Policy Version", "type": "string" }, "name": { "title": "Name", "type": "string" }, "persona_key": { "title": "Persona Key", "type": "string" }, "persona_sha256": { "title": "Persona Sha256", "type": "string" }, "prompt_key": { "title": "Prompt Key", "type": "string" }, "prompt_sha256": { "title": "Prompt Sha256", "type": "string" }, "qualification_state": { "$ref": "#/components/schemas/QualificationState" }, "tool_names": { "items": { "type": "string" }, "title": "Tool Names", "type": "array" }, "version": { "title": "Version", "type": "integer" } }, "required": [ "id", "definition_key", "version", "name", "prompt_key", "prompt_sha256", "persona_key", "persona_sha256", "tool_names", "memory_policy_version", "qualification_state", "deployments", "created_at" ], "title": "AgentDefinitionResponse", "type": "object" }, "AgentRuntimeAcceptanceDefaultsResponse": { "properties": { "conversation_model_key": { "title": "Conversation Model Key", "type": "string" }, "embedding_model_key": { "title": "Embedding Model Key", "type": "string" }, "include_llama_compatibility": { "title": "Include Llama Compatibility", "type": "boolean" }, "persona_key": { "title": "Persona Key", "type": "string" }, "prompt_key": { "title": "Prompt Key", "type": "string" }, "retry_count": { "title": "Retry Count", "type": "integer" }, "reviewer_model_key": { "title": "Reviewer Model Key", "type": "string" }, "rounds": { "title": "Rounds", "type": "integer" }, "timeout_seconds": { "title": "Timeout Seconds", "type": "number" } }, "required": [ "conversation_model_key", "reviewer_model_key", "embedding_model_key", "prompt_key", "persona_key", "rounds", "timeout_seconds", "retry_count", "include_llama_compatibility" ], "title": "AgentRuntimeAcceptanceDefaultsResponse", "type": "object" }, "AgentRuntimeAcceptanceOptionsResponse": { "properties": { "cases": { "items": { "$ref": "#/components/schemas/TestRunOptionResponse" }, "title": "Cases", "type": "array" }, "defaults": { "$ref": "#/components/schemas/AgentRuntimeAcceptanceDefaultsResponse" } }, "required": [ "defaults", "cases" ], "title": "AgentRuntimeAcceptanceOptionsResponse", "type": "object" }, "AgentRuntimeAcceptanceRunRequest": { "additionalProperties": false, "properties": { "case_keys": { "anyOf": [ { "items": { "type": "string" }, "minItems": 1, "type": "array" }, { "type": "null" } ], "title": "Case Keys" }, "conversation_model_key": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Conversation Model Key" }, "embedding_model_key": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Embedding Model Key" }, "include_llama_compatibility": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Include Llama Compatibility" }, "persona_key": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Persona Key" }, "prompt_key": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Prompt Key" }, "retry_count": { "anyOf": [ { "maximum": 5.0, "minimum": 0.0, "type": "integer" }, { "type": "null" } ], "title": "Retry Count" }, "reviewer_model_key": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Reviewer Model Key" }, "rounds": { "anyOf": [ { "maximum": 3.0, "minimum": 1.0, "type": "integer" }, { "type": "null" } ], "title": "Rounds" }, "run_type": { "const": "agent_runtime_acceptance", "title": "Run Type", "type": "string" }, "timeout_seconds": { "anyOf": [ { "maximum": 600.0, "minimum": 5.0, "type": "number" }, { "type": "null" } ], "title": "Timeout Seconds" } }, "required": [ "run_type" ], "title": "AgentRuntimeAcceptanceRunRequest", "type": "object" }, "AgentStudioBundleResponse": { "properties": { "compaction_model_key": { "title": "Compaction Model Key", "type": "string" }, "deployments": { "items": { "$ref": "#/components/schemas/DeploymentSnapshotResponse" }, "title": "Deployments", "type": "array" }, "key": { "title": "Key", "type": "string" }, "memory_policy_version": { "title": "Memory Policy Version", "type": "string" }, "model_key": { "title": "Model Key", "type": "string" }, "name": { "title": "Name", "type": "string" }, "persona_key": { "title": "Persona Key", "type": "string" }, "prompt_key": { "title": "Prompt Key", "type": "string" }, "qualification_state": { "$ref": "#/components/schemas/QualificationState" }, "tool_names": { "items": { "type": "string" }, "title": "Tool Names", "type": "array" } }, "required": [ "key", "name", "model_key", "compaction_model_key", "prompt_key", "persona_key", "tool_names", "memory_policy_version", "qualification_state", "deployments" ], "title": "AgentStudioBundleResponse", "type": "object" }, "AgentStudioOptionsResponse": { "properties": { "bundles": { "items": { "$ref": "#/components/schemas/AgentStudioBundleResponse" }, "title": "Bundles", "type": "array" }, "default_bundle_key": { "title": "Default Bundle Key", "type": "string" }, "default_retry_count": { "default": 0, "title": "Default Retry Count", "type": "integer" }, "default_timeout_seconds": { "default": 180.0, "title": "Default Timeout Seconds", "type": "number" }, "max_retry_count": { "default": 5, "title": "Max Retry Count", "type": "integer" }, "runtime": { "const": "ade_native", "default": "ade_native", "title": "Runtime", "type": "string" } }, "required": [ "default_bundle_key", "bundles" ], "title": "AgentStudioOptionsResponse", "type": "object" }, "AgentStudioSessionListResponse": { "properties": { "items": { "items": { "$ref": "#/components/schemas/AgentStudioSessionResponse" }, "title": "Items", "type": "array" }, "total": { "title": "Total", "type": "integer" } }, "required": [ "total", "items" ], "title": "AgentStudioSessionListResponse", "type": "object" }, "AgentStudioSessionResponse": { "properties": { "agent_definition": { "$ref": "#/components/schemas/AgentDefinitionResponse" }, "conversation": { "$ref": "#/components/schemas/ConversationResponse" }, "idempotent_replay": { "default": false, "title": "Idempotent Replay", "type": "boolean" }, "latest_run": { "anyOf": [ { "$ref": "#/components/schemas/RunResponse" }, { "type": "null" } ] }, "memory_subject": { "$ref": "#/components/schemas/MemorySubjectResponse" }, "session_id": { "title": "Session Id", "type": "string" } }, "required": [ "session_id", "agent_definition", "memory_subject", "conversation" ], "title": "AgentStudioSessionResponse", "type": "object" }, "ApiAgentStudioRuntimeDefaultsResponse": { "properties": { "temperature": { "anyOf": [ { "type": "number" }, { "type": "null" } ], "title": "Temperature" }, "top_k": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Top K" }, "top_p": { "anyOf": [ { "type": "number" }, { "type": "null" } ], "title": "Top P" } }, "title": "ApiAgentStudioRuntimeDefaultsResponse", "type": "object" }, "ApiCommentingGenerateResponse": { "properties": { "cache_prompt": { "title": "Cache Prompt", "type": "boolean" }, "content": { "title": "Content", "type": "string" }, "content_source": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Content Source" }, "enable_thinking": { "default": false, "title": "Enable Thinking", "type": "boolean" }, "finish_reason": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Finish Reason" }, "max_tokens": { "title": "Max Tokens", "type": "integer" }, "model": { "title": "Model", "type": "string" }, "model_key": { "title": "Model Key", "type": "string" }, "persona_key": { "title": "Persona Key", "type": "string" }, "prompt_key": { "title": "Prompt Key", "type": "string" }, "provider": { "title": "Provider", "type": "string" }, "provider_model_id": { "title": "Provider Model Id", "type": "string" }, "raw_reply": { "anyOf": [ { "additionalProperties": true, "type": "object" }, { "type": "null" } ], "title": "Raw Reply" }, "raw_request": { "anyOf": [ { "additionalProperties": true, "type": "object" }, { "type": "null" } ], "title": "Raw Request" }, "received_at": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Received At" }, "scenario": { "enum": [ "chat", "comment", "label" ], "title": "Scenario", "type": "string" }, "selected_attempt": { "title": "Selected Attempt", "type": "string" }, "source_id": { "title": "Source Id", "type": "string" }, "source_label": { "title": "Source Label", "type": "string" }, "task_shape": { "enum": [ "classic", "all_in_system", "structured_output" ], "title": "Task Shape", "type": "string" }, "temperature": { "title": "Temperature", "type": "number" }, "timeout_seconds": { "title": "Timeout Seconds", "type": "number" }, "top_k": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Top K" }, "top_p": { "title": "Top P", "type": "number" }, "usage": { "additionalProperties": true, "title": "Usage", "type": "object" } }, "required": [ "scenario", "model_key", "source_id", "source_label", "provider_model_id", "prompt_key", "persona_key", "model", "content", "provider", "max_tokens", "timeout_seconds", "task_shape", "cache_prompt", "temperature", "top_p", "selected_attempt" ], "title": "ApiCommentingGenerateResponse", "type": "object" }, "ApiCommentingRuntimeDefaultsResponse": { "properties": { "cache_prompt": { "title": "Cache Prompt", "type": "boolean" }, "max_tokens": { "title": "Max Tokens", "type": "integer" }, "task_shape": { "enum": [ "classic", "all_in_system", "structured_output" ], "title": "Task Shape", "type": "string" }, "temperature": { "title": "Temperature", "type": "number" }, "timeout_seconds": { "title": "Timeout Seconds", "type": "number" }, "top_k": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Top K" }, "top_p": { "title": "Top P", "type": "number" } }, "required": [ "max_tokens", "timeout_seconds", "task_shape", "cache_prompt", "temperature", "top_p" ], "title": "ApiCommentingRuntimeDefaultsResponse", "type": "object" }, "ApiLabelSchemaListResponse": { "properties": { "include_archived": { "title": "Include Archived", "type": "boolean" }, "items": { "items": { "$ref": "#/components/schemas/ApiLabelSchemaRecordResponse" }, "title": "Items", "type": "array" }, "total": { "title": "Total", "type": "integer" } }, "required": [ "total", "include_archived" ], "title": "ApiLabelSchemaListResponse", "type": "object" }, "ApiLabelSchemaRecordResponse": { "properties": { "archived": { "title": "Archived", "type": "boolean" }, "description": { "title": "Description", "type": "string" }, "key": { "title": "Key", "type": "string" }, "label": { "title": "Label", "type": "string" }, "preview": { "title": "Preview", "type": "string" }, "schema": { "additionalProperties": true, "title": "Schema", "type": "object" }, "source_path": { "title": "Source Path", "type": "string" }, "updated_at": { "title": "Updated At", "type": "string" } }, "required": [ "key", "label", "description", "schema", "preview", "archived", "source_path", "updated_at" ], "title": "ApiLabelSchemaRecordResponse", "type": "object" }, "ApiLabelingGenerateResponse": { "properties": { "finish_reason": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Finish Reason" }, "model_key": { "title": "Model Key", "type": "string" }, "output_mode": { "enum": [ "strict_json_schema", "json_schema", "json_object", "best_effort_prompt_json" ], "title": "Output Mode", "type": "string" }, "prompt_key": { "title": "Prompt Key", "type": "string" }, "provider_model_id": { "title": "Provider Model Id", "type": "string" }, "raw_reply": { "anyOf": [ { "additionalProperties": true, "type": "object" }, { "type": "null" } ], "title": "Raw Reply" }, "raw_request": { "anyOf": [ { "additionalProperties": true, "type": "object" }, { "type": "null" } ], "title": "Raw Request" }, "received_at": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Received At" }, "result": { "additionalProperties": { "items": { "type": "string" }, "type": "array" }, "title": "Result", "type": "object" }, "scenario": { "enum": [ "chat", "comment", "label" ], "title": "Scenario", "type": "string" }, "schema_key": { "title": "Schema Key", "type": "string" }, "selected_attempt": { "enum": [ "primary", "repair" ], "title": "Selected Attempt", "type": "string" }, "source_id": { "title": "Source Id", "type": "string" }, "source_label": { "title": "Source Label", "type": "string" }, "temperature": { "title": "Temperature", "type": "number" }, "top_k": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Top K" }, "top_p": { "title": "Top P", "type": "number" }, "usage": { "additionalProperties": true, "title": "Usage", "type": "object" }, "validation_errors": { "items": { "type": "string" }, "title": "Validation Errors", "type": "array" } }, "required": [ "scenario", "model_key", "source_id", "source_label", "provider_model_id", "prompt_key", "schema_key", "output_mode", "selected_attempt", "temperature", "top_p" ], "title": "ApiLabelingGenerateResponse", "type": "object" }, "ApiLabelingRuntimeDefaultsResponse": { "properties": { "max_tokens": { "title": "Max Tokens", "type": "integer" }, "repair_retry_count": { "title": "Repair Retry Count", "type": "integer" }, "temperature": { "title": "Temperature", "type": "number" }, "timeout_seconds": { "title": "Timeout Seconds", "type": "number" }, "top_k": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Top K" }, "top_p": { "title": "Top P", "type": "number" } }, "required": [ "max_tokens", "timeout_seconds", "repair_retry_count", "temperature", "top_p" ], "title": "ApiLabelingRuntimeDefaultsResponse", "type": "object" }, "ApiOptionEntryResponse": { "properties": { "agent_studio_candidate": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Agent Studio Candidate" }, "agent_studio_compatible": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Agent Studio Compatible" }, "available": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Available" }, "deployment": { "anyOf": [ { "additionalProperties": true, "type": "object" }, { "type": "null" } ], "title": "Deployment" }, "description": { "title": "Description", "type": "string" }, "identity_sha256": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Identity Sha256" }, "is_default": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Is Default" }, "key": { "title": "Key", "type": "string" }, "label": { "title": "Label", "type": "string" }, "label_lab_available": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Label Lab Available" }, "profile_applied": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Profile Applied" }, "profile_source": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Profile Source" }, "provider_model_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Provider Model Id" }, "sampling_defaults": { "additionalProperties": true, "title": "Sampling Defaults", "type": "object" }, "scenario": { "anyOf": [ { "enum": [ "chat", "comment", "label" ], "type": "string" }, { "type": "null" } ], "title": "Scenario" }, "scenario_sampling_defaults": { "additionalProperties": { "additionalProperties": true, "type": "object" }, "title": "Scenario Sampling Defaults", "type": "object" }, "source_adapter": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Source Adapter" }, "source_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Source Id" }, "source_label": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Source Label" }, "structured_output_mode": { "anyOf": [ { "enum": [ "strict_json_schema", "json_schema", "json_object", "best_effort_prompt_json" ], "type": "string" }, { "type": "null" } ], "title": "Structured Output Mode" }, "supports_thinking": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Supports Thinking" }, "supports_top_k": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Supports Top K" }, "thinking_default_enabled": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Thinking Default Enabled" }, "tool_call_thinking_default_enabled": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Tool Call Thinking Default Enabled" } }, "required": [ "key", "label", "description" ], "title": "ApiOptionEntryResponse", "type": "object" }, "ApiOptionsDefaultsResponse": { "properties": { "embedding": { "title": "Embedding", "type": "string" }, "model": { "title": "Model", "type": "string" }, "persona_key": { "title": "Persona Key", "type": "string" }, "prompt_key": { "title": "Prompt Key", "type": "string" }, "scenario": { "enum": [ "chat", "comment", "label" ], "title": "Scenario", "type": "string" }, "schema_key": { "default": "", "title": "Schema Key", "type": "string" } }, "required": [ "scenario", "model", "prompt_key", "persona_key", "embedding" ], "title": "ApiOptionsDefaultsResponse", "type": "object" }, "ApiOptionsResponse": { "properties": { "agent_studio": { "anyOf": [ { "$ref": "#/components/schemas/ApiAgentStudioRuntimeDefaultsResponse" }, { "type": "null" } ] }, "commenting": { "anyOf": [ { "$ref": "#/components/schemas/ApiCommentingRuntimeDefaultsResponse" }, { "type": "null" } ] }, "defaults": { "$ref": "#/components/schemas/ApiOptionsDefaultsResponse" }, "embeddings": { "items": { "$ref": "#/components/schemas/ApiOptionEntryResponse" }, "title": "Embeddings", "type": "array" }, "labeling": { "anyOf": [ { "$ref": "#/components/schemas/ApiLabelingRuntimeDefaultsResponse" }, { "type": "null" } ] }, "models": { "items": { "$ref": "#/components/schemas/ApiOptionEntryResponse" }, "title": "Models", "type": "array" }, "personas": { "items": { "$ref": "#/components/schemas/ApiOptionEntryResponse" }, "title": "Personas", "type": "array" }, "prompts": { "items": { "$ref": "#/components/schemas/ApiOptionEntryResponse" }, "title": "Prompts", "type": "array" }, "scenario": { "enum": [ "chat", "comment", "label" ], "title": "Scenario", "type": "string" }, "schemas": { "items": { "$ref": "#/components/schemas/ApiOptionEntryResponse" }, "title": "Schemas", "type": "array" } }, "required": [ "scenario", "models", "embeddings", "prompts", "personas", "defaults" ], "title": "ApiOptionsResponse", "type": "object" }, "ApiPersonaMetadataResponse": { "properties": { "key": { "title": "Key", "type": "string" }, "length": { "title": "Length", "type": "integer" }, "preview": { "title": "Preview", "type": "string" }, "scenario": { "enum": [ "chat", "comment", "label" ], "title": "Scenario", "type": "string" } }, "required": [ "scenario", "key", "preview", "length" ], "title": "ApiPersonaMetadataResponse", "type": "object" }, "ApiPromptMetadataResponse": { "properties": { "description": { "title": "Description", "type": "string" }, "key": { "title": "Key", "type": "string" }, "label": { "title": "Label", "type": "string" }, "length": { "title": "Length", "type": "integer" }, "preview": { "title": "Preview", "type": "string" }, "scenario": { "enum": [ "chat", "comment", "label" ], "title": "Scenario", "type": "string" } }, "required": [ "scenario", "key", "label", "description", "preview", "length" ], "title": "ApiPromptMetadataResponse", "type": "object" }, "ApiPromptPersonaDefaultResponse": { "properties": { "persona_key": { "title": "Persona Key", "type": "string" }, "prompt_key": { "title": "Prompt Key", "type": "string" }, "scenario": { "enum": [ "chat", "comment", "label" ], "title": "Scenario", "type": "string" } }, "required": [ "scenario", "prompt_key", "persona_key" ], "title": "ApiPromptPersonaDefaultResponse", "type": "object" }, "ApiPromptPersonaMetadataResponse": { "properties": { "defaults": { "$ref": "#/components/schemas/ApiPromptPersonaDefaultResponse" }, "personas": { "items": { "$ref": "#/components/schemas/ApiPersonaMetadataResponse" }, "title": "Personas", "type": "array" }, "prompts": { "items": { "$ref": "#/components/schemas/ApiPromptMetadataResponse" }, "title": "Prompts", "type": "array" } }, "required": [ "defaults", "prompts", "personas" ], "title": "ApiPromptPersonaMetadataResponse", "type": "object" }, "ApiPromptPersonaRevisionResponse": { "properties": { "after": { "title": "After", "type": "string" }, "after_length": { "title": "After Length", "type": "integer" }, "after_preview": { "title": "After Preview", "type": "string" }, "agent_id": { "title": "Agent Id", "type": "string" }, "before": { "title": "Before", "type": "string" }, "before_length": { "title": "Before Length", "type": "integer" }, "before_preview": { "title": "Before Preview", "type": "string" }, "delta_length": { "title": "Delta Length", "type": "integer" }, "field": { "title": "Field", "type": "string" }, "recorded_at": { "title": "Recorded At", "type": "string" }, "revision_id": { "title": "Revision Id", "type": "string" }, "source": { "title": "Source", "type": "string" } }, "required": [ "revision_id", "recorded_at", "agent_id", "field", "source", "before", "after", "before_preview", "after_preview", "before_length", "after_length", "delta_length" ], "title": "ApiPromptPersonaRevisionResponse", "type": "object" }, "ApiPromptPersonaRevisionsResponse": { "properties": { "agent_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Agent Id" }, "field": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Field" }, "items": { "items": { "$ref": "#/components/schemas/ApiPromptPersonaRevisionResponse" }, "title": "Items", "type": "array" }, "limit": { "title": "Limit", "type": "integer" }, "total": { "title": "Total", "type": "integer" } }, "required": [ "total", "limit", "items" ], "title": "ApiPromptPersonaRevisionsResponse", "type": "object" }, "ApiTemplateListResponse": { "properties": { "include_archived": { "title": "Include Archived", "type": "boolean" }, "items": { "items": { "$ref": "#/components/schemas/ApiTemplateRecordResponse" }, "title": "Items", "type": "array" }, "scenario": { "anyOf": [ { "enum": [ "chat", "comment", "label" ], "type": "string" }, { "type": "null" } ], "title": "Scenario" }, "total": { "title": "Total", "type": "integer" } }, "required": [ "total", "include_archived", "items" ], "title": "ApiTemplateListResponse", "type": "object" }, "ApiTemplateRecordResponse": { "properties": { "archived": { "title": "Archived", "type": "boolean" }, "content": { "title": "Content", "type": "string" }, "content_sha256": { "title": "Content Sha256", "type": "string" }, "description": { "title": "Description", "type": "string" }, "key": { "title": "Key", "type": "string" }, "kind": { "title": "Kind", "type": "string" }, "label": { "title": "Label", "type": "string" }, "length": { "title": "Length", "type": "integer" }, "output_schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Output Schema" }, "preview": { "title": "Preview", "type": "string" }, "scenario": { "enum": [ "chat", "comment", "label" ], "title": "Scenario", "type": "string" }, "source_path": { "title": "Source Path", "type": "string" }, "updated_at": { "title": "Updated At", "type": "string" } }, "required": [ "kind", "scenario", "key", "label", "description", "content", "content_sha256", "preview", "length", "archived", "source_path", "updated_at" ], "title": "ApiTemplateRecordResponse", "type": "object" }, "ChatMemoryEvaluationDefaultsResponse": { "properties": { "embedding": { "title": "Embedding", "type": "string" }, "fixture_key": { "title": "Fixture Key", "type": "string" }, "judge_enabled": { "title": "Judge Enabled", "type": "boolean" }, "model": { "title": "Model", "type": "string" }, "persona_key": { "title": "Persona Key", "type": "string" }, "prompt_key": { "title": "Prompt Key", "type": "string" }, "retry_count": { "title": "Retry Count", "type": "integer" }, "rounds": { "title": "Rounds", "type": "integer" }, "timeout_seconds": { "title": "Timeout Seconds", "type": "number" } }, "required": [ "model", "prompt_key", "persona_key", "embedding", "fixture_key", "rounds", "timeout_seconds", "retry_count", "judge_enabled" ], "title": "ChatMemoryEvaluationDefaultsResponse", "type": "object" }, "ChatMemoryEvaluationOptionsResponse": { "properties": { "defaults": { "$ref": "#/components/schemas/ChatMemoryEvaluationDefaultsResponse" }, "fixtures": { "items": { "$ref": "#/components/schemas/TestRunOptionResponse" }, "title": "Fixtures", "type": "array" } }, "required": [ "defaults", "fixtures" ], "title": "ChatMemoryEvaluationOptionsResponse", "type": "object" }, "ChatMemoryEvaluationRunRequest": { "additionalProperties": false, "properties": { "embedding": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Embedding" }, "fixture_key": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Fixture Key" }, "judge_enabled": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Judge Enabled" }, "judge_model_key": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Judge Model Key" }, "model": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Model" }, "persona_key": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Persona Key" }, "prompt_key": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Prompt Key" }, "retry_count": { "anyOf": [ { "maximum": 5.0, "minimum": 0.0, "type": "integer" }, { "type": "null" } ], "title": "Retry Count" }, "rounds": { "anyOf": [ { "maximum": 100.0, "minimum": 1.0, "type": "integer" }, { "type": "null" } ], "title": "Rounds" }, "run_type": { "const": "chat_memory_eval", "title": "Run Type", "type": "string" }, "timeout_seconds": { "anyOf": [ { "exclusiveMinimum": 0.0, "maximum": 600.0, "type": "number" }, { "type": "null" } ], "title": "Timeout Seconds" } }, "required": [ "run_type" ], "title": "ChatMemoryEvaluationRunRequest", "type": "object" }, "CommentingGenerateRequest": { "additionalProperties": false, "examples": [ { "cache_prompt": false, "enable_thinking": false, "input": "Summarize the reader reaction and write one concise editor-style reply.", "max_tokens": 512, "model_key": "local_llama_server::qwen3527b", "persona_key": "comment_linxiaotang", "prompt_key": "comment_v20260418", "retry_count": 1, "scenario": "comment", "task_shape": "classic", "temperature": 0.6, "timeout_seconds": 120, "top_k": 64, "top_p": 1.0 } ], "properties": { "cache_prompt": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "description": "llama.cpp prompt-cache toggle for Comment Lab. Defaults to false and is only sent to llama.cpp-backed sources.", "title": "Cache Prompt" }, "enable_thinking": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "description": "Optional vLLM/Gemma thinking toggle. When true for supported vLLM sources, ADE sends `chat_template_kwargs.enable_thinking=true`.", "title": "Enable Thinking" }, "include_diagnostics": { "default": false, "description": "Administrator-only opt-in for raw provider request/reply diagnostics.", "title": "Include Diagnostics", "type": "boolean" }, "input": { "description": "News article, comment thread, or source text to comment on.", "title": "Input", "type": "string" }, "max_tokens": { "anyOf": [ { "minimum": 0.0, "type": "integer" }, { "type": "null" } ], "description": "Optional response token budget. Defaults to Comment Lab runtime settings.", "title": "Max Tokens" }, "model_key": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "Router-scoped model key from `/api/v2/model-catalog/options?scenario=comment`, for example `local_llama_server::qwen3527b`.", "examples": [ "local_llama_server::qwen3527b" ], "title": "Model Key" }, "persona_key": { "default": "comment_linxiaotang", "description": "Comment Lab persona key from `/api/v2/model-catalog/options?scenario=comment`.", "title": "Persona Key", "type": "string" }, "prompt_key": { "default": "comment_v20260418", "description": "Comment Lab prompt key from `/api/v2/model-catalog/options?scenario=comment`.", "title": "Prompt Key", "type": "string" }, "retry_count": { "anyOf": [ { "maximum": 5.0, "minimum": 0.0, "type": "integer" }, { "type": "null" } ], "description": "Optional provider retry count for transient failures.", "title": "Retry Count" }, "scenario": { "default": "comment", "description": "Must be `comment` for this endpoint.", "enum": [ "chat", "comment", "label" ], "title": "Scenario", "type": "string" }, "task_shape": { "anyOf": [ { "enum": [ "classic", "all_in_system", "structured_output" ], "type": "string" }, { "type": "null" } ], "description": "Prompt-packing strategy. Defaults to the Comment Lab runtime setting.", "title": "Task Shape" }, "temperature": { "anyOf": [ { "maximum": 2.0, "minimum": 0.0, "type": "number" }, { "type": "null" } ], "description": "Sampling temperature. Defaults to Comment Lab runtime settings.", "title": "Temperature" }, "timeout_seconds": { "anyOf": [ { "exclusiveMinimum": 0.0, "type": "number" }, { "type": "null" } ], "description": "Optional provider timeout in seconds. Use a realistic local-model value such as 120.", "title": "Timeout Seconds" }, "top_k": { "anyOf": [ { "exclusiveMinimum": 0.0, "type": "integer" }, { "type": "null" } ], "description": "Optional top_k sampling value. Defaults to model profile or Comment Lab runtime settings.", "title": "Top K" }, "top_p": { "anyOf": [ { "exclusiveMinimum": 0.0, "maximum": 1.0, "type": "number" }, { "type": "null" } ], "description": "Nucleus sampling top_p. Defaults to Comment Lab runtime settings.", "title": "Top P" } }, "required": [ "input" ], "title": "CommentingGenerateRequest", "type": "object" }, "ConversationActivityResponse": { "properties": { "items": { "items": { "$ref": "#/components/schemas/TurnActivityResponse" }, "title": "Items", "type": "array" } }, "required": [ "items" ], "title": "ConversationActivityResponse", "type": "object" }, "ConversationResponse": { "properties": { "agent_definition_id": { "title": "Agent Definition Id", "type": "string" }, "archived_at": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "title": "Archived At" }, "created_at": { "format": "date-time", "title": "Created At", "type": "string" }, "id": { "title": "Id", "type": "string" }, "memory_subject_id": { "title": "Memory Subject Id", "type": "string" }, "purpose": { "$ref": "#/components/schemas/RuntimeResourcePurpose", "default": "development" }, "title": { "default": "Conversation", "title": "Title", "type": "string" }, "version": { "title": "Version", "type": "integer" } }, "required": [ "id", "agent_definition_id", "memory_subject_id", "version", "created_at" ], "title": "ConversationResponse", "type": "object" }, "ConversationStateResponse": { "properties": { "agent_definition_id": { "title": "Agent Definition Id", "type": "string" }, "archived_at": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "title": "Archived At" }, "created_at": { "format": "date-time", "title": "Created At", "type": "string" }, "id": { "title": "Id", "type": "string" }, "memory_subject_id": { "title": "Memory Subject Id", "type": "string" }, "message_total": { "default": 0, "title": "Message Total", "type": "integer" }, "messages": { "items": { "$ref": "#/components/schemas/MessageResponse" }, "title": "Messages", "type": "array" }, "messages_truncated": { "default": false, "title": "Messages Truncated", "type": "boolean" }, "next_before_sequence": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Next Before Sequence" }, "purpose": { "$ref": "#/components/schemas/RuntimeResourcePurpose", "default": "development" }, "summary": { "anyOf": [ { "$ref": "#/components/schemas/ConversationSummaryResponse" }, { "type": "null" } ] }, "title": { "default": "Conversation", "title": "Title", "type": "string" }, "version": { "title": "Version", "type": "integer" } }, "required": [ "id", "agent_definition_id", "memory_subject_id", "version", "created_at", "messages" ], "title": "ConversationStateResponse", "type": "object" }, "ConversationSummaryProvenanceResponse": { "properties": { "content_sha256": { "title": "Content Sha256", "type": "string" }, "input_sha256": { "title": "Input Sha256", "type": "string" }, "model_fingerprint": { "title": "Model Fingerprint", "type": "string" }, "model_key": { "title": "Model Key", "type": "string" }, "policy_sha256": { "title": "Policy Sha256", "type": "string" }, "prompt_sha256": { "title": "Prompt Sha256", "type": "string" }, "provider_request_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Provider Request Id" }, "run_id": { "title": "Run Id", "type": "string" } }, "required": [ "run_id", "model_key", "model_fingerprint", "content_sha256", "prompt_sha256", "input_sha256", "policy_sha256" ], "title": "ConversationSummaryProvenanceResponse", "type": "object" }, "ConversationSummaryResponse": { "properties": { "content": { "title": "Content", "type": "string" }, "created_at": { "format": "date-time", "title": "Created At", "type": "string" }, "id": { "title": "Id", "type": "string" }, "previous_summary_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Previous Summary Id" }, "provenance": { "$ref": "#/components/schemas/ConversationSummaryProvenanceResponse" }, "source_boundary": { "$ref": "#/components/schemas/ConversationSummarySourceBoundaryResponse" }, "version": { "title": "Version", "type": "integer" } }, "required": [ "id", "version", "content", "source_boundary", "provenance", "created_at" ], "title": "ConversationSummaryResponse", "type": "object" }, "ConversationSummarySourceBoundaryResponse": { "description": "The immutable raw-message prefix represented by a summary version.", "properties": { "message_ids": { "items": { "type": "string" }, "title": "Message Ids", "type": "array" }, "through_sequence": { "title": "Through Sequence", "type": "integer" } }, "required": [ "through_sequence", "message_ids" ], "title": "ConversationSummarySourceBoundaryResponse", "type": "object" }, "CreateAgentDefinitionRequest": { "additionalProperties": false, "properties": { "compaction_model_key": { "maxLength": 300, "minLength": 1, "title": "Compaction Model Key", "type": "string" }, "definition_key": { "maxLength": 64, "minLength": 2, "pattern": "^[a-z][a-z0-9_-]+$", "title": "Definition Key", "type": "string" }, "expected_current_version": { "anyOf": [ { "minimum": 0.0, "type": "integer" }, { "type": "null" } ], "title": "Expected Current Version" }, "model_key": { "maxLength": 300, "minLength": 1, "title": "Model Key", "type": "string" }, "name": { "maxLength": 120, "minLength": 1, "title": "Name", "type": "string" }, "persona_key": { "default": "chat_linxiaotang", "maxLength": 128, "minLength": 1, "title": "Persona Key", "type": "string" }, "prompt_key": { "default": "chat_v20261019", "maxLength": 128, "minLength": 1, "title": "Prompt Key", "type": "string" }, "tool_names": { "items": { "enum": [ "search_memory", "get_weather" ], "type": "string" }, "maxItems": 2, "title": "Tool Names", "type": "array" } }, "required": [ "definition_key", "name", "model_key", "compaction_model_key" ], "title": "CreateAgentDefinitionRequest", "type": "object" }, "CreateAgentStudioSessionRequest": { "additionalProperties": false, "properties": { "agent_definition_id": { "anyOf": [ { "maxLength": 100, "minLength": 1, "type": "string" }, { "type": "null" } ], "title": "Agent Definition Id" }, "idempotency_key": { "maxLength": 200, "minLength": 1, "title": "Idempotency Key", "type": "string" }, "memory_subject_id": { "anyOf": [ { "maxLength": 100, "minLength": 1, "type": "string" }, { "type": "null" } ], "title": "Memory Subject Id" }, "new_definition": { "anyOf": [ { "$ref": "#/components/schemas/CreateAgentDefinitionRequest" }, { "type": "null" } ] }, "new_subject": { "anyOf": [ { "$ref": "#/components/schemas/CreateMemorySubjectRequest" }, { "type": "null" } ] }, "title": { "default": "New conversation", "maxLength": 120, "minLength": 1, "title": "Title", "type": "string" } }, "required": [ "idempotency_key" ], "title": "CreateAgentStudioSessionRequest", "type": "object" }, "CreateEvaluationSessionRequest": { "additionalProperties": false, "description": "Provision one isolated evaluation conversation and its default resources.", "properties": { "agent_definition_id": { "anyOf": [ { "maxLength": 100, "minLength": 1, "type": "string" }, { "type": "null" } ], "title": "Agent Definition Id" }, "compaction_model_key": { "anyOf": [ { "maxLength": 300, "minLength": 1, "type": "string" }, { "type": "null" } ], "title": "Compaction Model Key" }, "idempotency_key": { "maxLength": 200, "minLength": 1, "title": "Idempotency Key", "type": "string" }, "memory_subject_id": { "anyOf": [ { "maxLength": 100, "minLength": 1, "type": "string" }, { "type": "null" } ], "title": "Memory Subject Id" }, "model_key": { "anyOf": [ { "maxLength": 300, "minLength": 1, "type": "string" }, { "type": "null" } ], "title": "Model Key" }, "persona_key": { "default": "chat_linxiaotang", "maxLength": 128, "minLength": 1, "title": "Persona Key", "type": "string" }, "prompt_key": { "default": "chat_v20261019", "maxLength": 128, "minLength": 1, "title": "Prompt Key", "type": "string" }, "subject_display_name": { "default": "", "maxLength": 200, "title": "Subject Display Name", "type": "string" }, "subject_external_key": { "anyOf": [ { "maxLength": 200, "minLength": 1, "type": "string" }, { "type": "null" } ], "title": "Subject External Key" }, "title": { "default": "Evaluation conversation", "maxLength": 120, "minLength": 1, "title": "Title", "type": "string" }, "tool_names": { "items": { "enum": [ "search_memory", "get_weather" ], "type": "string" }, "maxItems": 2, "title": "Tool Names", "type": "array" } }, "required": [ "idempotency_key" ], "title": "CreateEvaluationSessionRequest", "type": "object" }, "CreateMemorySubjectRequest": { "additionalProperties": false, "properties": { "display_name": { "default": "", "maxLength": 200, "title": "Display Name", "type": "string" }, "external_key": { "maxLength": 200, "minLength": 1, "title": "External Key", "type": "string" } }, "required": [ "external_key" ], "title": "CreateMemorySubjectRequest", "type": "object" }, "CurrentStackSmokeOptionsResponse": { "properties": { "run_type": { "const": "ade_api_e2e_check", "title": "Run Type", "type": "string" } }, "required": [ "run_type" ], "title": "CurrentStackSmokeOptionsResponse", "type": "object" }, "CurrentStackSmokeRunRequest": { "additionalProperties": false, "properties": { "run_type": { "const": "ade_api_e2e_check", "title": "Run Type", "type": "string" } }, "required": [ "run_type" ], "title": "CurrentStackSmokeRunRequest", "type": "object" }, "DeliveryListResponse": { "properties": { "blocked_operation_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Blocked Operation Id" }, "counts": { "additionalProperties": { "type": "integer" }, "title": "Counts", "type": "object" }, "items": { "items": { "$ref": "#/components/schemas/DeliveryResponse" }, "title": "Items", "type": "array" }, "limit": { "title": "Limit", "type": "integer" }, "offset": { "title": "Offset", "type": "integer" }, "relationship": { "$ref": "#/components/schemas/RelationshipResponse" }, "total": { "title": "Total", "type": "integer" } }, "required": [ "relationship", "total", "limit", "offset", "counts", "blocked_operation_id", "items" ], "title": "DeliveryListResponse", "type": "object" }, "DeliveryResponse": { "properties": { "accepted_at": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "title": "Accepted At" }, "attempt_count": { "title": "Attempt Count", "type": "integer" }, "blocked_by_operation_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Blocked By Operation Id" }, "check_count": { "title": "Check Count", "type": "integer" }, "conversation_id": { "title": "Conversation Id", "type": "string" }, "created_at": { "format": "date-time", "title": "Created At", "type": "string" }, "document_id": { "title": "Document Id", "type": "string" }, "last_checked_at": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "title": "Last Checked At" }, "last_error_code": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Last Error Code" }, "message_id": { "title": "Message Id", "type": "string" }, "message_sequence": { "title": "Message Sequence", "type": "integer" }, "native_progress": { "additionalProperties": true, "title": "Native Progress", "type": "object" }, "native_status": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Native Status" }, "operation_id": { "title": "Operation Id", "type": "string" }, "queue_age_seconds": { "title": "Queue Age Seconds", "type": "number" }, "relationship_sequence": { "title": "Relationship Sequence", "type": "integer" }, "retained_at": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "title": "Retained At" }, "retry_requested": { "title": "Retry Requested", "type": "boolean" }, "role": { "enum": [ "user", "assistant" ], "title": "Role", "type": "string" }, "status": { "enum": [ "queued", "submitting", "processing", "retained", "failed", "uncertain" ], "title": "Status", "type": "string" }, "updated_at": { "format": "date-time", "title": "Updated At", "type": "string" } }, "required": [ "operation_id", "document_id", "message_id", "conversation_id", "role", "message_sequence", "relationship_sequence", "status", "attempt_count", "check_count", "retry_requested", "last_error_code", "native_status", "native_progress", "accepted_at", "retained_at", "last_checked_at", "created_at", "updated_at", "queue_age_seconds", "blocked_by_operation_id" ], "title": "DeliveryResponse", "type": "object" }, "DeliveryRetryRequest": { "additionalProperties": false, "properties": { "expected_check_count": { "minimum": 0.0, "title": "Expected Check Count", "type": "integer" } }, "required": [ "expected_check_count" ], "title": "DeliveryRetryRequest", "type": "object" }, "DeploymentSnapshotResponse": { "properties": { "deployment_id": { "title": "Deployment Id", "type": "string" }, "fingerprint": { "title": "Fingerprint", "type": "string" }, "fingerprint_payload": { "additionalProperties": true, "title": "Fingerprint Payload", "type": "object" }, "lifecycle": { "title": "Lifecycle", "type": "string" }, "qualification_state": { "$ref": "#/components/schemas/QualificationState" }, "role": { "enum": [ "conversation", "compaction" ], "title": "Role", "type": "string" }, "route_alias": { "title": "Route Alias", "type": "string" } }, "required": [ "deployment_id", "route_alias", "fingerprint", "role", "lifecycle", "qualification_state" ], "title": "DeploymentSnapshotResponse", "type": "object" }, "EvaluationSessionResponse": { "description": "The isolated resources created or bound for an evaluation conversation.", "properties": { "agent_definition": { "$ref": "#/components/schemas/AgentDefinitionResponse" }, "conversation": { "$ref": "#/components/schemas/ConversationResponse" }, "idempotent_replay": { "default": false, "title": "Idempotent Replay", "type": "boolean" }, "latest_run": { "anyOf": [ { "$ref": "#/components/schemas/RunResponse" }, { "type": "null" } ] }, "memory_subject": { "$ref": "#/components/schemas/MemorySubjectResponse" }, "session_id": { "title": "Session Id", "type": "string" } }, "required": [ "session_id", "agent_definition", "memory_subject", "conversation" ], "title": "EvaluationSessionResponse", "type": "object" }, "EvaluationSessionStateResponse": { "properties": { "conversation": { "$ref": "#/components/schemas/ConversationStateResponse" }, "latest_run": { "anyOf": [ { "$ref": "#/components/schemas/RunResponse" }, { "type": "null" } ] }, "memory_subject": { "$ref": "#/components/schemas/MemorySubjectResponse" } }, "required": [ "conversation", "memory_subject" ], "title": "EvaluationSessionStateResponse", "type": "object" }, "HTTPValidationError": { "properties": { "detail": { "items": { "$ref": "#/components/schemas/ValidationError" }, "title": "Detail", "type": "array" } }, "title": "HTTPValidationError", "type": "object" }, "LabelSchemaPatchRequest": { "properties": { "description": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Description" }, "label": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Label" }, "schema": { "anyOf": [ { "additionalProperties": true, "type": "object" }, { "type": "null" } ], "title": "Schema" } }, "title": "LabelSchemaPatchRequest", "type": "object" }, "LabelSchemaWriteRequest": { "properties": { "description": { "default": "", "title": "Description", "type": "string" }, "key": { "title": "Key", "type": "string" }, "label": { "default": "", "title": "Label", "type": "string" }, "schema": { "additionalProperties": true, "title": "Schema", "type": "object" } }, "required": [ "key", "schema" ], "title": "LabelSchemaWriteRequest", "type": "object" }, "LabelingGenerateRequest": { "examples": [ { "input": "Messi scored for Inter Miami against Orlando City.", "max_tokens": 1024, "model_key": "local_llama_server::qwen3527b", "prompt_key": "label_football_entities_v1", "repair_retry_count": 1, "scenario": "label", "schema_key": "label_football_entity_groups_v1", "temperature": 0.0, "timeout_seconds": 120, "top_k": 64, "top_p": 1.0 } ], "properties": { "include_diagnostics": { "default": false, "description": "Administrator-only opt-in for raw provider request/reply diagnostics.", "title": "Include Diagnostics", "type": "boolean" }, "input": { "description": "Article or text to extract grouped entity lists from.", "title": "Input", "type": "string" }, "max_tokens": { "anyOf": [ { "minimum": 0.0, "type": "integer" }, { "type": "null" } ], "description": "Optional response token budget. Defaults to Label Lab runtime settings.", "title": "Max Tokens" }, "model_key": { "description": "Router-scoped model key from `/api/v2/model-catalog/options?scenario=label`, for example `local_llama_server::qwen3527b`.", "examples": [ "local_llama_server::qwen3527b" ], "title": "Model Key", "type": "string" }, "prompt_key": { "default": "label_generic_entities_v1", "description": "Label Lab prompt key from `/api/v2/model-catalog/options?scenario=label`.", "title": "Prompt Key", "type": "string" }, "repair_retry_count": { "anyOf": [ { "maximum": 3.0, "minimum": 0.0, "type": "integer" }, { "type": "null" } ], "description": "Number of structured-output repair attempts after validation failure.", "title": "Repair Retry Count" }, "scenario": { "default": "label", "description": "Must be `label` for this endpoint.", "enum": [ "chat", "comment", "label" ], "title": "Scenario", "type": "string" }, "schema_key": { "default": "label_entity_groups_v1", "description": "Label Schema Center key from `/api/v2/model-catalog/options?scenario=label`.", "title": "Schema Key", "type": "string" }, "temperature": { "anyOf": [ { "maximum": 2.0, "minimum": 0.0, "type": "number" }, { "type": "null" } ], "description": "Sampling temperature. Defaults to Label Lab runtime settings.", "title": "Temperature" }, "timeout_seconds": { "anyOf": [ { "exclusiveMinimum": 0.0, "type": "number" }, { "type": "null" } ], "description": "Optional provider timeout in seconds. Use a realistic local-model value such as 120.", "title": "Timeout Seconds" }, "top_k": { "anyOf": [ { "exclusiveMinimum": 0.0, "type": "integer" }, { "type": "null" } ], "description": "Optional top_k sampling value. Defaults to model profile or Label Lab runtime settings.", "title": "Top K" }, "top_p": { "anyOf": [ { "exclusiveMinimum": 0.0, "maximum": 1.0, "type": "number" }, { "type": "null" } ], "description": "Nucleus sampling top_p. Defaults to Label Lab runtime settings.", "title": "Top P" } }, "required": [ "input", "model_key" ], "title": "LabelingGenerateRequest", "type": "object" }, "LearnedMemoryResponse": { "properties": { "consolidated_at": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Consolidated At" }, "consolidation_failed_at": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Consolidation Failed At" }, "context": { "default": "", "title": "Context", "type": "string" }, "date": { "default": "", "title": "Date", "type": "string" }, "document_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Document Id" }, "entities": { "default": "", "title": "Entities", "type": "string" }, "fact_type": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Fact Type" }, "id": { "title": "Id", "type": "string" }, "mentioned_at": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Mentioned At" }, "occurred_end": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Occurred End" }, "occurred_start": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Occurred Start" }, "source_memory_ids": { "items": { "type": "string" }, "title": "Source Memory Ids", "type": "array" }, "state": { "default": "valid", "title": "State", "type": "string" }, "text": { "title": "Text", "type": "string" } }, "required": [ "id", "text" ], "title": "LearnedMemoryResponse", "type": "object" }, "MemorySubjectListResponse": { "properties": { "items": { "items": { "$ref": "#/components/schemas/MemorySubjectResponse" }, "title": "Items", "type": "array" }, "total": { "title": "Total", "type": "integer" } }, "required": [ "total", "items" ], "title": "MemorySubjectListResponse", "type": "object" }, "MemorySubjectResponse": { "properties": { "archived_at": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "title": "Archived At" }, "created_at": { "format": "date-time", "title": "Created At", "type": "string" }, "display_name": { "title": "Display Name", "type": "string" }, "external_key": { "title": "External Key", "type": "string" }, "id": { "title": "Id", "type": "string" }, "updated_at": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "title": "Updated At" }, "version": { "default": 1, "title": "Version", "type": "integer" } }, "required": [ "id", "external_key", "display_name", "created_at" ], "title": "MemorySubjectResponse", "type": "object" }, "MessageResponse": { "properties": { "content": { "title": "Content", "type": "string" }, "created_at": { "format": "date-time", "title": "Created At", "type": "string" }, "id": { "title": "Id", "type": "string" }, "role": { "enum": [ "user", "assistant" ], "title": "Role", "type": "string" }, "run_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Run Id" }, "sequence": { "title": "Sequence", "type": "integer" } }, "required": [ "id", "sequence", "role", "content", "created_at" ], "title": "MessageResponse", "type": "object" }, "ModelCatalogEntryResponse": { "properties": { "agent_studio_available": { "title": "Agent Studio Available", "type": "boolean" }, "agent_studio_candidate": { "default": false, "title": "Agent Studio Candidate", "type": "boolean" }, "agent_studio_compatible": { "default": true, "title": "Agent Studio Compatible", "type": "boolean" }, "comment_lab_available": { "title": "Comment Lab Available", "type": "boolean" }, "deployment": { "anyOf": [ { "additionalProperties": true, "type": "object" }, { "type": "null" } ], "title": "Deployment" }, "label_lab_available": { "title": "Label Lab Available", "type": "boolean" }, "model_key": { "title": "Model Key", "type": "string" }, "model_type": { "title": "Model Type", "type": "string" }, "profile_applied": { "default": false, "title": "Profile Applied", "type": "boolean" }, "profile_source": { "default": "", "title": "Profile Source", "type": "string" }, "provider_model_id": { "title": "Provider Model Id", "type": "string" }, "sampling_defaults": { "additionalProperties": true, "title": "Sampling Defaults", "type": "object" }, "scenario_sampling_defaults": { "additionalProperties": { "additionalProperties": true, "type": "object" }, "title": "Scenario Sampling Defaults", "type": "object" }, "source_adapter": { "default": "generic_openai", "title": "Source Adapter", "type": "string" }, "source_id": { "title": "Source Id", "type": "string" }, "source_kind": { "title": "Source Kind", "type": "string" }, "source_label": { "title": "Source Label", "type": "string" }, "structured_output_mode": { "anyOf": [ { "enum": [ "strict_json_schema", "json_schema", "json_object", "best_effort_prompt_json" ], "type": "string" }, { "type": "null" } ], "title": "Structured Output Mode" }, "supports_thinking": { "default": false, "title": "Supports Thinking", "type": "boolean" }, "supports_top_k": { "default": false, "title": "Supports Top K", "type": "boolean" }, "thinking_default_enabled": { "default": false, "title": "Thinking Default Enabled", "type": "boolean" } }, "required": [ "model_key", "source_id", "source_label", "source_kind", "provider_model_id", "model_type", "agent_studio_available", "comment_lab_available", "label_lab_available" ], "title": "ModelCatalogEntryResponse", "type": "object" }, "ModelCatalogResponse": { "properties": { "generated_at": { "title": "Generated At", "type": "number" }, "items": { "items": { "$ref": "#/components/schemas/ModelCatalogEntryResponse" }, "title": "Items", "type": "array" }, "sources": { "items": { "$ref": "#/components/schemas/ModelCatalogSourceResponse" }, "title": "Sources", "type": "array" } }, "required": [ "generated_at" ], "title": "ModelCatalogResponse", "type": "object" }, "ModelCatalogSourceModelResponse": { "properties": { "model_type": { "title": "Model Type", "type": "string" }, "provider_model_id": { "title": "Provider Model Id", "type": "string" } }, "required": [ "provider_model_id", "model_type" ], "title": "ModelCatalogSourceModelResponse", "type": "object" }, "ModelCatalogSourceResponse": { "properties": { "adapter": { "default": "generic_openai", "title": "Adapter", "type": "string" }, "allowlist_applied": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Allowlist Applied" }, "allowlist_checked_at": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Allowlist Checked At" }, "base_url": { "title": "Base Url", "type": "string" }, "detail": { "title": "Detail", "type": "string" }, "enabled_for": { "items": { "type": "string" }, "title": "Enabled For", "type": "array" }, "filtered_model_count": { "default": 0, "title": "Filtered Model Count", "type": "integer" }, "id": { "title": "Id", "type": "string" }, "kind": { "title": "Kind", "type": "string" }, "label": { "title": "Label", "type": "string" }, "models": { "items": { "$ref": "#/components/schemas/ModelCatalogSourceModelResponse" }, "title": "Models", "type": "array" }, "raw_model_count": { "default": 0, "title": "Raw Model Count", "type": "integer" }, "status": { "title": "Status", "type": "string" } }, "required": [ "id", "label", "kind", "base_url", "enabled_for", "status", "detail" ], "title": "ModelCatalogSourceResponse", "type": "object" }, "NativeOperationResponse": { "properties": { "created_at": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Created At" }, "native_progress": { "additionalProperties": true, "title": "Native Progress", "type": "object" }, "operation_id": { "title": "Operation Id", "type": "string" }, "operation_type": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Operation Type" }, "status": { "title": "Status", "type": "string" }, "updated_at": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Updated At" } }, "required": [ "operation_id", "status", "native_progress" ], "title": "NativeOperationResponse", "type": "object" }, "NativeOperationsResponse": { "properties": { "items": { "items": { "$ref": "#/components/schemas/NativeOperationResponse" }, "title": "Items", "type": "array" }, "limit": { "title": "Limit", "type": "integer" }, "offset": { "title": "Offset", "type": "integer" }, "relationship": { "$ref": "#/components/schemas/RelationshipResponse" }, "total": { "title": "Total", "type": "integer" } }, "required": [ "relationship", "total", "limit", "offset", "items" ], "title": "NativeOperationsResponse", "type": "object" }, "ObservationIdentity": { "properties": { "attempt_id": { "title": "Attempt Id", "type": "string" }, "conversation_id": { "title": "Conversation Id", "type": "string" }, "run_id": { "title": "Run Id", "type": "string" }, "workspace_id": { "title": "Workspace Id", "type": "string" } }, "required": [ "run_id", "attempt_id", "workspace_id", "conversation_id" ], "title": "ObservationIdentity", "type": "object" }, "PersonaTemplatePatchRequest": { "properties": { "content": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Content" }, "description": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Description" }, "label": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Label" } }, "title": "PersonaTemplatePatchRequest", "type": "object" }, "PersonaTemplateWriteRequest": { "properties": { "content": { "title": "Content", "type": "string" }, "description": { "default": "", "title": "Description", "type": "string" }, "key": { "title": "Key", "type": "string" }, "label": { "default": "", "title": "Label", "type": "string" }, "scenario": { "anyOf": [ { "enum": [ "chat", "comment", "label" ], "type": "string" }, { "type": "null" } ], "title": "Scenario" } }, "required": [ "key", "content" ], "title": "PersonaTemplateWriteRequest", "type": "object" }, "PrivateAttemptObservation": { "properties": { "attempt_id": { "title": "Attempt Id", "type": "string" }, "records": { "items": { "$ref": "#/components/schemas/PrivateObservationRecord" }, "title": "Records", "type": "array" } }, "required": [ "attempt_id", "records" ], "title": "PrivateAttemptObservation", "type": "object" }, "PrivateObservationRecord": { "properties": { "identity": { "$ref": "#/components/schemas/ObservationIdentity" }, "input_complete": { "title": "Input Complete", "type": "boolean" }, "recorded_at": { "title": "Recorded At", "type": "number" }, "schema_version": { "const": 1, "title": "Schema Version", "type": "integer" }, "sequence": { "minimum": 1.0, "title": "Sequence", "type": "integer" }, "type": { "enum": [ "attempt_execution.started", "attempt_execution.finished", "context.sources", "context.composed", "compaction.sources", "compaction.completed", "memory_lookup.started", "memory_lookup.completed", "memory_lookup.failed", "model_request.started", "model_request.finished" ], "title": "Type", "type": "string" }, "value": { "additionalProperties": true, "title": "Value", "type": "object" } }, "required": [ "schema_version", "identity", "sequence", "recorded_at", "type", "input_complete", "value" ], "title": "PrivateObservationRecord", "type": "object" }, "PrivateObservationResponse": { "properties": { "committed_assistant_message_ids": { "items": { "type": "string" }, "title": "Committed Assistant Message Ids", "type": "array" }, "observations": { "items": { "$ref": "#/components/schemas/PrivateAttemptObservation" }, "title": "Observations", "type": "array" }, "run_id": { "title": "Run Id", "type": "string" }, "run_status": { "$ref": "#/components/schemas/RunStatus" }, "saved_attempts": { "items": { "$ref": "#/components/schemas/SavedAttemptObservation" }, "title": "Saved Attempts", "type": "array" }, "schema_version": { "const": 1, "title": "Schema Version", "type": "integer" }, "workspace_id": { "title": "Workspace Id", "type": "string" } }, "required": [ "schema_version", "run_id", "workspace_id", "run_status", "saved_attempts", "committed_assistant_message_ids", "observations" ], "title": "PrivateObservationResponse", "type": "object" }, "PromptTemplatePatchRequest": { "properties": { "content": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Content" }, "description": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Description" }, "label": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Label" } }, "title": "PromptTemplatePatchRequest", "type": "object" }, "PromptTemplateWriteRequest": { "properties": { "content": { "title": "Content", "type": "string" }, "description": { "default": "", "title": "Description", "type": "string" }, "key": { "title": "Key", "type": "string" }, "label": { "default": "", "title": "Label", "type": "string" }, "scenario": { "anyOf": [ { "enum": [ "chat", "comment", "label" ], "type": "string" }, { "type": "null" } ], "title": "Scenario" } }, "required": [ "key", "content" ], "title": "PromptTemplateWriteRequest", "type": "object" }, "QualificationState": { "enum": [ "qualified", "unqualified" ], "title": "QualificationState", "type": "string" }, "RelationshipMemoriesResponse": { "properties": { "items": { "items": { "$ref": "#/components/schemas/LearnedMemoryResponse" }, "title": "Items", "type": "array" }, "limit": { "title": "Limit", "type": "integer" }, "offset": { "title": "Offset", "type": "integer" }, "relationship": { "$ref": "#/components/schemas/RelationshipResponse" }, "total": { "title": "Total", "type": "integer" } }, "required": [ "relationship", "total", "limit", "offset", "items" ], "title": "RelationshipMemoriesResponse", "type": "object" }, "RelationshipResponse": { "properties": { "character_root_id": { "title": "Character Root Id", "type": "string" }, "last_error_code": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Last Error Code" }, "state": { "title": "State", "type": "string" }, "subject_id": { "title": "Subject Id", "type": "string" } }, "required": [ "subject_id", "character_root_id", "state", "last_error_code" ], "title": "RelationshipResponse", "type": "object" }, "RetryRunRequest": { "additionalProperties": false, "properties": { "expected_attempt_count": { "minimum": 1.0, "title": "Expected Attempt Count", "type": "integer" }, "idempotency_key": { "maxLength": 200, "minLength": 1, "pattern": "\\S", "title": "Idempotency Key", "type": "string" } }, "required": [ "idempotency_key", "expected_attempt_count" ], "title": "RetryRunRequest", "type": "object" }, "RunEventListResponse": { "properties": { "items": { "items": { "$ref": "#/components/schemas/RunEventResponse" }, "title": "Items", "type": "array" }, "total": { "title": "Total", "type": "integer" } }, "required": [ "total", "items" ], "title": "RunEventListResponse", "type": "object" }, "RunEventResponse": { "properties": { "attempt": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Attempt" }, "causation_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Causation Id" }, "correlation_id": { "title": "Correlation Id", "type": "string" }, "id": { "title": "Id", "type": "string" }, "occurred_at": { "format": "date-time", "title": "Occurred At", "type": "string" }, "payload": { "additionalProperties": true, "title": "Payload", "type": "object" }, "run_id": { "title": "Run Id", "type": "string" }, "schema_version": { "default": 1, "title": "Schema Version", "type": "integer" }, "sequence": { "title": "Sequence", "type": "integer" }, "type": { "title": "Type", "type": "string" }, "visibility": { "const": "operator", "default": "operator", "title": "Visibility", "type": "string" } }, "required": [ "id", "run_id", "sequence", "type", "occurred_at", "correlation_id" ], "title": "RunEventResponse", "type": "object" }, "RunListResponse": { "properties": { "items": { "items": { "$ref": "#/components/schemas/RunResponse" }, "title": "Items", "type": "array" }, "total": { "title": "Total", "type": "integer" } }, "required": [ "total", "items" ], "title": "RunListResponse", "type": "object" }, "RunResponse": { "properties": { "attempt_count": { "title": "Attempt Count", "type": "integer" }, "cancellation_requested_at": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "title": "Cancellation Requested At" }, "conversation_id": { "title": "Conversation Id", "type": "string" }, "created_at": { "format": "date-time", "title": "Created At", "type": "string" }, "error_code": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Error Code" }, "error_message": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Error Message" }, "finished_at": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "title": "Finished At" }, "id": { "title": "Id", "type": "string" }, "paused_at": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "title": "Paused At" }, "qualification_state": { "$ref": "#/components/schemas/QualificationState" }, "retry_count": { "title": "Retry Count", "type": "integer" }, "started_at": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "title": "Started At" }, "status": { "$ref": "#/components/schemas/RunStatus" }, "timeout_seconds": { "title": "Timeout Seconds", "type": "number" } }, "required": [ "id", "conversation_id", "status", "qualification_state", "attempt_count", "timeout_seconds", "retry_count", "created_at" ], "title": "RunResponse", "type": "object" }, "RunStatus": { "enum": [ "pending", "running", "paused", "succeeded", "failed", "cancelled" ], "title": "RunStatus", "type": "string" }, "RuntimeResourcePurpose": { "enum": [ "development", "agent_studio", "evaluation", "preview" ], "title": "RuntimeResourcePurpose", "type": "string" }, "RuntimeWorkerHealthResponse": { "properties": { "checked_at": { "format": "date-time", "title": "Checked At", "type": "string" }, "compatibility_fingerprint": { "title": "Compatibility Fingerprint", "type": "string" }, "compatible_worker_count": { "title": "Compatible Worker Count", "type": "integer" }, "database_ready": { "title": "Database Ready", "type": "boolean" }, "failure_code": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Failure Code" }, "freshness_seconds": { "title": "Freshness Seconds", "type": "number" }, "latest_heartbeat_at": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "title": "Latest Heartbeat At" }, "matching_build_worker_count": { "title": "Matching Build Worker Count", "type": "integer" }, "source_dirty": { "title": "Source Dirty", "type": "boolean" }, "source_fingerprint": { "title": "Source Fingerprint", "type": "string" }, "source_revision": { "title": "Source Revision", "type": "string" }, "status": { "enum": [ "ready", "not_ready" ], "title": "Status", "type": "string" }, "worker_ready": { "title": "Worker Ready", "type": "boolean" } }, "required": [ "status", "database_ready", "worker_ready", "checked_at", "freshness_seconds", "compatible_worker_count", "matching_build_worker_count", "compatibility_fingerprint", "source_revision", "source_dirty", "source_fingerprint" ], "title": "RuntimeWorkerHealthResponse", "type": "object" }, "SavedAttemptObservation": { "properties": { "attempt_number": { "minimum": 1.0, "title": "Attempt Number", "type": "integer" }, "id": { "title": "Id", "type": "string" }, "status": { "title": "Status", "type": "string" } }, "required": [ "id", "attempt_number", "status" ], "title": "SavedAttemptObservation", "type": "object" }, "SourceResponse": { "properties": { "content": { "title": "Content", "type": "string" }, "definition_version_id": { "title": "Definition Version Id", "type": "string" }, "delivery": { "$ref": "#/components/schemas/DeliveryResponse" }, "native_context": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Native Context" }, "native_original_text": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Native Original Text" }, "occurred_at": { "format": "date-time", "title": "Occurred At", "type": "string" }, "relationship": { "$ref": "#/components/schemas/RelationshipResponse" } }, "required": [ "relationship", "delivery", "content", "occurred_at", "definition_version_id", "native_original_text", "native_context" ], "title": "SourceResponse", "type": "object" }, "TestCenterCatalogOptionsResponse": { "properties": { "embeddings": { "items": { "$ref": "#/components/schemas/TestRunOptionResponse" }, "title": "Embeddings", "type": "array" }, "models": { "items": { "$ref": "#/components/schemas/TestRunOptionResponse" }, "title": "Models", "type": "array" }, "personas": { "items": { "$ref": "#/components/schemas/TestRunOptionResponse" }, "title": "Personas", "type": "array" }, "prompts": { "items": { "$ref": "#/components/schemas/TestRunOptionResponse" }, "title": "Prompts", "type": "array" } }, "required": [ "models", "embeddings", "prompts", "personas" ], "title": "TestCenterCatalogOptionsResponse", "type": "object" }, "TestCenterOptionsResponse": { "properties": { "agent_runtime_acceptance": { "$ref": "#/components/schemas/AgentRuntimeAcceptanceOptionsResponse" }, "catalog": { "$ref": "#/components/schemas/TestCenterCatalogOptionsResponse" }, "chat_memory_eval": { "$ref": "#/components/schemas/ChatMemoryEvaluationOptionsResponse" }, "current_stack_smoke": { "$ref": "#/components/schemas/CurrentStackSmokeOptionsResponse" }, "run_types": { "items": { "$ref": "#/components/schemas/TestRunOptionResponse" }, "title": "Run Types", "type": "array" } }, "required": [ "run_types", "catalog", "chat_memory_eval", "agent_runtime_acceptance", "current_stack_smoke" ], "title": "TestCenterOptionsResponse", "type": "object" }, "TestRunArtifactListResponse": { "properties": { "items": { "items": { "$ref": "#/components/schemas/TestRunArtifactResponse" }, "title": "Items", "type": "array" }, "run_id": { "title": "Run Id", "type": "string" } }, "required": [ "run_id", "items" ], "title": "TestRunArtifactListResponse", "type": "object" }, "TestRunArtifactReadResponse": { "properties": { "artifact": { "$ref": "#/components/schemas/TestRunArtifactResponse" }, "content": { "title": "Content", "type": "string" }, "line_count": { "title": "Line Count", "type": "integer" }, "run_id": { "title": "Run Id", "type": "string" }, "truncated": { "title": "Truncated", "type": "boolean" } }, "required": [ "run_id", "artifact", "content", "truncated", "line_count" ], "title": "TestRunArtifactReadResponse", "type": "object" }, "TestRunArtifactResponse": { "properties": { "artifact_id": { "title": "Artifact Id", "type": "string" }, "exists": { "title": "Exists", "type": "boolean" }, "path": { "title": "Path", "type": "string" }, "size_bytes": { "title": "Size Bytes", "type": "integer" }, "type": { "title": "Type", "type": "string" } }, "required": [ "artifact_id", "type", "path", "exists", "size_bytes" ], "title": "TestRunArtifactResponse", "type": "object" }, "TestRunListResponse": { "properties": { "items": { "items": { "$ref": "#/components/schemas/TestRunRecordResponse" }, "title": "Items", "type": "array" } }, "required": [ "items" ], "title": "TestRunListResponse", "type": "object" }, "TestRunOptionResponse": { "properties": { "available": { "default": true, "title": "Available", "type": "boolean" }, "key": { "title": "Key", "type": "string" }, "label": { "title": "Label", "type": "string" } }, "required": [ "key", "label" ], "title": "TestRunOptionResponse", "type": "object" }, "TestRunRecordResponse": { "properties": { "artifacts": { "items": { "$ref": "#/components/schemas/TestRunArtifactResponse" }, "title": "Artifacts", "type": "array" }, "cancel_requested": { "title": "Cancel Requested", "type": "boolean" }, "command": { "items": { "type": "string" }, "title": "Command", "type": "array" }, "created_at": { "title": "Created At", "type": "string" }, "error": { "title": "Error", "type": "string" }, "exit_code": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Exit Code" }, "finished_at": { "title": "Finished At", "type": "string" }, "log_file": { "title": "Log File", "type": "string" }, "output_tail": { "items": { "type": "string" }, "title": "Output Tail", "type": "array" }, "run_id": { "title": "Run Id", "type": "string" }, "run_type": { "title": "Run Type", "type": "string" }, "started_at": { "title": "Started At", "type": "string" }, "status": { "title": "Status", "type": "string" } }, "required": [ "run_id", "run_type", "status", "command", "created_at", "started_at", "finished_at", "log_file", "cancel_requested", "error" ], "title": "TestRunRecordResponse", "type": "object" }, "TurnAcceptedResponse": { "properties": { "events_url": { "title": "Events Url", "type": "string" }, "idempotent_replay": { "default": false, "title": "Idempotent Replay", "type": "boolean" }, "run_id": { "title": "Run Id", "type": "string" }, "status": { "$ref": "#/components/schemas/RunStatus" } }, "required": [ "run_id", "status", "events_url" ], "title": "TurnAcceptedResponse", "type": "object" }, "TurnActivityResponse": { "properties": { "context": { "$ref": "#/components/schemas/TurnContextActivityResponse" }, "provider": { "additionalProperties": { "type": "integer" }, "title": "Provider", "type": "object" }, "provider_complete": { "title": "Provider Complete", "type": "boolean" }, "provider_observed": { "title": "Provider Observed", "type": "boolean" }, "run_id": { "title": "Run Id", "type": "string" }, "status": { "$ref": "#/components/schemas/RunStatus" }, "tools": { "items": { "$ref": "#/components/schemas/TurnToolActivityResponse" }, "title": "Tools", "type": "array" }, "tools_complete": { "title": "Tools Complete", "type": "boolean" } }, "required": [ "run_id", "status", "provider", "provider_complete", "provider_observed", "tools", "tools_complete", "context" ], "title": "TurnActivityResponse", "type": "object" }, "TurnContextActivityResponse": { "properties": { "automatic_memory_ids": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "null" } ], "title": "Automatic Memory Ids" }, "current_chat": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Current Chat" }, "tool_memory_ids": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "null" } ], "title": "Tool Memory Ids" } }, "title": "TurnContextActivityResponse", "type": "object" }, "TurnToolActivityResponse": { "properties": { "failed": { "title": "Failed", "type": "integer" }, "name": { "title": "Name", "type": "string" }, "succeeded": { "title": "Succeeded", "type": "integer" }, "unresolved": { "title": "Unresolved", "type": "integer" } }, "required": [ "name", "succeeded", "failed", "unresolved" ], "title": "TurnToolActivityResponse", "type": "object" }, "UpdateMemorySubjectRequest": { "additionalProperties": false, "properties": { "display_name": { "maxLength": 200, "minLength": 1, "title": "Display Name", "type": "string" }, "expected_version": { "minimum": 1.0, "title": "Expected Version", "type": "integer" } }, "required": [ "display_name", "expected_version" ], "title": "UpdateMemorySubjectRequest", "type": "object" }, "ValidationError": { "properties": { "ctx": { "title": "Context", "type": "object" }, "input": { "title": "Input" }, "loc": { "items": { "anyOf": [ { "type": "string" }, { "type": "integer" } ] }, "title": "Location", "type": "array" }, "msg": { "title": "Message", "type": "string" }, "type": { "title": "Error Type", "type": "string" } }, "required": [ "loc", "msg", "type" ], "title": "ValidationError", "type": "object" } }, "securitySchemes": { "HTTPBearer": { "scheme": "bearer", "type": "http" } } }, "info": { "description": "Provides Agent Studio, lab, content-center, model-catalog, and test APIs used by ADE Web and first-class developer clients.", "summary": "ADE-owned runtime, evaluation, and authoring APIs", "title": "ADE API", "version": "0.3.0" }, "openapi": "3.1.0", "paths": { "/api/v2/comment-lab/generations": { "post": { "operationId": "api_commenting_generate_api_v2_comment_lab_generations_post", "requestBody": { "content": { "application/json": { "examples": { "llama_server_comment": { "summary": "Generate with local llama-server", "value": { "cache_prompt": false, "enable_thinking": false, "input": "Summarize the reader reaction and write one concise editor-style reply.", "max_tokens": 512, "model_key": "local_llama_server::qwen3527b", "persona_key": "comment_linxiaotang", "prompt_key": "comment_v20260418", "retry_count": 1, "scenario": "comment", "task_shape": "classic", "temperature": 0.6, "timeout_seconds": 120, "top_k": 64, "top_p": 1.0 } } }, "schema": { "$ref": "#/components/schemas/CommentingGenerateRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ApiCommentingGenerateResponse" } } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "security": [ { "HTTPBearer": [] } ], "summary": "Generate a stateless comment for news/comment threads", "tags": [ "Comment Lab" ] } }, "/api/v2/label-lab/generations": { "post": { "operationId": "api_labeling_generate_api_v2_label_lab_generations_post", "requestBody": { "content": { "application/json": { "examples": { "football_entities": { "summary": "Extract football players and teams", "value": { "input": "Messi scored for Inter Miami against Orlando City.", "max_tokens": 1024, "model_key": "local_llama_server::qwen3527b", "prompt_key": "label_football_entities_v1", "repair_retry_count": 1, "scenario": "label", "schema_key": "label_football_entity_groups_v1", "temperature": 0.0, "timeout_seconds": 120, "top_k": 64, "top_p": 1.0 } } }, "schema": { "$ref": "#/components/schemas/LabelingGenerateRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ApiLabelingGenerateResponse" } } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "security": [ { "HTTPBearer": [] } ], "summary": "Generate stateless grouped entity extraction for an input article", "tags": [ "Label Lab" ] } }, "/api/v2/model-catalog/models": { "get": { "operationId": "get_model_catalog_api_v2_model_catalog_models_get", "parameters": [ { "in": "query", "name": "refresh", "required": false, "schema": { "default": false, "title": "Refresh", "type": "boolean" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ModelCatalogResponse" } } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "security": [ { "HTTPBearer": [] } ], "summary": "Get unified model-catalog diagnostics", "tags": [ "Model Catalog" ] } }, "/api/v2/model-catalog/options": { "get": { "description": "Return the resolved model and content options for one ADE scenario.", "operationId": "api_get_options_api_v2_model_catalog_options_get", "parameters": [ { "in": "query", "name": "refresh", "required": false, "schema": { "default": false, "title": "Refresh", "type": "boolean" } }, { "in": "query", "name": "scenario", "required": false, "schema": { "default": "chat", "title": "Scenario", "type": "string" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ApiOptionsResponse" } } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "security": [ { "HTTPBearer": [] } ], "summary": "List runtime options for an ADE scenario", "tags": [ "Model Catalog" ] } }, "/api/v2/prompt-center/catalog": { "get": { "operationId": "prompt_persona_metadata_api_v2_prompt_center_catalog_get", "parameters": [ { "in": "query", "name": "scenario", "required": false, "schema": { "default": "chat", "title": "Scenario", "type": "string" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ApiPromptPersonaMetadataResponse" } } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "security": [ { "HTTPBearer": [] } ], "summary": "Get prompt and persona metadata", "tags": [ "Prompt Center" ] } }, "/api/v2/prompt-center/personas": { "get": { "operationId": "list_personas_api_v2_prompt_center_personas_get", "parameters": [ { "in": "query", "name": "include_archived", "required": false, "schema": { "default": false, "title": "Include Archived", "type": "boolean" } }, { "in": "query", "name": "scenario", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Scenario" } }, { "in": "query", "name": "search", "required": false, "schema": { "default": "", "title": "Search", "type": "string" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ApiTemplateListResponse" } } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "security": [ { "HTTPBearer": [] } ], "summary": "List persona templates", "tags": [ "Prompt Center" ] }, "post": { "operationId": "create_persona_api_v2_prompt_center_personas_post", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PersonaTemplateWriteRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ApiTemplateRecordResponse" } } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "security": [ { "HTTPBearer": [] } ], "summary": "Create persona template", "tags": [ "Prompt Center" ] } }, "/api/v2/prompt-center/personas/{key}": { "get": { "operationId": "get_persona_api_v2_prompt_center_personas__key__get", "parameters": [ { "in": "path", "name": "key", "required": true, "schema": { "title": "Key", "type": "string" } }, { "in": "query", "name": "archived", "required": false, "schema": { "default": false, "title": "Archived", "type": "boolean" } }, { "in": "query", "name": "scenario", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Scenario" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ApiTemplateRecordResponse" } } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "security": [ { "HTTPBearer": [] } ], "summary": "Get persona template", "tags": [ "Prompt Center" ] }, "patch": { "operationId": "update_persona_api_v2_prompt_center_personas__key__patch", "parameters": [ { "in": "path", "name": "key", "required": true, "schema": { "title": "Key", "type": "string" } }, { "in": "query", "name": "scenario", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Scenario" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PersonaTemplatePatchRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ApiTemplateRecordResponse" } } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "security": [ { "HTTPBearer": [] } ], "summary": "Update persona template", "tags": [ "Prompt Center" ] } }, "/api/v2/prompt-center/personas/{key}/archive": { "post": { "operationId": "archive_persona_api_v2_prompt_center_personas__key__archive_post", "parameters": [ { "in": "path", "name": "key", "required": true, "schema": { "title": "Key", "type": "string" } }, { "in": "query", "name": "scenario", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Scenario" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ApiTemplateRecordResponse" } } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "security": [ { "HTTPBearer": [] } ], "summary": "Archive persona template", "tags": [ "Prompt Center" ] } }, "/api/v2/prompt-center/personas/{key}/purge": { "delete": { "operationId": "purge_persona_api_v2_prompt_center_personas__key__purge_delete", "parameters": [ { "in": "path", "name": "key", "required": true, "schema": { "title": "Key", "type": "string" } }, { "in": "query", "name": "scenario", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Scenario" } } ], "responses": { "200": { "content": { "application/json": { "schema": {} } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "security": [ { "HTTPBearer": [] } ], "summary": "Purge archived persona template", "tags": [ "Prompt Center" ] } }, "/api/v2/prompt-center/personas/{key}/restore": { "post": { "operationId": "restore_persona_api_v2_prompt_center_personas__key__restore_post", "parameters": [ { "in": "path", "name": "key", "required": true, "schema": { "title": "Key", "type": "string" } }, { "in": "query", "name": "scenario", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Scenario" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ApiTemplateRecordResponse" } } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "security": [ { "HTTPBearer": [] } ], "summary": "Restore archived persona template", "tags": [ "Prompt Center" ] } }, "/api/v2/prompt-center/prompts": { "get": { "operationId": "api_prompt_center_list_prompts_api_v2_prompt_center_prompts_get", "parameters": [ { "in": "query", "name": "include_archived", "required": false, "schema": { "default": false, "title": "Include Archived", "type": "boolean" } }, { "in": "query", "name": "scenario", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Scenario" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ApiTemplateListResponse" } } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "security": [ { "HTTPBearer": [] } ], "summary": "List system prompt templates", "tags": [ "Prompt Center" ] }, "post": { "operationId": "api_prompt_center_create_prompt_api_v2_prompt_center_prompts_post", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PromptTemplateWriteRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ApiTemplateRecordResponse" } } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "security": [ { "HTTPBearer": [] } ], "summary": "Create system prompt template", "tags": [ "Prompt Center" ] } }, "/api/v2/prompt-center/prompts/{key}": { "get": { "operationId": "api_prompt_center_get_prompt_api_v2_prompt_center_prompts__key__get", "parameters": [ { "in": "path", "name": "key", "required": true, "schema": { "title": "Key", "type": "string" } }, { "in": "query", "name": "archived", "required": false, "schema": { "default": false, "title": "Archived", "type": "boolean" } }, { "in": "query", "name": "scenario", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Scenario" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ApiTemplateRecordResponse" } } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "security": [ { "HTTPBearer": [] } ], "summary": "Get system prompt template", "tags": [ "Prompt Center" ] }, "patch": { "operationId": "api_prompt_center_update_prompt_api_v2_prompt_center_prompts__key__patch", "parameters": [ { "in": "path", "name": "key", "required": true, "schema": { "title": "Key", "type": "string" } }, { "in": "query", "name": "scenario", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Scenario" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PromptTemplatePatchRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ApiTemplateRecordResponse" } } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "security": [ { "HTTPBearer": [] } ], "summary": "Update system prompt template", "tags": [ "Prompt Center" ] } }, "/api/v2/prompt-center/prompts/{key}/archive": { "post": { "operationId": "api_prompt_center_archive_prompt_api_v2_prompt_center_prompts__key__archive_post", "parameters": [ { "in": "path", "name": "key", "required": true, "schema": { "title": "Key", "type": "string" } }, { "in": "query", "name": "scenario", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Scenario" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ApiTemplateRecordResponse" } } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "security": [ { "HTTPBearer": [] } ], "summary": "Archive system prompt template", "tags": [ "Prompt Center" ] } }, "/api/v2/prompt-center/prompts/{key}/purge": { "delete": { "operationId": "api_prompt_center_purge_prompt_api_v2_prompt_center_prompts__key__purge_delete", "parameters": [ { "in": "path", "name": "key", "required": true, "schema": { "title": "Key", "type": "string" } }, { "in": "query", "name": "scenario", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Scenario" } } ], "responses": { "200": { "content": { "application/json": { "schema": {} } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "security": [ { "HTTPBearer": [] } ], "summary": "Purge archived system prompt template", "tags": [ "Prompt Center" ] } }, "/api/v2/prompt-center/prompts/{key}/restore": { "post": { "operationId": "api_prompt_center_restore_prompt_api_v2_prompt_center_prompts__key__restore_post", "parameters": [ { "in": "path", "name": "key", "required": true, "schema": { "title": "Key", "type": "string" } }, { "in": "query", "name": "scenario", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Scenario" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ApiTemplateRecordResponse" } } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "security": [ { "HTTPBearer": [] } ], "summary": "Restore archived system prompt template", "tags": [ "Prompt Center" ] } }, "/api/v2/prompt-center/revisions": { "get": { "operationId": "prompt_persona_revisions_api_v2_prompt_center_revisions_get", "parameters": [ { "in": "query", "name": "agent_id", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Agent Id" } }, { "in": "query", "name": "field", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Field" } }, { "in": "query", "name": "limit", "required": false, "schema": { "default": 80, "title": "Limit", "type": "integer" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ApiPromptPersonaRevisionsResponse" } } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "security": [ { "HTTPBearer": [] } ], "summary": "Get prompt/persona revision history timeline", "tags": [ "Prompt Center" ] } }, "/api/v2/schema-center/label-schemas": { "get": { "operationId": "api_schema_center_list_label_schemas_api_v2_schema_center_label_schemas_get", "parameters": [ { "in": "query", "name": "include_archived", "required": false, "schema": { "default": false, "title": "Include Archived", "type": "boolean" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ApiLabelSchemaListResponse" } } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "security": [ { "HTTPBearer": [] } ], "summary": "List Label Lab JSON schemas", "tags": [ "Schema Center" ] }, "post": { "operationId": "api_schema_center_create_label_schema_api_v2_schema_center_label_schemas_post", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/LabelSchemaWriteRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ApiLabelSchemaRecordResponse" } } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "security": [ { "HTTPBearer": [] } ], "summary": "Create Label Lab JSON schema", "tags": [ "Schema Center" ] } }, "/api/v2/schema-center/label-schemas/{key}": { "get": { "operationId": "api_schema_center_get_label_schema_api_v2_schema_center_label_schemas__key__get", "parameters": [ { "in": "path", "name": "key", "required": true, "schema": { "title": "Key", "type": "string" } }, { "in": "query", "name": "archived", "required": false, "schema": { "default": false, "title": "Archived", "type": "boolean" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ApiLabelSchemaRecordResponse" } } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "security": [ { "HTTPBearer": [] } ], "summary": "Get Label Lab JSON schema", "tags": [ "Schema Center" ] }, "patch": { "operationId": "api_schema_center_update_label_schema_api_v2_schema_center_label_schemas__key__patch", "parameters": [ { "in": "path", "name": "key", "required": true, "schema": { "title": "Key", "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/LabelSchemaPatchRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ApiLabelSchemaRecordResponse" } } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "security": [ { "HTTPBearer": [] } ], "summary": "Update Label Lab JSON schema", "tags": [ "Schema Center" ] } }, "/api/v2/schema-center/label-schemas/{key}/archive": { "post": { "operationId": "api_schema_center_archive_label_schema_api_v2_schema_center_label_schemas__key__archive_post", "parameters": [ { "in": "path", "name": "key", "required": true, "schema": { "title": "Key", "type": "string" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ApiLabelSchemaRecordResponse" } } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "security": [ { "HTTPBearer": [] } ], "summary": "Archive Label Lab JSON schema", "tags": [ "Schema Center" ] } }, "/api/v2/schema-center/label-schemas/{key}/purge": { "delete": { "operationId": "api_schema_center_purge_label_schema_api_v2_schema_center_label_schemas__key__purge_delete", "parameters": [ { "in": "path", "name": "key", "required": true, "schema": { "title": "Key", "type": "string" } } ], "responses": { "200": { "content": { "application/json": { "schema": {} } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "security": [ { "HTTPBearer": [] } ], "summary": "Purge archived Label Lab JSON schema", "tags": [ "Schema Center" ] } }, "/api/v2/schema-center/label-schemas/{key}/restore": { "post": { "operationId": "api_schema_center_restore_label_schema_api_v2_schema_center_label_schemas__key__restore_post", "parameters": [ { "in": "path", "name": "key", "required": true, "schema": { "title": "Key", "type": "string" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ApiLabelSchemaRecordResponse" } } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "security": [ { "HTTPBearer": [] } ], "summary": "Restore archived Label Lab JSON schema", "tags": [ "Schema Center" ] } }, "/api/v2/test-center/options": { "get": { "operationId": "get_test_center_options_api_v2_test_center_options_get", "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TestCenterOptionsResponse" } } }, "description": "Successful Response" } }, "security": [ { "HTTPBearer": [] } ], "summary": "Get canonical Test Center launch options", "tags": [ "Test Center" ] } }, "/api/v2/test-center/runs": { "get": { "operationId": "list_test_runs_api_v2_test_center_runs_get", "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TestRunListResponse" } } }, "description": "Successful Response" } }, "security": [ { "HTTPBearer": [] } ], "summary": "List orchestrated test runs", "tags": [ "Test Center" ] }, "post": { "operationId": "create_test_run_api_v2_test_center_runs_post", "requestBody": { "content": { "application/json": { "schema": { "discriminator": { "mapping": { "ade_api_e2e_check": "#/components/schemas/CurrentStackSmokeRunRequest", "agent_runtime_acceptance": "#/components/schemas/AgentRuntimeAcceptanceRunRequest", "chat_memory_eval": "#/components/schemas/ChatMemoryEvaluationRunRequest" }, "propertyName": "run_type" }, "oneOf": [ { "$ref": "#/components/schemas/CurrentStackSmokeRunRequest" }, { "$ref": "#/components/schemas/ChatMemoryEvaluationRunRequest" }, { "$ref": "#/components/schemas/AgentRuntimeAcceptanceRunRequest" } ], "title": "Request" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TestRunRecordResponse" } } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "security": [ { "HTTPBearer": [] } ], "summary": "Create orchestrated test run", "tags": [ "Test Center" ] } }, "/api/v2/test-center/runs/{run_id}": { "get": { "operationId": "get_test_run_api_v2_test_center_runs__run_id__get", "parameters": [ { "in": "path", "name": "run_id", "required": true, "schema": { "title": "Run Id", "type": "string" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TestRunRecordResponse" } } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "security": [ { "HTTPBearer": [] } ], "summary": "Get orchestrated test run", "tags": [ "Test Center" ] } }, "/api/v2/test-center/runs/{run_id}/artifacts": { "get": { "operationId": "list_test_run_artifacts_api_v2_test_center_runs__run_id__artifacts_get", "parameters": [ { "in": "path", "name": "run_id", "required": true, "schema": { "title": "Run Id", "type": "string" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TestRunArtifactListResponse" } } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "security": [ { "HTTPBearer": [] } ], "summary": "List test run artifacts", "tags": [ "Test Center" ] } }, "/api/v2/test-center/runs/{run_id}/artifacts/{artifact_id}": { "get": { "operationId": "read_test_run_artifact_api_v2_test_center_runs__run_id__artifacts__artifact_id__get", "parameters": [ { "in": "path", "name": "run_id", "required": true, "schema": { "title": "Run Id", "type": "string" } }, { "in": "path", "name": "artifact_id", "required": true, "schema": { "title": "Artifact Id", "type": "string" } }, { "in": "query", "name": "max_lines", "required": false, "schema": { "default": 400, "title": "Max Lines", "type": "integer" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TestRunArtifactReadResponse" } } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "security": [ { "HTTPBearer": [] } ], "summary": "Read test run artifact content", "tags": [ "Test Center" ] } }, "/api/v2/test-center/runs/{run_id}/cancel": { "post": { "operationId": "cancel_test_run_api_v2_test_center_runs__run_id__cancel_post", "parameters": [ { "in": "path", "name": "run_id", "required": true, "schema": { "title": "Run Id", "type": "string" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TestRunRecordResponse" } } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "security": [ { "HTTPBearer": [] } ], "summary": "Cancel orchestrated test run", "tags": [ "Test Center" ] } }, "/api/v3/agent-studio/definitions": { "get": { "operationId": "list_definitions_api_v3_agent_studio_definitions_get", "parameters": [ { "in": "query", "name": "include_archived", "required": false, "schema": { "default": false, "title": "Include Archived", "type": "boolean" } }, { "in": "query", "name": "limit", "required": false, "schema": { "default": 100, "maximum": 200, "minimum": 1, "title": "Limit", "type": "integer" } }, { "in": "query", "name": "offset", "required": false, "schema": { "default": 0, "minimum": 0, "title": "Offset", "type": "integer" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AgentDefinitionListResponse" } } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "security": [ { "HTTPBearer": [] } ], "summary": "List current Agent Studio definition versions", "tags": [ "Agent Runtime" ] }, "post": { "operationId": "create_definition_api_v3_agent_studio_definitions_post", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CreateAgentDefinitionRequest" } } }, "required": true }, "responses": { "201": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AgentDefinitionResponse" } } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "security": [ { "HTTPBearer": [] } ], "summary": "Create the next immutable Agent Studio definition version", "tags": [ "Agent Runtime" ] } }, "/api/v3/agent-studio/definitions/{definition_id}": { "delete": { "operationId": "archive_definition_api_v3_agent_studio_definitions__definition_id__delete", "parameters": [ { "in": "path", "name": "definition_id", "required": true, "schema": { "title": "Definition Id", "type": "string" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AgentDefinitionResponse" } } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "security": [ { "HTTPBearer": [] } ], "summary": "Archive an Agent Studio definition", "tags": [ "Agent Runtime" ] } }, "/api/v3/agent-studio/definitions/{definition_id}/restore": { "post": { "operationId": "restore_definition_api_v3_agent_studio_definitions__definition_id__restore_post", "parameters": [ { "in": "path", "name": "definition_id", "required": true, "schema": { "title": "Definition Id", "type": "string" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AgentDefinitionResponse" } } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "security": [ { "HTTPBearer": [] } ], "summary": "Restore an Agent Studio definition", "tags": [ "Agent Runtime" ] } }, "/api/v3/agent-studio/options": { "get": { "operationId": "get_options_api_v3_agent_studio_options_get", "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AgentStudioOptionsResponse" } } }, "description": "Successful Response" } }, "security": [ { "HTTPBearer": [] } ], "summary": "List configured native Agent Studio bundles", "tags": [ "Agent Runtime" ] } }, "/api/v3/agent-studio/sessions": { "get": { "operationId": "list_sessions_api_v3_agent_studio_sessions_get", "parameters": [ { "in": "query", "name": "include_archived", "required": false, "schema": { "default": false, "title": "Include Archived", "type": "boolean" } }, { "in": "query", "name": "limit", "required": false, "schema": { "default": 100, "maximum": 200, "minimum": 1, "title": "Limit", "type": "integer" } }, { "in": "query", "name": "offset", "required": false, "schema": { "default": 0, "minimum": 0, "title": "Offset", "type": "integer" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AgentStudioSessionListResponse" } } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "security": [ { "HTTPBearer": [] } ], "summary": "List persisted Agent Studio conversations", "tags": [ "Agent Runtime" ] }, "post": { "operationId": "create_session_api_v3_agent_studio_sessions_post", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CreateAgentStudioSessionRequest" } } }, "required": true }, "responses": { "201": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AgentStudioSessionResponse" } } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "security": [ { "HTTPBearer": [] } ], "summary": "Create an atomic Agent Studio conversation", "tags": [ "Agent Runtime" ] } }, "/api/v3/agent-studio/sessions/{conversation_id}": { "delete": { "operationId": "archive_session_api_v3_agent_studio_sessions__conversation_id__delete", "parameters": [ { "in": "path", "name": "conversation_id", "required": true, "schema": { "title": "Conversation Id", "type": "string" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AgentStudioSessionResponse" } } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "security": [ { "HTTPBearer": [] } ], "summary": "Archive an Agent Studio conversation", "tags": [ "Agent Runtime" ] }, "get": { "operationId": "get_session_api_v3_agent_studio_sessions__conversation_id__get", "parameters": [ { "in": "path", "name": "conversation_id", "required": true, "schema": { "title": "Conversation Id", "type": "string" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AgentStudioSessionResponse" } } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "security": [ { "HTTPBearer": [] } ], "summary": "Get an Agent Studio conversation binding", "tags": [ "Agent Runtime" ] } }, "/api/v3/agent-studio/sessions/{conversation_id}/restore": { "post": { "operationId": "restore_session_api_v3_agent_studio_sessions__conversation_id__restore_post", "parameters": [ { "in": "path", "name": "conversation_id", "required": true, "schema": { "title": "Conversation Id", "type": "string" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AgentStudioSessionResponse" } } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "security": [ { "HTTPBearer": [] } ], "summary": "Restore an Agent Studio conversation", "tags": [ "Agent Runtime" ] } }, "/api/v3/agent-studio/sessions/{conversation_id}/state": { "get": { "operationId": "get_session_state_api_v3_agent_studio_sessions__conversation_id__state_get", "parameters": [ { "in": "path", "name": "conversation_id", "required": true, "schema": { "title": "Conversation Id", "type": "string" } }, { "in": "query", "name": "message_limit", "required": false, "schema": { "default": 200, "maximum": 200, "minimum": 1, "title": "Message Limit", "type": "integer" } }, { "in": "query", "name": "before_sequence", "required": false, "schema": { "anyOf": [ { "minimum": 1, "type": "integer" }, { "type": "null" } ], "title": "Before Sequence" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ConversationStateResponse" } } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "security": [ { "HTTPBearer": [] } ], "summary": "Inspect paginated Agent Studio conversation state", "tags": [ "Agent Runtime" ] } }, "/api/v3/agent-studio/subjects": { "get": { "operationId": "list_subjects_api_v3_agent_studio_subjects_get", "parameters": [ { "in": "query", "name": "include_archived", "required": false, "schema": { "default": false, "title": "Include Archived", "type": "boolean" } }, { "in": "query", "name": "limit", "required": false, "schema": { "default": 100, "maximum": 200, "minimum": 1, "title": "Limit", "type": "integer" } }, { "in": "query", "name": "offset", "required": false, "schema": { "default": 0, "minimum": 0, "title": "Offset", "type": "integer" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/MemorySubjectListResponse" } } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "security": [ { "HTTPBearer": [] } ], "summary": "List Agent Studio memory subjects", "tags": [ "Agent Runtime" ] }, "post": { "operationId": "create_subject_api_v3_agent_studio_subjects_post", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CreateMemorySubjectRequest" } } }, "required": true }, "responses": { "201": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/MemorySubjectResponse" } } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "security": [ { "HTTPBearer": [] } ], "summary": "Create an Agent Studio memory subject", "tags": [ "Agent Runtime" ] } }, "/api/v3/agent-studio/subjects/{subject_id}": { "delete": { "operationId": "archive_subject_api_v3_agent_studio_subjects__subject_id__delete", "parameters": [ { "in": "path", "name": "subject_id", "required": true, "schema": { "title": "Subject Id", "type": "string" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/MemorySubjectResponse" } } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "security": [ { "HTTPBearer": [] } ], "summary": "Archive an Agent Studio memory subject", "tags": [ "Agent Runtime" ] }, "patch": { "operationId": "update_subject_api_v3_agent_studio_subjects__subject_id__patch", "parameters": [ { "in": "path", "name": "subject_id", "required": true, "schema": { "title": "Subject Id", "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UpdateMemorySubjectRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/MemorySubjectResponse" } } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "security": [ { "HTTPBearer": [] } ], "summary": "Rename an Agent Studio memory subject", "tags": [ "Agent Runtime" ] } }, "/api/v3/agent-studio/subjects/{subject_id}/restore": { "post": { "operationId": "restore_subject_api_v3_agent_studio_subjects__subject_id__restore_post", "parameters": [ { "in": "path", "name": "subject_id", "required": true, "schema": { "title": "Subject Id", "type": "string" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/MemorySubjectResponse" } } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "security": [ { "HTTPBearer": [] } ], "summary": "Restore an Agent Studio memory subject", "tags": [ "Agent Runtime" ] } }, "/api/v3/conversations/{conversation_id}/activity": { "get": { "operationId": "list_conversation_activity_api_v3_conversations__conversation_id__activity_get", "parameters": [ { "in": "path", "name": "conversation_id", "required": true, "schema": { "title": "Conversation Id", "type": "string" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ConversationActivityResponse" } } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "security": [ { "HTTPBearer": [] } ], "summary": "Read retained per-turn provider, tool and context observations", "tags": [ "Agent Runtime" ] } }, "/api/v3/conversations/{conversation_id}/runs": { "get": { "operationId": "list_runs_api_v3_conversations__conversation_id__runs_get", "parameters": [ { "in": "path", "name": "conversation_id", "required": true, "schema": { "title": "Conversation Id", "type": "string" } }, { "in": "query", "name": "limit", "required": false, "schema": { "default": 100, "maximum": 200, "minimum": 1, "title": "Limit", "type": "integer" } }, { "in": "query", "name": "offset", "required": false, "schema": { "default": 0, "minimum": 0, "title": "Offset", "type": "integer" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RunListResponse" } } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "security": [ { "HTTPBearer": [] } ], "summary": "List agent runtime runs for one conversation", "tags": [ "Agent Runtime" ] } }, "/api/v3/conversations/{conversation_id}/turns": { "post": { "operationId": "accept_turn_api_v3_conversations__conversation_id__turns_post", "parameters": [ { "in": "path", "name": "conversation_id", "required": true, "schema": { "title": "Conversation Id", "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AcceptTurnRequest" } } }, "required": true }, "responses": { "202": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TurnAcceptedResponse" } } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "security": [ { "HTTPBearer": [] } ], "summary": "Accept an asynchronous conversation turn", "tags": [ "Agent Runtime" ] } }, "/api/v3/evaluation-sessions": { "post": { "operationId": "create_evaluation_session_api_v3_evaluation_sessions_post", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CreateEvaluationSessionRequest" } } }, "required": true }, "responses": { "201": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/EvaluationSessionResponse" } } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "security": [ { "HTTPBearer": [] } ], "summary": "Atomically provision an isolated evaluation session", "tags": [ "Agent Runtime" ] } }, "/api/v3/evaluation-sessions/{conversation_id}/state": { "get": { "operationId": "get_evaluation_session_state_api_v3_evaluation_sessions__conversation_id__state_get", "parameters": [ { "in": "path", "name": "conversation_id", "required": true, "schema": { "title": "Conversation Id", "type": "string" } }, { "in": "query", "name": "message_limit", "required": false, "schema": { "default": 200, "maximum": 200, "minimum": 1, "title": "Message Limit", "type": "integer" } }, { "in": "query", "name": "before_sequence", "required": false, "schema": { "anyOf": [ { "minimum": 1, "type": "integer" }, { "type": "null" } ], "title": "Before Sequence" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/EvaluationSessionStateResponse" } } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "security": [ { "HTTPBearer": [] } ], "summary": "Inspect saved evaluation conversation and latest run independently of Memory", "tags": [ "Agent Runtime" ] } }, "/api/v3/memory/subjects/{subject_id}/characters/{character_root_id}/deliveries": { "get": { "operationId": "list_deliveries_api_v3_memory_subjects__subject_id__characters__character_root_id__deliveries_get", "parameters": [ { "in": "path", "name": "subject_id", "required": true, "schema": { "format": "uuid", "title": "Subject Id", "type": "string" } }, { "in": "path", "name": "character_root_id", "required": true, "schema": { "format": "uuid", "title": "Character Root Id", "type": "string" } }, { "in": "query", "name": "limit", "required": false, "schema": { "default": 100, "maximum": 200, "minimum": 1, "title": "Limit", "type": "integer" } }, { "in": "query", "name": "offset", "required": false, "schema": { "default": 0, "minimum": 0, "title": "Offset", "type": "integer" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DeliveryListResponse" } } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "security": [ { "HTTPBearer": [] } ], "summary": "Inspect relationship delivery state independently of Memory availability", "tags": [ "Agent Runtime" ] } }, "/api/v3/memory/subjects/{subject_id}/characters/{character_root_id}/deliveries/{operation_id}/retry": { "post": { "operationId": "retry_delivery_api_v3_memory_subjects__subject_id__characters__character_root_id__deliveries__operation_id__retry_post", "parameters": [ { "in": "path", "name": "subject_id", "required": true, "schema": { "format": "uuid", "title": "Subject Id", "type": "string" } }, { "in": "path", "name": "character_root_id", "required": true, "schema": { "format": "uuid", "title": "Character Root Id", "type": "string" } }, { "in": "path", "name": "operation_id", "required": true, "schema": { "format": "uuid", "title": "Operation Id", "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DeliveryRetryRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DeliveryResponse" } } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "security": [ { "HTTPBearer": [] } ], "summary": "Retry an immutable delivery within the selected relationship", "tags": [ "Agent Runtime" ] } }, "/api/v3/memory/subjects/{subject_id}/characters/{character_root_id}/memories": { "get": { "operationId": "list_memories_api_v3_memory_subjects__subject_id__characters__character_root_id__memories_get", "parameters": [ { "in": "path", "name": "subject_id", "required": true, "schema": { "format": "uuid", "title": "Subject Id", "type": "string" } }, { "in": "path", "name": "character_root_id", "required": true, "schema": { "format": "uuid", "title": "Character Root Id", "type": "string" } }, { "in": "query", "name": "limit", "required": false, "schema": { "default": 100, "maximum": 200, "minimum": 1, "title": "Limit", "type": "integer" } }, { "in": "query", "name": "offset", "required": false, "schema": { "default": 0, "minimum": 0, "title": "Offset", "type": "integer" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RelationshipMemoriesResponse" } } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "security": [ { "HTTPBearer": [] } ], "summary": "List learned memories for one person and character", "tags": [ "Agent Runtime" ] } }, "/api/v3/memory/subjects/{subject_id}/characters/{character_root_id}/operations": { "get": { "operationId": "list_operations_api_v3_memory_subjects__subject_id__characters__character_root_id__operations_get", "parameters": [ { "in": "path", "name": "subject_id", "required": true, "schema": { "format": "uuid", "title": "Subject Id", "type": "string" } }, { "in": "path", "name": "character_root_id", "required": true, "schema": { "format": "uuid", "title": "Character Root Id", "type": "string" } }, { "in": "query", "name": "limit", "required": false, "schema": { "default": 100, "maximum": 100, "minimum": 1, "title": "Limit", "type": "integer" } }, { "in": "query", "name": "offset", "required": false, "schema": { "default": 0, "minimum": 0, "title": "Offset", "type": "integer" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/NativeOperationsResponse" } } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "security": [ { "HTTPBearer": [] } ], "summary": "List native processing and consolidation for one relationship", "tags": [ "Agent Runtime" ] } }, "/api/v3/memory/subjects/{subject_id}/characters/{character_root_id}/operations/{operation_id}": { "get": { "operationId": "get_operation_api_v3_memory_subjects__subject_id__characters__character_root_id__operations__operation_id__get", "parameters": [ { "in": "path", "name": "subject_id", "required": true, "schema": { "format": "uuid", "title": "Subject Id", "type": "string" } }, { "in": "path", "name": "character_root_id", "required": true, "schema": { "format": "uuid", "title": "Character Root Id", "type": "string" } }, { "in": "path", "name": "operation_id", "required": true, "schema": { "format": "uuid", "title": "Operation Id", "type": "string" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/NativeOperationResponse" } } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "security": [ { "HTTPBearer": [] } ], "summary": "Inspect a native operation within the selected relationship", "tags": [ "Agent Runtime" ] } }, "/api/v3/memory/subjects/{subject_id}/characters/{character_root_id}/sources/{document_id}": { "get": { "operationId": "get_source_api_v3_memory_subjects__subject_id__characters__character_root_id__sources__document_id__get", "parameters": [ { "in": "path", "name": "subject_id", "required": true, "schema": { "format": "uuid", "title": "Subject Id", "type": "string" } }, { "in": "path", "name": "character_root_id", "required": true, "schema": { "format": "uuid", "title": "Character Root Id", "type": "string" } }, { "in": "path", "name": "document_id", "required": true, "schema": { "title": "Document Id", "type": "string" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SourceResponse" } } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "security": [ { "HTTPBearer": [] } ], "summary": "Inspect an original source within the selected relationship", "tags": [ "Agent Runtime" ] } }, "/api/v3/private-observations/runs/{run_id}": { "get": { "operationId": "read_run_observations_api_v3_private_observations_runs__run_id__get", "parameters": [ { "in": "path", "name": "run_id", "required": true, "schema": { "format": "uuid", "title": "Run Id", "type": "string" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PrivateObservationResponse" } } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "security": [ { "HTTPBearer": [] } ], "summary": "Export opt-in development-workspace observations for one saved run", "tags": [ "Agent Runtime" ] } }, "/api/v3/runs/{run_id}": { "get": { "operationId": "get_run_api_v3_runs__run_id__get", "parameters": [ { "in": "path", "name": "run_id", "required": true, "schema": { "title": "Run Id", "type": "string" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RunResponse" } } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "security": [ { "HTTPBearer": [] } ], "summary": "Get an agent runtime run", "tags": [ "Agent Runtime" ] } }, "/api/v3/runs/{run_id}/cancel": { "post": { "operationId": "cancel_run_api_v3_runs__run_id__cancel_post", "parameters": [ { "in": "path", "name": "run_id", "required": true, "schema": { "title": "Run Id", "type": "string" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RunResponse" } } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "security": [ { "HTTPBearer": [] } ], "summary": "Cancel an agent runtime run", "tags": [ "Agent Runtime" ] } }, "/api/v3/runs/{run_id}/event-log": { "get": { "operationId": "list_run_events_api_v3_runs__run_id__event_log_get", "parameters": [ { "in": "path", "name": "run_id", "required": true, "schema": { "title": "Run Id", "type": "string" } }, { "in": "query", "name": "limit", "required": false, "schema": { "default": 200, "maximum": 500, "minimum": 1, "title": "Limit", "type": "integer" } }, { "in": "query", "name": "after_sequence", "required": false, "schema": { "default": 0, "minimum": 0, "title": "After Sequence", "type": "integer" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RunEventListResponse" } } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "security": [ { "HTTPBearer": [] } ], "summary": "Read normalized agent runtime events as JSON", "tags": [ "Agent Runtime" ] } }, "/api/v3/runs/{run_id}/events": { "get": { "operationId": "stream_run_events_api_v3_runs__run_id__events_get", "parameters": [ { "in": "path", "name": "run_id", "required": true, "schema": { "title": "Run Id", "type": "string" } }, { "in": "header", "name": "Last-Event-ID", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Last-Event-Id" } } ], "responses": { "200": { "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "security": [ { "HTTPBearer": [] } ], "summary": "Stream normalized agent runtime events", "tags": [ "Agent Runtime" ] } }, "/api/v3/runs/{run_id}/retry": { "post": { "operationId": "retry_run_api_v3_runs__run_id__retry_post", "parameters": [ { "in": "path", "name": "run_id", "required": true, "schema": { "title": "Run Id", "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RetryRunRequest" } } }, "required": true }, "responses": { "202": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TurnAcceptedResponse" } } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "security": [ { "HTTPBearer": [] } ], "summary": "Retry a paused reply using its saved input and fresh memory lookup", "tags": [ "Agent Runtime" ] } }, "/api/v3/worker-health": { "get": { "operationId": "get_worker_health_api_v3_worker_health_get", "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RuntimeWorkerHealthResponse" } } }, "description": "Successful Response" }, "503": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RuntimeWorkerHealthResponse" } } }, "description": "Database or matching runtime worker is not ready" } }, "security": [ { "HTTPBearer": [] } ], "summary": "Check agent runtime worker readiness", "tags": [ "Agent Runtime" ] } } }, "servers": [ { "description": "Local ADE API", "url": "http://127.0.0.1:8000" } ], "tags": [ { "description": "Persistent-agent creation, inspection, and chat operations.", "name": "Agent Studio" }, { "description": "Stateless comment generation using router-visible models.", "name": "Comment Lab" }, { "description": "Stateless grouped entity extraction using Label Lab schemas.", "name": "Label Lab" }, { "description": "Prompt template and SQLite-backed persona library management.", "name": "Prompt Center" }, { "description": "File-backed Label Lab JSON schema management.", "name": "Schema Center" }, { "description": "Orchestrated live checks and test-run artifact access.", "name": "Test Center" }, { "description": "Router-backed model catalog and scenario runtime options.", "name": "Model Catalog" }, { "description": "ADE-owned Agent Studio runtime APIs.", "name": "Agent Runtime" } ] }