diff --git a/autogpt_platform/backend/backend/api/features/chat/service.py b/autogpt_platform/backend/backend/api/features/chat/service.py index cb5591e6d0..02d20f33dd 100644 --- a/autogpt_platform/backend/backend/api/features/chat/service.py +++ b/autogpt_platform/backend/backend/api/features/chat/service.py @@ -120,6 +120,8 @@ Adapt flexibly to the conversation context. Not every interaction requires all s - Find reusable components with `find_block` - Create custom solutions with `create_agent` if nothing suitable exists - Modify existing library agents with `edit_agent` + - **When `create_agent` returns `suggested_goal`**: Present the suggestion to the user and ask "Would you like me to proceed with this refined goal?" If they accept, call `create_agent` again with the suggested goal. + - **When `create_agent` returns `clarifying_questions`**: After the user answers, call `create_agent` again with the original description AND the answers in the `context` parameter. 5. **Execute**: Run automations immediately, schedule them, or set up webhooks using `run_agent`. Test specific components with `run_block`. @@ -166,6 +168,11 @@ Adapt flexibly to the conversation context. Not every interaction requires all s - Use `add_understanding` to capture valuable business context - When tool calls fail, try alternative approaches +**Handle Feedback Loops:** +- When a tool returns a suggested alternative (like a refined goal), present it clearly and ask the user for confirmation before proceeding +- When clarifying questions are answered, immediately re-call the tool with the accumulated context +- Don't ask redundant questions if the user has already provided context in the conversation + ## CRITICAL REMINDER You are NOT a chatbot. You are NOT documentation. You are a partner who helps busy business owners get value quickly by showing proof through working automations. Bias toward action over explanation.""" diff --git a/autogpt_platform/backend/backend/api/features/chat/tools/create_agent.py b/autogpt_platform/backend/backend/api/features/chat/tools/create_agent.py index 7333851a5b..3aebaffc87 100644 --- a/autogpt_platform/backend/backend/api/features/chat/tools/create_agent.py +++ b/autogpt_platform/backend/backend/api/features/chat/tools/create_agent.py @@ -22,6 +22,7 @@ from .models import ( ClarificationNeededResponse, ClarifyingQuestion, ErrorResponse, + SuggestedGoalResponse, ToolResponseBase, ) @@ -186,26 +187,25 @@ class CreateAgentTool(BaseTool): if decomposition_result.get("type") == "unachievable_goal": suggested = decomposition_result.get("suggested_goal", "") reason = decomposition_result.get("reason", "") - return ErrorResponse( + return SuggestedGoalResponse( message=( - f"This goal cannot be accomplished with the available blocks. " - f"{reason} " - f"Suggestion: {suggested}" + f"This goal cannot be accomplished with the available blocks. {reason}" ), - error="unachievable_goal", - details={"suggested_goal": suggested, "reason": reason}, + suggested_goal=suggested, + reason=reason, + original_goal=description, + goal_type="unachievable", session_id=session_id, ) if decomposition_result.get("type") == "vague_goal": suggested = decomposition_result.get("suggested_goal", "") - return ErrorResponse( - message=( - f"The goal is too vague to create a specific workflow. " - f"Suggestion: {suggested}" - ), - error="vague_goal", - details={"suggested_goal": suggested}, + return SuggestedGoalResponse( + message="The goal is too vague to create a specific workflow.", + suggested_goal=suggested, + reason="The goal needs more specific details", + original_goal=description, + goal_type="vague", session_id=session_id, ) diff --git a/autogpt_platform/backend/backend/api/features/chat/tools/create_agent_test.py b/autogpt_platform/backend/backend/api/features/chat/tools/create_agent_test.py new file mode 100644 index 0000000000..eb3cd816d5 --- /dev/null +++ b/autogpt_platform/backend/backend/api/features/chat/tools/create_agent_test.py @@ -0,0 +1,142 @@ +"""Tests for CreateAgentTool response types.""" + +from unittest.mock import AsyncMock, patch + +import pytest + +from backend.api.features.chat.tools.create_agent import CreateAgentTool +from backend.api.features.chat.tools.models import ( + ClarificationNeededResponse, + ErrorResponse, + SuggestedGoalResponse, +) + +from ._test_data import make_session + +_TEST_USER_ID = "test-user-create-agent" + + +@pytest.fixture +def tool(): + return CreateAgentTool() + + +@pytest.fixture +def session(): + return make_session(_TEST_USER_ID) + + +@pytest.mark.asyncio +async def test_missing_description_returns_error(tool, session): + """Missing description returns ErrorResponse.""" + result = await tool._execute(user_id=_TEST_USER_ID, session=session, description="") + assert isinstance(result, ErrorResponse) + assert result.error == "Missing description parameter" + + +@pytest.mark.asyncio +async def test_vague_goal_returns_suggested_goal_response(tool, session): + """vague_goal decomposition result returns SuggestedGoalResponse, not ErrorResponse.""" + vague_result = { + "type": "vague_goal", + "suggested_goal": "Monitor Twitter mentions for a specific keyword and send a daily digest email", + } + + with ( + patch( + "backend.api.features.chat.tools.create_agent.get_all_relevant_agents_for_generation", + new_callable=AsyncMock, + return_value=[], + ), + patch( + "backend.api.features.chat.tools.create_agent.decompose_goal", + new_callable=AsyncMock, + return_value=vague_result, + ), + ): + result = await tool._execute( + user_id=_TEST_USER_ID, + session=session, + description="monitor social media", + ) + + assert isinstance(result, SuggestedGoalResponse) + assert result.goal_type == "vague" + assert result.suggested_goal == vague_result["suggested_goal"] + assert result.original_goal == "monitor social media" + assert result.reason == "The goal needs more specific details" + assert not isinstance(result, ErrorResponse) + + +@pytest.mark.asyncio +async def test_unachievable_goal_returns_suggested_goal_response(tool, session): + """unachievable_goal decomposition result returns SuggestedGoalResponse, not ErrorResponse.""" + unachievable_result = { + "type": "unachievable_goal", + "suggested_goal": "Summarize the latest news articles on a topic and send them by email", + "reason": "There are no blocks for mind-reading.", + } + + with ( + patch( + "backend.api.features.chat.tools.create_agent.get_all_relevant_agents_for_generation", + new_callable=AsyncMock, + return_value=[], + ), + patch( + "backend.api.features.chat.tools.create_agent.decompose_goal", + new_callable=AsyncMock, + return_value=unachievable_result, + ), + ): + result = await tool._execute( + user_id=_TEST_USER_ID, + session=session, + description="read my mind", + ) + + assert isinstance(result, SuggestedGoalResponse) + assert result.goal_type == "unachievable" + assert result.suggested_goal == unachievable_result["suggested_goal"] + assert result.original_goal == "read my mind" + assert result.reason == unachievable_result["reason"] + assert not isinstance(result, ErrorResponse) + + +@pytest.mark.asyncio +async def test_clarifying_questions_returns_clarification_needed_response( + tool, session +): + """clarifying_questions decomposition result returns ClarificationNeededResponse.""" + clarifying_result = { + "type": "clarifying_questions", + "questions": [ + { + "question": "What platform should be monitored?", + "keyword": "platform", + "example": "Twitter, Reddit", + } + ], + } + + with ( + patch( + "backend.api.features.chat.tools.create_agent.get_all_relevant_agents_for_generation", + new_callable=AsyncMock, + return_value=[], + ), + patch( + "backend.api.features.chat.tools.create_agent.decompose_goal", + new_callable=AsyncMock, + return_value=clarifying_result, + ), + ): + result = await tool._execute( + user_id=_TEST_USER_ID, + session=session, + description="monitor social media and alert me", + ) + + assert isinstance(result, ClarificationNeededResponse) + assert len(result.questions) == 1 + assert result.questions[0].keyword == "platform" diff --git a/autogpt_platform/backend/backend/api/features/chat/tools/models.py b/autogpt_platform/backend/backend/api/features/chat/tools/models.py index b32f6ca2ce..bd6716daa4 100644 --- a/autogpt_platform/backend/backend/api/features/chat/tools/models.py +++ b/autogpt_platform/backend/backend/api/features/chat/tools/models.py @@ -50,6 +50,8 @@ class ResponseType(str, Enum): # Feature request types FEATURE_REQUEST_SEARCH = "feature_request_search" FEATURE_REQUEST_CREATED = "feature_request_created" + # Goal refinement + SUGGESTED_GOAL = "suggested_goal" # Base response model @@ -296,6 +298,22 @@ class ClarificationNeededResponse(ToolResponseBase): questions: list[ClarifyingQuestion] = Field(default_factory=list) +class SuggestedGoalResponse(ToolResponseBase): + """Response when the goal needs refinement with a suggested alternative.""" + + type: ResponseType = ResponseType.SUGGESTED_GOAL + suggested_goal: str = Field(description="The suggested alternative goal") + reason: str = Field( + default="", description="Why the original goal needs refinement" + ) + original_goal: str = Field( + default="", description="The user's original goal for context" + ) + goal_type: str = Field( + default="vague", description="Type: 'vague' or 'unachievable'" + ) + + # Documentation search models class DocSearchResult(BaseModel): """A single documentation search result.""" diff --git a/autogpt_platform/frontend/src/app/(platform)/copilot/tools/CreateAgent/CreateAgent.tsx b/autogpt_platform/frontend/src/app/(platform)/copilot/tools/CreateAgent/CreateAgent.tsx index 26977a207a..60d36ffaa7 100644 --- a/autogpt_platform/frontend/src/app/(platform)/copilot/tools/CreateAgent/CreateAgent.tsx +++ b/autogpt_platform/frontend/src/app/(platform)/copilot/tools/CreateAgent/CreateAgent.tsx @@ -25,6 +25,7 @@ import { ClarifyingQuestion, } from "./components/ClarificationQuestionsCard"; import { MiniGame } from "./components/MiniGame/MiniGame"; +import { SuggestedGoalCard } from "./components/SuggestedGoalCard"; import { AccordionIcon, formatMaybeJson, @@ -37,6 +38,7 @@ import { isOperationInProgressOutput, isOperationPendingOutput, isOperationStartedOutput, + isSuggestedGoalOutput, ToolIcon, truncateText, type CreateAgentToolOutput, @@ -76,6 +78,13 @@ function getAccordionMeta(output: CreateAgentToolOutput) { expanded: true, }; } + if (isSuggestedGoalOutput(output)) { + return { + icon, + title: "Goal needs refinement", + expanded: true, + }; + } if ( isOperationStartedOutput(output) || isOperationPendingOutput(output) || @@ -123,8 +132,13 @@ export function CreateAgentTool({ part }: Props) { isAgentPreviewOutput(output) || isAgentSavedOutput(output) || isClarificationNeededOutput(output) || + isSuggestedGoalOutput(output) || isErrorOutput(output)); + function handleUseSuggestedGoal(goal: string) { + onSend(`Please create an agent with this goal: ${goal}`); + } + function handleClarificationAnswers(answers: Record) { const questions = output && isClarificationNeededOutput(output) @@ -239,6 +253,15 @@ export function CreateAgentTool({ part }: Props) { /> )} + {isSuggestedGoalOutput(output) && ( + + )} + {isErrorOutput(output) && ( {output.message} @@ -252,6 +275,22 @@ export function CreateAgentTool({ part }: Props) { {formatMaybeJson(output.details)} )} +
+ + +
)} diff --git a/autogpt_platform/frontend/src/app/(platform)/copilot/tools/CreateAgent/components/SuggestedGoalCard.tsx b/autogpt_platform/frontend/src/app/(platform)/copilot/tools/CreateAgent/components/SuggestedGoalCard.tsx new file mode 100644 index 0000000000..6e1400c301 --- /dev/null +++ b/autogpt_platform/frontend/src/app/(platform)/copilot/tools/CreateAgent/components/SuggestedGoalCard.tsx @@ -0,0 +1,61 @@ +"use client"; + +import { Button } from "@/components/atoms/Button/Button"; +import { Text } from "@/components/atoms/Text/Text"; +import { ArrowRightIcon, LightbulbIcon } from "@phosphor-icons/react"; + +interface Props { + message: string; + suggestedGoal: string; + goalType: string; + onUseSuggestedGoal: (goal: string) => void; +} + +export function SuggestedGoalCard({ + message, + suggestedGoal, + goalType, + onUseSuggestedGoal, +}: Props) { + return ( +
+
+ +
+
+ + {goalType === "unachievable" + ? "Goal cannot be accomplished" + : "Goal needs more detail"} + + + {message} + +
+ +
+ + Suggested alternative: + + + {suggestedGoal} + +
+ + +
+
+
+ ); +} diff --git a/autogpt_platform/frontend/src/app/(platform)/copilot/tools/CreateAgent/helpers.tsx b/autogpt_platform/frontend/src/app/(platform)/copilot/tools/CreateAgent/helpers.tsx index bd47eac051..2dabb5a8ae 100644 --- a/autogpt_platform/frontend/src/app/(platform)/copilot/tools/CreateAgent/helpers.tsx +++ b/autogpt_platform/frontend/src/app/(platform)/copilot/tools/CreateAgent/helpers.tsx @@ -6,6 +6,7 @@ import type { OperationInProgressResponse } from "@/app/api/__generated__/models import type { OperationPendingResponse } from "@/app/api/__generated__/models/operationPendingResponse"; import type { OperationStartedResponse } from "@/app/api/__generated__/models/operationStartedResponse"; import { ResponseType } from "@/app/api/__generated__/models/responseType"; +import type { SuggestedGoalResponse } from "@/app/api/__generated__/models/suggestedGoalResponse"; import { PlusCircleIcon, PlusIcon, @@ -21,6 +22,7 @@ export type CreateAgentToolOutput = | AgentPreviewResponse | AgentSavedResponse | ClarificationNeededResponse + | SuggestedGoalResponse | ErrorResponse; function parseOutput(output: unknown): CreateAgentToolOutput | null { @@ -43,6 +45,7 @@ function parseOutput(output: unknown): CreateAgentToolOutput | null { type === ResponseType.agent_preview || type === ResponseType.agent_saved || type === ResponseType.clarification_needed || + type === ResponseType.suggested_goal || type === ResponseType.error ) { return output as CreateAgentToolOutput; @@ -55,6 +58,7 @@ function parseOutput(output: unknown): CreateAgentToolOutput | null { if ("agent_id" in output && "library_agent_id" in output) return output as AgentSavedResponse; if ("questions" in output) return output as ClarificationNeededResponse; + if ("suggested_goal" in output) return output as SuggestedGoalResponse; if ("error" in output || "details" in output) return output as ErrorResponse; } @@ -114,6 +118,14 @@ export function isClarificationNeededOutput( ); } +export function isSuggestedGoalOutput( + output: CreateAgentToolOutput, +): output is SuggestedGoalResponse { + return ( + output.type === ResponseType.suggested_goal || "suggested_goal" in output + ); +} + export function isErrorOutput( output: CreateAgentToolOutput, ): output is ErrorResponse { @@ -139,6 +151,7 @@ export function getAnimationText(part: { if (isAgentSavedOutput(output)) return `Saved "${output.agent_name}"`; if (isAgentPreviewOutput(output)) return `Preview "${output.agent_name}"`; if (isClarificationNeededOutput(output)) return "Needs clarification"; + if (isSuggestedGoalOutput(output)) return "Goal needs refinement"; return "Error creating agent"; } case "output-error": diff --git a/autogpt_platform/frontend/src/app/api/openapi.json b/autogpt_platform/frontend/src/app/api/openapi.json index 63a8a856b9..6ba64975b9 100644 --- a/autogpt_platform/frontend/src/app/api/openapi.json +++ b/autogpt_platform/frontend/src/app/api/openapi.json @@ -25,7 +25,11 @@ "responses": { "200": { "description": "Successful Response", - "content": { "application/json": { "schema": {} } } + "content": { + "application/json": { + "schema": {} + } + } }, "401": { "$ref": "#/components/responses/HTTP401NotAuthenticatedError" @@ -34,12 +38,18 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] } }, "/api/analytics/log_raw_metric": { @@ -50,7 +60,9 @@ "requestBody": { "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/LogRawMetricRequest" } + "schema": { + "$ref": "#/components/schemas/LogRawMetricRequest" + } } }, "required": true @@ -58,7 +70,11 @@ "responses": { "200": { "description": "Successful Response", - "content": { "application/json": { "schema": {} } } + "content": { + "application/json": { + "schema": {} + } + } }, "401": { "$ref": "#/components/responses/HTTP401NotAuthenticatedError" @@ -67,12 +83,18 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] } }, "/api/api-keys": { @@ -87,7 +109,9 @@ "content": { "application/json": { "schema": { - "items": { "$ref": "#/components/schemas/APIKeyInfo" }, + "items": { + "$ref": "#/components/schemas/APIKeyInfo" + }, "type": "array", "title": "Response Getv1List User Api Keys" } @@ -98,7 +122,11 @@ "$ref": "#/components/responses/HTTP401NotAuthenticatedError" } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] }, "post": { "tags": ["v1", "api-keys"], @@ -108,7 +136,9 @@ "requestBody": { "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/CreateAPIKeyRequest" } + "schema": { + "$ref": "#/components/schemas/CreateAPIKeyRequest" + } } }, "required": true @@ -131,12 +161,18 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] } }, "/api/api-keys/{key_id}": { @@ -145,13 +181,20 @@ "summary": "Revoke API key", "description": "Revoke an API key", "operationId": "deleteV1Revoke api key", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "key_id", "in": "path", "required": true, - "schema": { "type": "string", "title": "Key Id" } + "schema": { + "type": "string", + "title": "Key Id" + } } ], "responses": { @@ -159,7 +202,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/APIKeyInfo" } + "schema": { + "$ref": "#/components/schemas/APIKeyInfo" + } } } }, @@ -170,7 +215,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -181,13 +228,20 @@ "summary": "Get specific API key", "description": "Get a specific API key", "operationId": "getV1Get specific api key", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "key_id", "in": "path", "required": true, - "schema": { "type": "string", "title": "Key Id" } + "schema": { + "type": "string", + "title": "Key Id" + } } ], "responses": { @@ -195,7 +249,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/APIKeyInfo" } + "schema": { + "$ref": "#/components/schemas/APIKeyInfo" + } } } }, @@ -206,7 +262,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -219,13 +277,20 @@ "summary": "Update key permissions", "description": "Update API key permissions", "operationId": "putV1Update key permissions", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "key_id", "in": "path", "required": true, - "schema": { "type": "string", "title": "Key Id" } + "schema": { + "type": "string", + "title": "Key Id" + } } ], "requestBody": { @@ -243,7 +308,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/APIKeyInfo" } + "schema": { + "$ref": "#/components/schemas/APIKeyInfo" + } } } }, @@ -254,7 +321,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -267,13 +336,20 @@ "summary": "Suspend API key", "description": "Suspend an API key", "operationId": "postV1Suspend api key", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "key_id", "in": "path", "required": true, - "schema": { "type": "string", "title": "Key Id" } + "schema": { + "type": "string", + "title": "Key Id" + } } ], "responses": { @@ -281,7 +357,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/APIKeyInfo" } + "schema": { + "$ref": "#/components/schemas/APIKeyInfo" + } } } }, @@ -292,7 +370,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -307,13 +387,21 @@ "responses": { "200": { "description": "Successful Response", - "content": { "application/json": { "schema": {} } } + "content": { + "application/json": { + "schema": {} + } + } }, "401": { "$ref": "#/components/responses/HTTP401NotAuthenticatedError" } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] } }, "/api/auth/user/email": { @@ -324,7 +412,10 @@ "requestBody": { "content": { "application/json": { - "schema": { "type": "string", "title": "Email" } + "schema": { + "type": "string", + "title": "Email" + } } }, "required": true @@ -335,7 +426,9 @@ "content": { "application/json": { "schema": { - "additionalProperties": { "type": "string" }, + "additionalProperties": { + "type": "string" + }, "type": "object", "title": "Response Postv1Update User Email" } @@ -349,12 +442,18 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] } }, "/api/auth/user/preferences": { @@ -377,7 +476,11 @@ "$ref": "#/components/responses/HTTP401NotAuthenticatedError" } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] }, "post": { "tags": ["v1", "auth"], @@ -411,12 +514,18 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] } }, "/api/auth/user/timezone": { @@ -430,7 +539,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/TimezoneResponse" } + "schema": { + "$ref": "#/components/schemas/TimezoneResponse" + } } } }, @@ -438,7 +549,11 @@ "$ref": "#/components/responses/HTTP401NotAuthenticatedError" } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] }, "post": { "tags": ["v1", "auth"], @@ -448,7 +563,9 @@ "requestBody": { "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/UpdateTimezoneRequest" } + "schema": { + "$ref": "#/components/schemas/UpdateTimezoneRequest" + } } }, "required": true @@ -458,7 +575,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/TimezoneResponse" } + "schema": { + "$ref": "#/components/schemas/TimezoneResponse" + } } } }, @@ -469,12 +588,18 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] } }, "/api/blocks": { @@ -488,7 +613,10 @@ "content": { "application/json": { "schema": { - "items": { "additionalProperties": true, "type": "object" }, + "items": { + "additionalProperties": true, + "type": "object" + }, "type": "array", "title": "Response Getv1List Available Blocks" } @@ -499,7 +627,11 @@ "$ref": "#/components/responses/HTTP401NotAuthenticatedError" } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] } }, "/api/blocks/{block_id}/execute": { @@ -507,13 +639,20 @@ "tags": ["v1", "blocks"], "summary": "Execute graph block", "operationId": "postV1Execute graph block", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "block_id", "in": "path", "required": true, - "schema": { "type": "string", "title": "Block Id" } + "schema": { + "type": "string", + "title": "Block Id" + } } ], "requestBody": { @@ -535,7 +674,10 @@ "application/json": { "schema": { "type": "object", - "additionalProperties": { "type": "array", "items": {} }, + "additionalProperties": { + "type": "array", + "items": {} + }, "title": "Response Postv1Execute Graph Block" } } @@ -548,7 +690,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -561,14 +705,25 @@ "summary": "Get Builder blocks", "description": "Get blocks based on either category, type, or provider.", "operationId": "getV2Get builder blocks", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "category", "in": "query", "required": false, "schema": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Category" } }, @@ -582,7 +737,9 @@ "enum": ["all", "input", "action", "output"], "type": "string" }, - { "type": "null" } + { + "type": "null" + } ], "title": "Type" } @@ -597,7 +754,9 @@ "type": "string", "description": "Provider name for integrations. Can be any string value, including custom provider names." }, - { "type": "null" } + { + "type": "null" + } ], "title": "Provider" } @@ -606,13 +765,21 @@ "name": "page", "in": "query", "required": false, - "schema": { "type": "integer", "default": 1, "title": "Page" } + "schema": { + "type": "integer", + "default": 1, + "title": "Page" + } }, { "name": "page_size", "in": "query", "required": false, - "schema": { "type": "integer", "default": 50, "title": "Page Size" } + "schema": { + "type": "integer", + "default": 50, + "title": "Page Size" + } } ], "responses": { @@ -620,7 +787,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/BlockResponse" } + "schema": { + "$ref": "#/components/schemas/BlockResponse" + } } } }, @@ -631,7 +800,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -644,7 +815,11 @@ "summary": "Get specific blocks", "description": "Get specific blocks by their IDs.", "operationId": "getV2Get specific blocks", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "block_ids", @@ -652,7 +827,9 @@ "required": true, "schema": { "type": "array", - "items": { "type": "string" }, + "items": { + "type": "string" + }, "title": "Block Ids" } } @@ -664,7 +841,9 @@ "application/json": { "schema": { "type": "array", - "items": { "$ref": "#/components/schemas/BlockInfo" }, + "items": { + "$ref": "#/components/schemas/BlockInfo" + }, "title": "Response Getv2Get Specific Blocks" } } @@ -677,7 +856,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -690,7 +871,11 @@ "summary": "Get Builder block categories", "description": "Get all block categories with a specified number of blocks per category.", "operationId": "getV2Get builder block categories", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "blocks_per_category", @@ -725,7 +910,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -743,7 +930,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/CountResponse" } + "schema": { + "$ref": "#/components/schemas/CountResponse" + } } } }, @@ -751,7 +940,11 @@ "$ref": "#/components/responses/HTTP401NotAuthenticatedError" } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] } }, "/api/builder/providers": { @@ -760,19 +953,31 @@ "summary": "Get Builder integration providers", "description": "Get all integration providers with their block counts.", "operationId": "getV2Get builder integration providers", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "page", "in": "query", "required": false, - "schema": { "type": "integer", "default": 1, "title": "Page" } + "schema": { + "type": "integer", + "default": 1, + "title": "Page" + } }, { "name": "page_size", "in": "query", "required": false, - "schema": { "type": "integer", "default": 50, "title": "Page Size" } + "schema": { + "type": "integer", + "default": 50, + "title": "Page Size" + } } ], "responses": { @@ -780,7 +985,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/ProviderResponse" } + "schema": { + "$ref": "#/components/schemas/ProviderResponse" + } } } }, @@ -791,7 +998,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -804,14 +1013,25 @@ "summary": "Builder search", "description": "Search for blocks (including integrations), marketplace agents, and user library agents.", "operationId": "getV2Builder search", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "search_query", "in": "query", "required": false, "schema": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Search Query" } }, @@ -833,7 +1053,9 @@ "type": "string" } }, - { "type": "null" } + { + "type": "null" + } ], "title": "Filter" } @@ -843,7 +1065,14 @@ "in": "query", "required": false, "schema": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Search Id" } }, @@ -853,8 +1082,15 @@ "required": false, "schema": { "anyOf": [ - { "type": "array", "items": { "type": "string" } }, - { "type": "null" } + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "null" + } ], "title": "By Creator" } @@ -863,13 +1099,21 @@ "name": "page", "in": "query", "required": false, - "schema": { "type": "integer", "default": 1, "title": "Page" } + "schema": { + "type": "integer", + "default": 1, + "title": "Page" + } }, { "name": "page_size", "in": "query", "required": false, - "schema": { "type": "integer", "default": 50, "title": "Page Size" } + "schema": { + "type": "integer", + "default": 50, + "title": "Page Size" + } } ], "responses": { @@ -877,7 +1121,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/SearchResponse" } + "schema": { + "$ref": "#/components/schemas/SearchResponse" + } } } }, @@ -888,7 +1134,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -906,7 +1154,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/SuggestionsResponse" } + "schema": { + "$ref": "#/components/schemas/SuggestionsResponse" + } } } }, @@ -914,7 +1164,11 @@ "$ref": "#/components/responses/HTTP401NotAuthenticatedError" } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] } }, "/api/chat/config/ttl": { @@ -972,14 +1226,24 @@ "name": "operation_id", "in": "path", "required": true, - "schema": { "type": "string", "title": "Operation Id" } + "schema": { + "type": "string", + "title": "Operation Id" + } }, { "name": "x-api-key", "in": "header", "required": false, "schema": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "X-Api-Key" } } @@ -1011,7 +1275,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -1031,34 +1297,66 @@ "application/json": { "schema": { "anyOf": [ - { "$ref": "#/components/schemas/AgentsFoundResponse" }, - { "$ref": "#/components/schemas/NoResultsResponse" }, - { "$ref": "#/components/schemas/AgentDetailsResponse" }, + { + "$ref": "#/components/schemas/AgentsFoundResponse" + }, + { + "$ref": "#/components/schemas/NoResultsResponse" + }, + { + "$ref": "#/components/schemas/AgentDetailsResponse" + }, { "$ref": "#/components/schemas/SetupRequirementsResponse" }, - { "$ref": "#/components/schemas/ExecutionStartedResponse" }, - { "$ref": "#/components/schemas/NeedLoginResponse" }, - { "$ref": "#/components/schemas/ErrorResponse" }, + { + "$ref": "#/components/schemas/ExecutionStartedResponse" + }, + { + "$ref": "#/components/schemas/NeedLoginResponse" + }, + { + "$ref": "#/components/schemas/ErrorResponse" + }, { "$ref": "#/components/schemas/InputValidationErrorResponse" }, - { "$ref": "#/components/schemas/AgentOutputResponse" }, + { + "$ref": "#/components/schemas/AgentOutputResponse" + }, { "$ref": "#/components/schemas/UnderstandingUpdatedResponse" }, - { "$ref": "#/components/schemas/AgentPreviewResponse" }, - { "$ref": "#/components/schemas/AgentSavedResponse" }, + { + "$ref": "#/components/schemas/AgentPreviewResponse" + }, + { + "$ref": "#/components/schemas/AgentSavedResponse" + }, { "$ref": "#/components/schemas/ClarificationNeededResponse" }, - { "$ref": "#/components/schemas/BlockListResponse" }, - { "$ref": "#/components/schemas/BlockDetailsResponse" }, - { "$ref": "#/components/schemas/BlockOutputResponse" }, - { "$ref": "#/components/schemas/DocSearchResultsResponse" }, - { "$ref": "#/components/schemas/DocPageResponse" }, - { "$ref": "#/components/schemas/OperationStartedResponse" }, - { "$ref": "#/components/schemas/OperationPendingResponse" }, + { + "$ref": "#/components/schemas/BlockListResponse" + }, + { + "$ref": "#/components/schemas/BlockDetailsResponse" + }, + { + "$ref": "#/components/schemas/BlockOutputResponse" + }, + { + "$ref": "#/components/schemas/DocSearchResultsResponse" + }, + { + "$ref": "#/components/schemas/DocPageResponse" + }, + { + "$ref": "#/components/schemas/OperationStartedResponse" + }, + { + "$ref": "#/components/schemas/OperationPendingResponse" + }, { "$ref": "#/components/schemas/OperationInProgressResponse" } @@ -1077,7 +1375,11 @@ "summary": "List Sessions", "description": "List chat sessions for the authenticated user.\n\nReturns a paginated list of chat sessions belonging to the current user,\nordered by most recently updated.\n\nArgs:\n user_id: The authenticated user's ID.\n limit: Maximum number of sessions to return (1-100).\n offset: Number of sessions to skip for pagination.\n\nReturns:\n ListSessionsResponse: List of session summaries and total count.", "operationId": "getV2ListSessions", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "limit", @@ -1121,7 +1423,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -1132,7 +1436,11 @@ "summary": "Create Session", "description": "Create a new chat session.\n\nInitiates a new chat session for the authenticated user.\n\nArgs:\n user_id: The authenticated user ID parsed from the JWT (required).\n\nReturns:\n CreateSessionResponse: Details of the created session.", "operationId": "postV2CreateSession", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "responses": { "200": { "description": "Successful Response", @@ -1156,13 +1464,20 @@ "summary": "Get Session", "description": "Retrieve the details of a specific chat session.\n\nLooks up a chat session by ID for the given user (if authenticated) and returns all session data including messages.\nIf there's an active stream for this session, returns the task_id for reconnection.\n\nArgs:\n session_id: The unique identifier for the desired chat session.\n user_id: The optional authenticated user ID, or None for anonymous access.\n\nReturns:\n SessionDetailResponse: Details for the requested session, including active_stream info if applicable.", "operationId": "getV2GetSession", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "session_id", "in": "path", "required": true, - "schema": { "type": "string", "title": "Session Id" } + "schema": { + "type": "string", + "title": "Session Id" + } } ], "responses": { @@ -1183,7 +1498,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -1196,13 +1513,20 @@ "summary": "Session Assign User", "description": "Assign an authenticated user to a chat session.\n\nUsed (typically post-login) to claim an existing anonymous session as the current authenticated user.\n\nArgs:\n session_id: The identifier for the (previously anonymous) session.\n user_id: The authenticated user's ID to associate with the session.\n\nReturns:\n dict: Status of the assignment.", "operationId": "patchV2SessionAssignUser", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "session_id", "in": "path", "required": true, - "schema": { "type": "string", "title": "Session Id" } + "schema": { + "type": "string", + "title": "Session Id" + } } ], "responses": { @@ -1225,7 +1549,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -1238,19 +1564,30 @@ "summary": "Resume Session Stream", "description": "Resume an active stream for a session.\n\nCalled by the AI SDK's ``useChat(resume: true)`` on page load.\nChecks for an active (in-progress) task on the session and either replays\nthe full SSE stream or returns 204 No Content if nothing is running.\n\nArgs:\n session_id: The chat session identifier.\n user_id: Optional authenticated user ID.\n\nReturns:\n StreamingResponse (SSE) when an active stream exists,\n or 204 No Content when there is nothing to resume.", "operationId": "getV2ResumeSessionStream", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "session_id", "in": "path", "required": true, - "schema": { "type": "string", "title": "Session Id" } + "schema": { + "type": "string", + "title": "Session Id" + } } ], "responses": { "200": { "description": "Successful Response", - "content": { "application/json": { "schema": {} } } + "content": { + "application/json": { + "schema": {} + } + } }, "401": { "$ref": "#/components/responses/HTTP401NotAuthenticatedError" @@ -1259,7 +1596,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -1270,27 +1609,40 @@ "summary": "Stream Chat Post", "description": "Stream chat responses for a session (POST with context support).\n\nStreams the AI/completion responses in real time over Server-Sent Events (SSE), including:\n - Text fragments as they are generated\n - Tool call UI elements (if invoked)\n - Tool execution results\n\nThe AI generation runs in a background task that continues even if the client disconnects.\nAll chunks are written to Redis for reconnection support. If the client disconnects,\nthey can reconnect using GET /tasks/{task_id}/stream to resume from where they left off.\n\nArgs:\n session_id: The chat session identifier to associate with the streamed messages.\n request: Request body containing message, is_user_message, and optional context.\n user_id: Optional authenticated user ID.\nReturns:\n StreamingResponse: SSE-formatted response chunks. First chunk is a \"start\" event\n containing the task_id for reconnection.", "operationId": "postV2StreamChatPost", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "session_id", "in": "path", "required": true, - "schema": { "type": "string", "title": "Session Id" } + "schema": { + "type": "string", + "title": "Session Id" + } } ], "requestBody": { "required": true, "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/StreamChatRequest" } + "schema": { + "$ref": "#/components/schemas/StreamChatRequest" + } } } }, "responses": { "200": { "description": "Successful Response", - "content": { "application/json": { "schema": {} } } + "content": { + "application/json": { + "schema": {} + } + } }, "401": { "$ref": "#/components/responses/HTTP401NotAuthenticatedError" @@ -1299,7 +1651,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -1312,13 +1666,20 @@ "summary": "Get Task Status", "description": "Get the status of a long-running task.\n\nArgs:\n task_id: The task ID to check.\n user_id: Authenticated user ID for ownership validation.\n\nReturns:\n dict: Task status including task_id, status, tool_name, and operation_id.\n\nRaises:\n NotFoundError: If task_id is not found or user doesn't have access.", "operationId": "getV2GetTaskStatus", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "task_id", "in": "path", "required": true, - "schema": { "type": "string", "title": "Task Id" } + "schema": { + "type": "string", + "title": "Task Id" + } } ], "responses": { @@ -1341,7 +1702,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -1354,13 +1717,20 @@ "summary": "Stream Task", "description": "Reconnect to a long-running task's SSE stream.\n\nWhen a long-running operation (like agent generation) starts, the client\nreceives a task_id. If the connection drops, the client can reconnect\nusing this endpoint to resume receiving updates.\n\nArgs:\n task_id: The task ID from the operation_started response.\n user_id: Authenticated user ID for ownership validation.\n last_message_id: Last Redis Stream message ID received (\"0-0\" for full replay).\n\nReturns:\n StreamingResponse: SSE-formatted response chunks starting after last_message_id.\n\nRaises:\n HTTPException: 404 if task not found, 410 if task expired, 403 if access denied.", "operationId": "getV2StreamTask", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "task_id", "in": "path", "required": true, - "schema": { "type": "string", "title": "Task Id" } + "schema": { + "type": "string", + "title": "Task Id" + } }, { "name": "last_message_id", @@ -1378,7 +1748,11 @@ "responses": { "200": { "description": "Successful Response", - "content": { "application/json": { "schema": {} } } + "content": { + "application/json": { + "schema": {} + } + } }, "401": { "$ref": "#/components/responses/HTTP401NotAuthenticatedError" @@ -1387,7 +1761,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -1405,7 +1781,9 @@ "content": { "application/json": { "schema": { - "additionalProperties": { "type": "integer" }, + "additionalProperties": { + "type": "integer" + }, "type": "object", "title": "Response Getv1Get User Credits" } @@ -1416,7 +1794,11 @@ "$ref": "#/components/responses/HTTP401NotAuthenticatedError" } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] }, "patch": { "tags": ["v1", "credits"], @@ -1425,13 +1807,21 @@ "responses": { "200": { "description": "Successful Response", - "content": { "application/json": { "schema": {} } } + "content": { + "application/json": { + "schema": {} + } + } }, "401": { "$ref": "#/components/responses/HTTP401NotAuthenticatedError" } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] }, "post": { "tags": ["v1", "credits"], @@ -1440,7 +1830,9 @@ "requestBody": { "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/RequestTopUp" } + "schema": { + "$ref": "#/components/schemas/RequestTopUp" + } } }, "required": true @@ -1448,7 +1840,11 @@ "responses": { "200": { "description": "Successful Response", - "content": { "application/json": { "schema": {} } } + "content": { + "application/json": { + "schema": {} + } + } }, "401": { "$ref": "#/components/responses/HTTP401NotAuthenticatedError" @@ -1457,12 +1853,18 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] } }, "/api/credits/admin/add_credits": { @@ -1498,12 +1900,18 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] } }, "/api/credits/admin/users_history": { @@ -1511,14 +1919,25 @@ "tags": ["v2", "admin", "credits", "admin"], "summary": "Get All Users History", "operationId": "getV2Get all users history", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "search", "in": "query", "required": false, "schema": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Search" } }, @@ -1526,13 +1945,21 @@ "name": "page", "in": "query", "required": false, - "schema": { "type": "integer", "default": 1, "title": "Page" } + "schema": { + "type": "integer", + "default": 1, + "title": "Page" + } }, { "name": "page_size", "in": "query", "required": false, - "schema": { "type": "integer", "default": 20, "title": "Page Size" } + "schema": { + "type": "integer", + "default": 20, + "title": "Page Size" + } }, { "name": "transaction_filter", @@ -1540,8 +1967,12 @@ "required": false, "schema": { "anyOf": [ - { "$ref": "#/components/schemas/CreditTransactionType" }, - { "type": "null" } + { + "$ref": "#/components/schemas/CreditTransactionType" + }, + { + "type": "null" + } ], "title": "Transaction Filter" } @@ -1552,7 +1983,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/UserHistoryResponse" } + "schema": { + "$ref": "#/components/schemas/UserHistoryResponse" + } } } }, @@ -1563,7 +1996,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -1580,7 +2015,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/AutoTopUpConfig" } + "schema": { + "$ref": "#/components/schemas/AutoTopUpConfig" + } } } }, @@ -1588,7 +2025,11 @@ "$ref": "#/components/responses/HTTP401NotAuthenticatedError" } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] }, "post": { "tags": ["v1", "credits"], @@ -1597,7 +2038,9 @@ "requestBody": { "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/AutoTopUpConfig" } + "schema": { + "$ref": "#/components/schemas/AutoTopUpConfig" + } } }, "required": true @@ -1621,12 +2064,18 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] } }, "/api/credits/manage": { @@ -1640,7 +2089,9 @@ "content": { "application/json": { "schema": { - "additionalProperties": { "type": "string" }, + "additionalProperties": { + "type": "string" + }, "type": "object", "title": "Response Getv1Manage Payment Methods" } @@ -1651,7 +2102,11 @@ "$ref": "#/components/responses/HTTP401NotAuthenticatedError" } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] } }, "/api/credits/refunds": { @@ -1665,7 +2120,9 @@ "content": { "application/json": { "schema": { - "items": { "$ref": "#/components/schemas/RefundRequest" }, + "items": { + "$ref": "#/components/schemas/RefundRequest" + }, "type": "array", "title": "Response Getv1Get Refund Requests" } @@ -1676,7 +2133,11 @@ "$ref": "#/components/responses/HTTP401NotAuthenticatedError" } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] } }, "/api/credits/stripe_webhook": { @@ -1687,7 +2148,11 @@ "responses": { "200": { "description": "Successful Response", - "content": { "application/json": { "schema": {} } } + "content": { + "application/json": { + "schema": {} + } + } } } } @@ -1697,7 +2162,11 @@ "tags": ["v1", "credits"], "summary": "Get credit history", "operationId": "getV1Get credit history", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "transaction_time", @@ -1705,8 +2174,13 @@ "required": false, "schema": { "anyOf": [ - { "type": "string", "format": "date-time" }, - { "type": "null" } + { + "type": "string", + "format": "date-time" + }, + { + "type": "null" + } ], "title": "Transaction Time" } @@ -1716,7 +2190,14 @@ "in": "query", "required": false, "schema": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Transaction Type" } }, @@ -1736,7 +2217,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/TransactionHistory" } + "schema": { + "$ref": "#/components/schemas/TransactionHistory" + } } } }, @@ -1747,7 +2230,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -1759,13 +2244,20 @@ "tags": ["v1", "credits"], "summary": "Refund credit transaction", "operationId": "postV1Refund credit transaction", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "transaction_key", "in": "path", "required": true, - "schema": { "type": "string", "title": "Transaction Key" } + "schema": { + "type": "string", + "title": "Transaction Key" + } } ], "requestBody": { @@ -1774,7 +2266,9 @@ "application/json": { "schema": { "type": "object", - "additionalProperties": { "type": "string" }, + "additionalProperties": { + "type": "string" + }, "title": "Metadata" } } @@ -1799,7 +2293,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -1816,13 +2312,21 @@ "application/json": { "schema": { "oneOf": [ - { "$ref": "#/components/schemas/PostmarkDeliveryWebhook" }, - { "$ref": "#/components/schemas/PostmarkBounceWebhook" }, + { + "$ref": "#/components/schemas/PostmarkDeliveryWebhook" + }, + { + "$ref": "#/components/schemas/PostmarkBounceWebhook" + }, { "$ref": "#/components/schemas/PostmarkSpamComplaintWebhook" }, - { "$ref": "#/components/schemas/PostmarkOpenWebhook" }, - { "$ref": "#/components/schemas/PostmarkClickWebhook" }, + { + "$ref": "#/components/schemas/PostmarkOpenWebhook" + }, + { + "$ref": "#/components/schemas/PostmarkClickWebhook" + }, { "$ref": "#/components/schemas/PostmarkSubscriptionChangeWebhook" } @@ -1847,18 +2351,28 @@ "responses": { "200": { "description": "Successful Response", - "content": { "application/json": { "schema": {} } } + "content": { + "application/json": { + "schema": {} + } + } }, "422": { "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } }, - "security": [{ "APIKeyAuthenticator-X-Postmark-Webhook-Token": [] }] + "security": [ + { + "APIKeyAuthenticator-X-Postmark-Webhook-Token": [] + } + ] } }, "/api/email/unsubscribe": { @@ -1871,19 +2385,28 @@ "name": "token", "in": "query", "required": true, - "schema": { "type": "string", "title": "Token" } + "schema": { + "type": "string", + "title": "Token" + } } ], "responses": { "200": { "description": "Successful Response", - "content": { "application/json": { "schema": {} } } + "content": { + "application/json": { + "schema": {} + } + } }, "422": { "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -1914,7 +2437,11 @@ "$ref": "#/components/responses/HTTP401NotAuthenticatedError" } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] } }, "/api/executions/admin/execution_accuracy_trends": { @@ -1923,20 +2450,34 @@ "summary": "Get Execution Accuracy Trends and Alerts", "description": "Get execution accuracy trends with moving averages and alert detection.\nSimple single-query approach.", "operationId": "getV2Get execution accuracy trends and alerts", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "graph_id", "in": "query", "required": true, - "schema": { "type": "string", "title": "Graph Id" } + "schema": { + "type": "string", + "title": "Graph Id" + } }, { "name": "user_id", "in": "query", "required": false, "schema": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "User Id" } }, @@ -1944,7 +2485,11 @@ "name": "days_back", "in": "query", "required": false, - "schema": { "type": "integer", "default": 30, "title": "Days Back" } + "schema": { + "type": "integer", + "default": 30, + "title": "Days Back" + } }, { "name": "drop_threshold", @@ -1985,7 +2530,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -2026,12 +2573,18 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] } }, "/api/executions/admin/execution_analytics/config": { @@ -2055,7 +2608,11 @@ "$ref": "#/components/responses/HTTP401NotAuthenticatedError" } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] } }, "/api/executions/{graph_exec_id}": { @@ -2063,17 +2620,26 @@ "tags": ["v1", "graphs"], "summary": "Delete graph execution", "operationId": "deleteV1Delete graph execution", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "graph_exec_id", "in": "path", "required": true, - "schema": { "type": "string", "title": "Graph Exec Id" } + "schema": { + "type": "string", + "title": "Graph Exec Id" + } } ], "responses": { - "204": { "description": "Successful Response" }, + "204": { + "description": "Successful Response" + }, "401": { "$ref": "#/components/responses/HTTP401NotAuthenticatedError" }, @@ -2081,7 +2647,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -2094,7 +2662,11 @@ "summary": "Upload file to cloud storage", "description": "Upload a file to cloud storage and return a storage key that can be used\nwith FileStoreBlock and AgentFileInputBlock.\n\nArgs:\n file: The file to upload\n user_id: The user ID\n provider: Cloud storage provider (\"gcs\", \"s3\", \"azure\")\n expiration_hours: Hours until file expires (1-48)\n\nReturns:\n Dict containing the cloud storage path and signed URL", "operationId": "postV1Upload file to cloud storage", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "provider", @@ -2132,7 +2704,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/UploadFileResponse" } + "schema": { + "$ref": "#/components/schemas/UploadFileResponse" + } } } }, @@ -2143,7 +2717,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -2161,7 +2737,9 @@ "content": { "application/json": { "schema": { - "items": { "$ref": "#/components/schemas/GraphMeta" }, + "items": { + "$ref": "#/components/schemas/GraphMeta" + }, "type": "array", "title": "Response Getv1List User Graphs" } @@ -2172,7 +2750,11 @@ "$ref": "#/components/responses/HTTP401NotAuthenticatedError" } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] }, "post": { "tags": ["v1", "graphs"], @@ -2181,7 +2763,9 @@ "requestBody": { "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/CreateGraph" } + "schema": { + "$ref": "#/components/schemas/CreateGraph" + } } }, "required": true @@ -2191,7 +2775,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/GraphModel" } + "schema": { + "$ref": "#/components/schemas/GraphModel" + } } } }, @@ -2202,12 +2788,18 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] } }, "/api/graphs/{graph_id}": { @@ -2215,13 +2807,20 @@ "tags": ["v1", "graphs"], "summary": "Delete graph permanently", "operationId": "deleteV1Delete graph permanently", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "graph_id", "in": "path", "required": true, - "schema": { "type": "string", "title": "Graph Id" } + "schema": { + "type": "string", + "title": "Graph Id" + } } ], "responses": { @@ -2229,7 +2828,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/DeleteGraphResponse" } + "schema": { + "$ref": "#/components/schemas/DeleteGraphResponse" + } } } }, @@ -2240,7 +2841,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -2250,20 +2853,34 @@ "tags": ["v1", "graphs"], "summary": "Get specific graph", "operationId": "getV1Get specific graph", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "graph_id", "in": "path", "required": true, - "schema": { "type": "string", "title": "Graph Id" } + "schema": { + "type": "string", + "title": "Graph Id" + } }, { "name": "version", "in": "query", "required": false, "schema": { - "anyOf": [{ "type": "integer" }, { "type": "null" }], + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], "title": "Version" } }, @@ -2283,7 +2900,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/GraphModel" } + "schema": { + "$ref": "#/components/schemas/GraphModel" + } } } }, @@ -2294,7 +2913,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -2304,20 +2925,29 @@ "tags": ["v1", "graphs"], "summary": "Update graph version", "operationId": "putV1Update graph version", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "graph_id", "in": "path", "required": true, - "schema": { "type": "string", "title": "Graph Id" } + "schema": { + "type": "string", + "title": "Graph Id" + } } ], "requestBody": { "required": true, "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/Graph" } + "schema": { + "$ref": "#/components/schemas/Graph" + } } } }, @@ -2326,7 +2956,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/GraphModel" } + "schema": { + "$ref": "#/components/schemas/GraphModel" + } } } }, @@ -2337,7 +2969,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -2349,20 +2983,34 @@ "tags": ["v1", "graphs"], "summary": "Execute graph agent", "operationId": "postV1Execute graph agent", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "graph_id", "in": "path", "required": true, - "schema": { "type": "string", "title": "Graph Id" } + "schema": { + "type": "string", + "title": "Graph Id" + } }, { "name": "graph_version", "in": "path", "required": true, "schema": { - "anyOf": [{ "type": "integer" }, { "type": "null" }], + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], "title": "Graph Version" } }, @@ -2371,7 +3019,14 @@ "in": "query", "required": false, "schema": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Preset Id" } } @@ -2390,7 +3045,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/GraphExecutionMeta" } + "schema": { + "$ref": "#/components/schemas/GraphExecutionMeta" + } } } }, @@ -2401,7 +3058,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -2413,13 +3072,20 @@ "tags": ["v1", "graphs"], "summary": "List graph executions", "operationId": "getV1List graph executions", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "graph_id", "in": "path", "required": true, - "schema": { "type": "string", "title": "Graph Id" } + "schema": { + "type": "string", + "title": "Graph Id" + } }, { "name": "page", @@ -2467,7 +3133,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -2479,19 +3147,29 @@ "tags": ["v1", "graphs"], "summary": "Get execution details", "operationId": "getV1Get execution details", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "graph_id", "in": "path", "required": true, - "schema": { "type": "string", "title": "Graph Id" } + "schema": { + "type": "string", + "title": "Graph Id" + } }, { "name": "graph_exec_id", "in": "path", "required": true, - "schema": { "type": "string", "title": "Graph Exec Id" } + "schema": { + "type": "string", + "title": "Graph Exec Id" + } } ], "responses": { @@ -2501,8 +3179,12 @@ "application/json": { "schema": { "anyOf": [ - { "$ref": "#/components/schemas/GraphExecution" }, - { "$ref": "#/components/schemas/GraphExecutionWithNodes" } + { + "$ref": "#/components/schemas/GraphExecution" + }, + { + "$ref": "#/components/schemas/GraphExecutionWithNodes" + } ], "title": "Response Getv1Get Execution Details" } @@ -2516,7 +3198,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -2529,23 +3213,35 @@ "summary": "Disable Execution Sharing", "description": "Disable sharing for a graph execution.", "operationId": "deleteV1DisableExecutionSharing", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "graph_id", "in": "path", "required": true, - "schema": { "type": "string", "title": "Graph Id" } + "schema": { + "type": "string", + "title": "Graph Id" + } }, { "name": "graph_exec_id", "in": "path", "required": true, - "schema": { "type": "string", "title": "Graph Exec Id" } + "schema": { + "type": "string", + "title": "Graph Exec Id" + } } ], "responses": { - "204": { "description": "Successful Response" }, + "204": { + "description": "Successful Response" + }, "401": { "$ref": "#/components/responses/HTTP401NotAuthenticatedError" }, @@ -2553,7 +3249,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -2564,19 +3262,29 @@ "summary": "Enable Execution Sharing", "description": "Enable sharing for a graph execution.", "operationId": "postV1EnableExecutionSharing", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "graph_id", "in": "path", "required": true, - "schema": { "type": "string", "title": "Graph Id" } + "schema": { + "type": "string", + "title": "Graph Id" + } }, { "name": "graph_exec_id", "in": "path", "required": true, - "schema": { "type": "string", "title": "Graph Exec Id" } + "schema": { + "type": "string", + "title": "Graph Exec Id" + } } ], "requestBody": { @@ -2594,7 +3302,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/ShareResponse" } + "schema": { + "$ref": "#/components/schemas/ShareResponse" + } } } }, @@ -2605,7 +3315,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -2617,19 +3329,29 @@ "tags": ["v1", "graphs"], "summary": "Stop graph execution", "operationId": "postV1Stop graph execution", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "graph_id", "in": "path", "required": true, - "schema": { "type": "string", "title": "Graph Id" } + "schema": { + "type": "string", + "title": "Graph Id" + } }, { "name": "graph_exec_id", "in": "path", "required": true, - "schema": { "type": "string", "title": "Graph Exec Id" } + "schema": { + "type": "string", + "title": "Graph Exec Id" + } } ], "responses": { @@ -2639,8 +3361,12 @@ "application/json": { "schema": { "anyOf": [ - { "$ref": "#/components/schemas/GraphExecutionMeta" }, - { "type": "null" } + { + "$ref": "#/components/schemas/GraphExecutionMeta" + }, + { + "type": "null" + } ], "title": "Response Postv1Stop Graph Execution" } @@ -2654,7 +3380,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -2666,13 +3394,20 @@ "tags": ["v1", "schedules"], "summary": "List execution schedules for a graph", "operationId": "getV1List execution schedules for a graph", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "graph_id", "in": "path", "required": true, - "schema": { "type": "string", "title": "Graph Id" } + "schema": { + "type": "string", + "title": "Graph Id" + } } ], "responses": { @@ -2697,7 +3432,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -2707,7 +3444,11 @@ "tags": ["v1", "schedules"], "summary": "Create execution schedule", "operationId": "postV1Create execution schedule", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "graph_id", @@ -2749,7 +3490,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -2762,20 +3505,29 @@ "summary": "Update graph settings", "description": "Update graph settings for the user's library agent.", "operationId": "patchV1Update graph settings", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "graph_id", "in": "path", "required": true, - "schema": { "type": "string", "title": "Graph Id" } + "schema": { + "type": "string", + "title": "Graph Id" + } } ], "requestBody": { "required": true, "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/GraphSettings" } + "schema": { + "$ref": "#/components/schemas/GraphSettings" + } } } }, @@ -2784,7 +3536,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/GraphSettings" } + "schema": { + "$ref": "#/components/schemas/GraphSettings" + } } } }, @@ -2795,7 +3549,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -2807,13 +3563,20 @@ "tags": ["v1", "graphs"], "summary": "Get all graph versions", "operationId": "getV1Get all graph versions", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "graph_id", "in": "path", "required": true, - "schema": { "type": "string", "title": "Graph Id" } + "schema": { + "type": "string", + "title": "Graph Id" + } } ], "responses": { @@ -2823,7 +3586,9 @@ "application/json": { "schema": { "type": "array", - "items": { "$ref": "#/components/schemas/GraphModel" }, + "items": { + "$ref": "#/components/schemas/GraphModel" + }, "title": "Response Getv1Get All Graph Versions" } } @@ -2836,7 +3601,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -2848,27 +3615,40 @@ "tags": ["v1", "graphs"], "summary": "Set active graph version", "operationId": "putV1Set active graph version", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "graph_id", "in": "path", "required": true, - "schema": { "type": "string", "title": "Graph Id" } + "schema": { + "type": "string", + "title": "Graph Id" + } } ], "requestBody": { "required": true, "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/SetGraphActiveVersion" } + "schema": { + "$ref": "#/components/schemas/SetGraphActiveVersion" + } } } }, "responses": { "200": { "description": "Successful Response", - "content": { "application/json": { "schema": {} } } + "content": { + "application/json": { + "schema": {} + } + } }, "401": { "$ref": "#/components/responses/HTTP401NotAuthenticatedError" @@ -2877,7 +3657,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -2889,20 +3671,34 @@ "tags": ["v1", "graphs"], "summary": "Get graph version", "operationId": "getV1Get graph version", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "graph_id", "in": "path", "required": true, - "schema": { "type": "string", "title": "Graph Id" } + "schema": { + "type": "string", + "title": "Graph Id" + } }, { "name": "version", "in": "path", "required": true, "schema": { - "anyOf": [{ "type": "integer" }, { "type": "null" }], + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], "title": "Version" } }, @@ -2922,7 +3718,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/GraphModel" } + "schema": { + "$ref": "#/components/schemas/GraphModel" + } } } }, @@ -2933,7 +3731,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -2951,7 +3751,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/AyrshareSSOResponse" } + "schema": { + "$ref": "#/components/schemas/AyrshareSSOResponse" + } } } }, @@ -2959,7 +3761,11 @@ "$ref": "#/components/responses/HTTP401NotAuthenticatedError" } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] } }, "/api/integrations/credentials": { @@ -2986,7 +3792,11 @@ "$ref": "#/components/responses/HTTP401NotAuthenticatedError" } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] } }, "/api/integrations/providers": { @@ -3001,7 +3811,9 @@ "content": { "application/json": { "schema": { - "items": { "type": "string" }, + "items": { + "type": "string" + }, "type": "array", "title": "Response Getv1Listproviders" } @@ -3022,7 +3834,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/ProviderConstants" } + "schema": { + "$ref": "#/components/schemas/ProviderConstants" + } } } } @@ -3081,7 +3895,9 @@ "content": { "application/json": { "schema": { - "items": { "type": "string" }, + "items": { + "type": "string" + }, "type": "array", "title": "Response Getv1Listsystemproviders" } @@ -3096,19 +3912,30 @@ "tags": ["v1", "integrations"], "summary": "Webhook Ping", "operationId": "postV1WebhookPing", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "webhook_id", "in": "path", "required": true, - "schema": { "type": "string", "title": "Our ID for the webhook" } + "schema": { + "type": "string", + "title": "Our ID for the webhook" + } } ], "responses": { "200": { "description": "Successful Response", - "content": { "application/json": { "schema": {} } } + "content": { + "application/json": { + "schema": {} + } + } }, "401": { "$ref": "#/components/responses/HTTP401NotAuthenticatedError" @@ -3117,7 +3944,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -3129,7 +3958,11 @@ "tags": ["v1", "integrations"], "summary": "Exchange OAuth code for tokens", "operationId": "postV1Exchange oauth code for tokens", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "provider", @@ -3170,7 +4003,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -3182,7 +4017,11 @@ "tags": ["v1", "integrations"], "summary": "List Credentials By Provider", "operationId": "getV1ListCredentialsByProvider", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "provider", @@ -3217,7 +4056,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -3227,7 +4068,11 @@ "tags": ["v1", "integrations"], "summary": "Create Credentials", "operationId": "postV1Create credentials", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "provider", @@ -3246,10 +4091,18 @@ "application/json": { "schema": { "oneOf": [ - { "$ref": "#/components/schemas/OAuth2Credentials" }, - { "$ref": "#/components/schemas/APIKeyCredentials" }, - { "$ref": "#/components/schemas/UserPasswordCredentials" }, - { "$ref": "#/components/schemas/HostScopedCredentials-Input" } + { + "$ref": "#/components/schemas/OAuth2Credentials" + }, + { + "$ref": "#/components/schemas/APIKeyCredentials" + }, + { + "$ref": "#/components/schemas/UserPasswordCredentials" + }, + { + "$ref": "#/components/schemas/HostScopedCredentials-Input" + } ], "discriminator": { "propertyName": "type", @@ -3272,9 +4125,15 @@ "application/json": { "schema": { "oneOf": [ - { "$ref": "#/components/schemas/OAuth2Credentials" }, - { "$ref": "#/components/schemas/APIKeyCredentials" }, - { "$ref": "#/components/schemas/UserPasswordCredentials" }, + { + "$ref": "#/components/schemas/OAuth2Credentials" + }, + { + "$ref": "#/components/schemas/APIKeyCredentials" + }, + { + "$ref": "#/components/schemas/UserPasswordCredentials" + }, { "$ref": "#/components/schemas/HostScopedCredentials-Output" } @@ -3300,7 +4159,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -3312,7 +4173,11 @@ "tags": ["v1", "integrations"], "summary": "Delete Credentials", "operationId": "deleteV1DeleteCredentials", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "provider", @@ -3370,7 +4235,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -3380,7 +4247,11 @@ "tags": ["v1", "integrations"], "summary": "Get Specific Credential By ID", "operationId": "getV1Get specific credential by id", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "provider", @@ -3409,9 +4280,15 @@ "application/json": { "schema": { "oneOf": [ - { "$ref": "#/components/schemas/OAuth2Credentials" }, - { "$ref": "#/components/schemas/APIKeyCredentials" }, - { "$ref": "#/components/schemas/UserPasswordCredentials" }, + { + "$ref": "#/components/schemas/OAuth2Credentials" + }, + { + "$ref": "#/components/schemas/APIKeyCredentials" + }, + { + "$ref": "#/components/schemas/UserPasswordCredentials" + }, { "$ref": "#/components/schemas/HostScopedCredentials-Output" } @@ -3437,7 +4314,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -3449,7 +4328,11 @@ "tags": ["v1", "integrations"], "summary": "Initiate OAuth flow", "operationId": "getV1Initiate oauth flow", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "provider", @@ -3477,7 +4360,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/LoginResponse" } + "schema": { + "$ref": "#/components/schemas/LoginResponse" + } } } }, @@ -3488,7 +4373,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -3515,19 +4402,28 @@ "name": "webhook_id", "in": "path", "required": true, - "schema": { "type": "string", "title": "Our ID for the webhook" } + "schema": { + "type": "string", + "title": "Our ID for the webhook" + } } ], "responses": { "200": { "description": "Successful Response", - "content": { "application/json": { "schema": {} } } + "content": { + "application/json": { + "schema": {} + } + } }, "422": { "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -3540,14 +4436,25 @@ "summary": "List Library Agents", "description": "Get all agents in the user's library (both created and saved).", "operationId": "getV2List library agents", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "search_term", "in": "query", "required": false, "schema": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "description": "Search term to filter agents", "title": "Search Term" }, @@ -3609,7 +4516,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -3620,7 +4529,11 @@ "summary": "Add Marketplace Agent", "description": "Add an agent from the marketplace to the user's library.", "operationId": "postV2Add marketplace agent", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "requestBody": { "required": true, "content": { @@ -3636,7 +4549,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/LibraryAgent" } + "schema": { + "$ref": "#/components/schemas/LibraryAgent" + } } } }, @@ -3647,7 +4562,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -3659,20 +4576,34 @@ "tags": ["v2", "library", "private"], "summary": "Get Library Agent By Graph Id", "operationId": "getV2GetLibraryAgentByGraphId", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "graph_id", "in": "path", "required": true, - "schema": { "type": "string", "title": "Graph Id" } + "schema": { + "type": "string", + "title": "Graph Id" + } }, { "name": "version", "in": "query", "required": false, "schema": { - "anyOf": [{ "type": "integer" }, { "type": "null" }], + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], "title": "Version" } } @@ -3682,7 +4613,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/LibraryAgent" } + "schema": { + "$ref": "#/components/schemas/LibraryAgent" + } } } }, @@ -3693,7 +4626,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -3706,7 +4641,11 @@ "summary": "List Favorite Library Agents", "description": "Get all favorite agents in the user's library.", "operationId": "getV2List favorite library agents", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "page", @@ -3753,7 +4692,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -3766,13 +4707,20 @@ "summary": "Get Agent By Store ID", "description": "Get Library Agent from Store Listing Version ID.", "operationId": "getV2Get agent by store id", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "store_listing_version_id", "in": "path", "required": true, - "schema": { "type": "string", "title": "Store Listing Version Id" } + "schema": { + "type": "string", + "title": "Store Listing Version Id" + } } ], "responses": { @@ -3782,8 +4730,12 @@ "application/json": { "schema": { "anyOf": [ - { "$ref": "#/components/schemas/LibraryAgent" }, - { "type": "null" } + { + "$ref": "#/components/schemas/LibraryAgent" + }, + { + "type": "null" + } ], "title": "Response Getv2Get Agent By Store Id" } @@ -3797,7 +4749,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -3810,19 +4764,30 @@ "summary": "Delete Library Agent", "description": "Soft-delete the specified library agent.", "operationId": "deleteV2Delete library agent", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "library_agent_id", "in": "path", "required": true, - "schema": { "type": "string", "title": "Library Agent Id" } + "schema": { + "type": "string", + "title": "Library Agent Id" + } } ], "responses": { "200": { "description": "Successful Response", - "content": { "application/json": { "schema": {} } } + "content": { + "application/json": { + "schema": {} + } + } }, "401": { "$ref": "#/components/responses/HTTP401NotAuthenticatedError" @@ -3831,7 +4796,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -3841,13 +4808,20 @@ "tags": ["v2", "library", "private"], "summary": "Get Library Agent", "operationId": "getV2Get library agent", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "library_agent_id", "in": "path", "required": true, - "schema": { "type": "string", "title": "Library Agent Id" } + "schema": { + "type": "string", + "title": "Library Agent Id" + } } ], "responses": { @@ -3855,7 +4829,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/LibraryAgent" } + "schema": { + "$ref": "#/components/schemas/LibraryAgent" + } } } }, @@ -3866,7 +4842,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -3877,13 +4855,20 @@ "summary": "Update Library Agent", "description": "Update the library agent with the given fields.", "operationId": "patchV2Update library agent", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "library_agent_id", "in": "path", "required": true, - "schema": { "type": "string", "title": "Library Agent Id" } + "schema": { + "type": "string", + "title": "Library Agent Id" + } } ], "requestBody": { @@ -3901,7 +4886,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/LibraryAgent" } + "schema": { + "$ref": "#/components/schemas/LibraryAgent" + } } } }, @@ -3912,7 +4899,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -3924,13 +4913,20 @@ "tags": ["v2", "library", "private"], "summary": "Fork Library Agent", "operationId": "postV2Fork library agent", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "library_agent_id", "in": "path", "required": true, - "schema": { "type": "string", "title": "Library Agent Id" } + "schema": { + "type": "string", + "title": "Library Agent Id" + } } ], "responses": { @@ -3938,7 +4934,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/LibraryAgent" } + "schema": { + "$ref": "#/components/schemas/LibraryAgent" + } } } }, @@ -3949,7 +4947,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -3962,7 +4962,11 @@ "summary": "List presets", "description": "Retrieve a paginated list of presets for the current user.", "operationId": "getV2List presets", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "page", @@ -3991,7 +4995,14 @@ "in": "query", "required": true, "schema": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "description": "Allows to filter presets by a specific agent graph", "title": "Graph Id" }, @@ -4016,7 +5027,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -4027,7 +5040,11 @@ "summary": "Create a new preset", "description": "Create a new preset for the current user.", "operationId": "postV2Create a new preset", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "requestBody": { "required": true, "content": { @@ -4051,7 +5068,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/LibraryAgentPreset" } + "schema": { + "$ref": "#/components/schemas/LibraryAgentPreset" + } } } }, @@ -4062,7 +5081,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -4090,7 +5111,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/LibraryAgentPreset" } + "schema": { + "$ref": "#/components/schemas/LibraryAgentPreset" + } } } }, @@ -4101,12 +5124,18 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] } }, "/api/library/presets/{preset_id}": { @@ -4115,17 +5144,26 @@ "summary": "Delete a preset", "description": "Delete an existing preset by its ID.", "operationId": "deleteV2Delete a preset", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "preset_id", "in": "path", "required": true, - "schema": { "type": "string", "title": "Preset Id" } + "schema": { + "type": "string", + "title": "Preset Id" + } } ], "responses": { - "204": { "description": "Successful Response" }, + "204": { + "description": "Successful Response" + }, "401": { "$ref": "#/components/responses/HTTP401NotAuthenticatedError" }, @@ -4133,7 +5171,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -4144,13 +5184,20 @@ "summary": "Get a specific preset", "description": "Retrieve details for a specific preset by its ID.", "operationId": "getV2Get a specific preset", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "preset_id", "in": "path", "required": true, - "schema": { "type": "string", "title": "Preset Id" } + "schema": { + "type": "string", + "title": "Preset Id" + } } ], "responses": { @@ -4158,7 +5205,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/LibraryAgentPreset" } + "schema": { + "$ref": "#/components/schemas/LibraryAgentPreset" + } } } }, @@ -4169,7 +5218,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -4180,13 +5231,20 @@ "summary": "Update an existing preset", "description": "Update an existing preset by its ID.", "operationId": "patchV2Update an existing preset", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "preset_id", "in": "path", "required": true, - "schema": { "type": "string", "title": "Preset Id" } + "schema": { + "type": "string", + "title": "Preset Id" + } } ], "requestBody": { @@ -4204,7 +5262,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/LibraryAgentPreset" } + "schema": { + "$ref": "#/components/schemas/LibraryAgentPreset" + } } } }, @@ -4215,7 +5275,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -4228,13 +5290,20 @@ "summary": "Execute a preset", "description": "Execute a preset with the given graph and node input for the current user.", "operationId": "postV2Execute a preset", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "preset_id", "in": "path", "required": true, - "schema": { "type": "string", "title": "Preset Id" } + "schema": { + "type": "string", + "title": "Preset Id" + } } ], "requestBody": { @@ -4251,7 +5320,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/GraphExecutionMeta" } + "schema": { + "$ref": "#/components/schemas/GraphExecutionMeta" + } } } }, @@ -4262,7 +5333,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -4273,12 +5346,14 @@ "post": { "tags": ["v2", "mcp", "mcp"], "summary": "Discover available tools on an MCP server", - "description": "Connect to an MCP server and return its available tools.\n\nIf the user has a stored MCP credential for this server URL, it will be\nused automatically — no need to pass an explicit auth token.", + "description": "Connect to an MCP server and return its available tools.\n\nIf the user has a stored MCP credential for this server URL, it will be\nused automatically \u2014 no need to pass an explicit auth token.", "operationId": "postV2Discover available tools on an mcp server", "requestBody": { "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/DiscoverToolsRequest" } + "schema": { + "$ref": "#/components/schemas/DiscoverToolsRequest" + } } }, "required": true @@ -4301,12 +5376,18 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] } }, "/api/mcp/oauth/callback": { @@ -4343,12 +5424,18 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] } }, "/api/mcp/oauth/login": { @@ -4360,7 +5447,9 @@ "requestBody": { "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/MCPOAuthLoginRequest" } + "schema": { + "$ref": "#/components/schemas/MCPOAuthLoginRequest" + } } }, "required": true @@ -4383,12 +5472,18 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] } }, "/api/oauth/app/{client_id}": { @@ -4397,13 +5492,20 @@ "summary": "Get Oauth App Info", "description": "Get public information about an OAuth application.\n\nThis endpoint is used by the consent screen to display application details\nto the user before they authorize access.\n\nReturns:\n- name: Application name\n- description: Application description (if provided)\n- scopes: List of scopes the application is allowed to request", "operationId": "getOauthGetOauthAppInfo", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "client_id", "in": "path", "required": true, - "schema": { "type": "string", "title": "Client Id" } + "schema": { + "type": "string", + "title": "Client Id" + } } ], "responses": { @@ -4420,12 +5522,16 @@ "401": { "$ref": "#/components/responses/HTTP401NotAuthenticatedError" }, - "404": { "description": "Application not found or disabled" }, + "404": { + "description": "Application not found or disabled" + }, "422": { "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -4457,7 +5563,11 @@ "$ref": "#/components/responses/HTTP401NotAuthenticatedError" } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] } }, "/api/oauth/apps/{app_id}/logo": { @@ -4466,20 +5576,29 @@ "summary": "Update App Logo", "description": "Update the logo URL for an OAuth application.\n\nOnly the application owner can update the logo.\nThe logo should be uploaded first using the media upload endpoint,\nthen this endpoint is called with the resulting URL.\n\nLogo requirements:\n- Must be square (1:1 aspect ratio)\n- Minimum 512x512 pixels\n- Maximum 2048x2048 pixels\n\nReturns the updated application info.", "operationId": "patchOauthUpdateAppLogo", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "app_id", "in": "path", "required": true, - "schema": { "type": "string", "title": "App Id" } + "schema": { + "type": "string", + "title": "App Id" + } } ], "requestBody": { "required": true, "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/UpdateAppLogoRequest" } + "schema": { + "$ref": "#/components/schemas/UpdateAppLogoRequest" + } } } }, @@ -4501,7 +5620,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -4514,13 +5635,20 @@ "summary": "Upload App Logo", "description": "Upload a logo image for an OAuth application.\n\nRequirements:\n- Image must be square (1:1 aspect ratio)\n- Minimum 512x512 pixels\n- Maximum 2048x2048 pixels\n- Allowed formats: JPEG, PNG, WebP\n- Maximum file size: 3MB\n\nThe image is uploaded to cloud storage and the app's logoUrl is updated.\nReturns the updated application info.", "operationId": "postOauthUploadAppLogo", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "app_id", "in": "path", "required": true, - "schema": { "type": "string", "title": "App Id" } + "schema": { + "type": "string", + "title": "App Id" + } } ], "requestBody": { @@ -4551,7 +5679,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -4564,13 +5694,20 @@ "summary": "Update App Status", "description": "Enable or disable an OAuth application.\n\nOnly the application owner can update the status.\nWhen disabled, the application cannot be used for new authorizations\nand existing access tokens will fail validation.\n\nReturns the updated application info.", "operationId": "patchOauthUpdateAppStatus", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "app_id", "in": "path", "required": true, - "schema": { "type": "string", "title": "App Id" } + "schema": { + "type": "string", + "title": "App Id" + } } ], "requestBody": { @@ -4601,7 +5738,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -4617,7 +5756,9 @@ "requestBody": { "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/AuthorizeRequest" } + "schema": { + "$ref": "#/components/schemas/AuthorizeRequest" + } } }, "required": true @@ -4627,7 +5768,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/AuthorizeResponse" } + "schema": { + "$ref": "#/components/schemas/AuthorizeResponse" + } } } }, @@ -4638,12 +5781,18 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] } }, "/api/oauth/introspect": { @@ -4677,7 +5826,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -4693,7 +5844,9 @@ "requestBody": { "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/Body_postOauthRevoke" } + "schema": { + "$ref": "#/components/schemas/Body_postOauthRevoke" + } } }, "required": true @@ -4701,13 +5854,19 @@ "responses": { "200": { "description": "Successful Response", - "content": { "application/json": { "schema": {} } } + "content": { + "application/json": { + "schema": {} + } + } }, "422": { "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -4725,8 +5884,12 @@ "application/json": { "schema": { "anyOf": [ - { "$ref": "#/components/schemas/TokenRequestByCode" }, - { "$ref": "#/components/schemas/TokenRequestByRefreshToken" } + { + "$ref": "#/components/schemas/TokenRequestByCode" + }, + { + "$ref": "#/components/schemas/TokenRequestByRefreshToken" + } ], "title": "Request" } @@ -4739,7 +5902,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/TokenResponse" } + "schema": { + "$ref": "#/components/schemas/TokenResponse" + } } } }, @@ -4747,7 +5912,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -4764,7 +5931,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/UserOnboarding" } + "schema": { + "$ref": "#/components/schemas/UserOnboarding" + } } } }, @@ -4772,7 +5941,11 @@ "$ref": "#/components/responses/HTTP401NotAuthenticatedError" } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] }, "patch": { "tags": ["v1", "onboarding"], @@ -4781,7 +5954,9 @@ "requestBody": { "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/UserOnboardingUpdate" } + "schema": { + "$ref": "#/components/schemas/UserOnboardingUpdate" + } } }, "required": true @@ -4791,7 +5966,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/UserOnboarding" } + "schema": { + "$ref": "#/components/schemas/UserOnboarding" + } } } }, @@ -4802,12 +5979,18 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] } }, "/api/onboarding/agents": { @@ -4821,7 +6004,9 @@ "content": { "application/json": { "schema": { - "items": { "$ref": "#/components/schemas/StoreAgentDetails" }, + "items": { + "$ref": "#/components/schemas/StoreAgentDetails" + }, "type": "array", "title": "Response Getv1Recommended Onboarding Agents" } @@ -4832,7 +6017,11 @@ "$ref": "#/components/responses/HTTP401NotAuthenticatedError" } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] } }, "/api/onboarding/enabled": { @@ -4855,7 +6044,11 @@ "$ref": "#/components/responses/HTTP401NotAuthenticatedError" } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] } }, "/api/onboarding/reset": { @@ -4868,7 +6061,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/UserOnboarding" } + "schema": { + "$ref": "#/components/schemas/UserOnboarding" + } } } }, @@ -4876,7 +6071,11 @@ "$ref": "#/components/responses/HTTP401NotAuthenticatedError" } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] } }, "/api/onboarding/step": { @@ -4884,7 +6083,11 @@ "tags": ["v1", "onboarding"], "summary": "Complete onboarding step", "operationId": "postV1Complete onboarding step", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "step", @@ -4911,7 +6114,11 @@ "responses": { "200": { "description": "Successful Response", - "content": { "application/json": { "schema": {} } } + "content": { + "application/json": { + "schema": {} + } + } }, "401": { "$ref": "#/components/responses/HTTP401NotAuthenticatedError" @@ -4920,7 +6127,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -4936,7 +6145,9 @@ "requestBody": { "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/ChatRequest" } + "schema": { + "$ref": "#/components/schemas/ChatRequest" + } } }, "required": true @@ -4946,7 +6157,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/ApiResponse" } + "schema": { + "$ref": "#/components/schemas/ApiResponse" + } } } }, @@ -4957,12 +6170,18 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] } }, "/api/public/shared/{share_token}": { @@ -4998,7 +6217,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -5014,7 +6235,9 @@ "requestBody": { "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/ReviewRequest" } + "schema": { + "$ref": "#/components/schemas/ReviewRequest" + } } }, "required": true @@ -5024,7 +6247,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/ReviewResponse" } + "schema": { + "$ref": "#/components/schemas/ReviewResponse" + } } } }, @@ -5035,12 +6260,18 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] } }, "/api/review/execution/{graph_exec_id}": { @@ -5049,13 +6280,20 @@ "summary": "Get Pending Reviews for Execution", "description": "Get all pending reviews for a specific graph execution.\n\nRetrieves all reviews with status \"WAITING\" for the specified graph execution\nthat belong to the authenticated user. Results are ordered by creation time\n(oldest first) to preserve review order within the execution.\n\nArgs:\n graph_exec_id: ID of the graph execution to get reviews for\n user_id: Authenticated user ID from security dependency\n\nReturns:\n List of pending review objects for the specified execution\n\nRaises:\n HTTPException:\n - 404: If the graph execution doesn't exist or isn't owned by this user\n - 500: If authentication fails or database error occurs\n\nNote:\n Only returns reviews owned by the authenticated user for security.\n Reviews with invalid status are excluded with warning logs.", "operationId": "getV2Get pending reviews for execution", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "graph_exec_id", "in": "path", "required": true, - "schema": { "type": "string", "title": "Graph Exec Id" } + "schema": { + "type": "string", + "title": "Graph Exec Id" + } } ], "responses": { @@ -5076,18 +6314,24 @@ "401": { "$ref": "#/components/responses/HTTP401NotAuthenticatedError" }, - "404": { "description": "Graph execution not found" }, + "404": { + "description": "Graph execution not found" + }, "422": { "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } }, "500": { "description": "Server error", - "content": { "application/json": {} } + "content": { + "application/json": {} + } } } } @@ -5098,7 +6342,11 @@ "summary": "Get Pending Reviews", "description": "Get all pending reviews for the current user.\n\nRetrieves all reviews with status \"WAITING\" that belong to the authenticated user.\nResults are ordered by creation time (newest first).\n\nArgs:\n user_id: Authenticated user ID from security dependency\n\nReturns:\n List of pending review objects with status converted to typed literals\n\nRaises:\n HTTPException: If authentication fails or database error occurs\n\nNote:\n Reviews with invalid status values are logged as warnings but excluded\n from results rather than failing the entire request.", "operationId": "getV2Get pending reviews", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "page", @@ -5150,13 +6398,17 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } }, "500": { "description": "Server error", - "content": { "application/json": {} } + "content": { + "application/json": {} + } } } } @@ -5185,7 +6437,11 @@ "$ref": "#/components/responses/HTTP401NotAuthenticatedError" } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] } }, "/api/schedules/{schedule_id}": { @@ -5193,7 +6449,11 @@ "tags": ["v1", "schedules"], "summary": "Delete execution schedule", "operationId": "deleteV1Delete execution schedule", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "schedule_id", @@ -5227,7 +6487,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -5240,7 +6502,11 @@ "summary": "Get Admin Listings History", "description": "Get store listings with their version history for admins.\n\nThis provides a consolidated view of listings with their versions,\nallowing for an expandable UI in the admin dashboard.\n\nArgs:\n status: Filter by submission status (PENDING, APPROVED, REJECTED)\n search: Search by name, description, or user email\n page: Page number for pagination\n page_size: Number of items per page\n\nReturns:\n StoreListingsWithVersionsResponse with listings and their versions", "operationId": "getV2Get admin listings history", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "status", @@ -5248,8 +6514,12 @@ "required": false, "schema": { "anyOf": [ - { "$ref": "#/components/schemas/SubmissionStatus" }, - { "type": "null" } + { + "$ref": "#/components/schemas/SubmissionStatus" + }, + { + "type": "null" + } ], "title": "Status" } @@ -5259,7 +6529,14 @@ "in": "query", "required": false, "schema": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Search" } }, @@ -5267,13 +6544,21 @@ "name": "page", "in": "query", "required": false, - "schema": { "type": "integer", "default": 1, "title": "Page" } + "schema": { + "type": "integer", + "default": 1, + "title": "Page" + } }, { "name": "page_size", "in": "query", "required": false, - "schema": { "type": "integer", "default": 20, "title": "Page Size" } + "schema": { + "type": "integer", + "default": 20, + "title": "Page Size" + } } ], "responses": { @@ -5294,7 +6579,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -5307,7 +6594,11 @@ "summary": "Admin Download Agent File", "description": "Download the agent file by streaming its content.\n\nArgs:\n store_listing_version_id (str): The ID of the agent to download\n\nReturns:\n StreamingResponse: A streaming response containing the agent's graph data.\n\nRaises:\n HTTPException: If the agent is not found or an unexpected error occurs.", "operationId": "getV2Admin download agent file", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "store_listing_version_id", @@ -5324,7 +6615,11 @@ "responses": { "200": { "description": "Successful Response", - "content": { "application/json": { "schema": {} } } + "content": { + "application/json": { + "schema": {} + } + } }, "401": { "$ref": "#/components/responses/HTTP401NotAuthenticatedError" @@ -5333,7 +6628,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -5346,13 +6643,20 @@ "summary": "Review Store Submission", "description": "Review a store listing submission.\n\nArgs:\n store_listing_version_id: ID of the submission to review\n request: Review details including approval status and comments\n user_id: Authenticated admin user performing the review\n\nReturns:\n StoreSubmission with updated review information", "operationId": "postV2Review store submission", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "store_listing_version_id", "in": "path", "required": true, - "schema": { "type": "string", "title": "Store Listing Version Id" } + "schema": { + "type": "string", + "title": "Store Listing Version Id" + } } ], "requestBody": { @@ -5370,7 +6674,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/StoreSubmission" } + "schema": { + "$ref": "#/components/schemas/StoreSubmission" + } } } }, @@ -5381,7 +6687,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -5410,7 +6718,14 @@ "in": "query", "required": false, "schema": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Creator" } }, @@ -5424,7 +6739,9 @@ "enum": ["rating", "runs", "name", "updated_at"], "type": "string" }, - { "type": "null" } + { + "type": "null" + } ], "title": "Sorted By" } @@ -5434,7 +6751,14 @@ "in": "query", "required": false, "schema": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Search Query" } }, @@ -5443,7 +6767,14 @@ "in": "query", "required": false, "schema": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Category" } }, @@ -5451,13 +6782,21 @@ "name": "page", "in": "query", "required": false, - "schema": { "type": "integer", "default": 1, "title": "Page" } + "schema": { + "type": "integer", + "default": 1, + "title": "Page" + } }, { "name": "page_size", "in": "query", "required": false, - "schema": { "type": "integer", "default": 20, "title": "Page Size" } + "schema": { + "type": "integer", + "default": 20, + "title": "Page Size" + } } ], "responses": { @@ -5465,7 +6804,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/StoreAgentsResponse" } + "schema": { + "$ref": "#/components/schemas/StoreAgentsResponse" + } } } }, @@ -5473,7 +6814,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -5486,13 +6829,20 @@ "summary": "Get agent by version", "description": "Get Store Agent Details from Store Listing Version ID.", "operationId": "getV2Get agent by version", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "store_listing_version_id", "in": "path", "required": true, - "schema": { "type": "string", "title": "Store Listing Version Id" } + "schema": { + "type": "string", + "title": "Store Listing Version Id" + } } ], "responses": { @@ -5500,7 +6850,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/StoreAgentDetails" } + "schema": { + "$ref": "#/components/schemas/StoreAgentDetails" + } } } }, @@ -5511,7 +6863,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -5529,13 +6883,19 @@ "name": "username", "in": "path", "required": true, - "schema": { "type": "string", "title": "Username" } + "schema": { + "type": "string", + "title": "Username" + } }, { "name": "agent_name", "in": "path", "required": true, - "schema": { "type": "string", "title": "Agent Name" } + "schema": { + "type": "string", + "title": "Agent Name" + } }, { "name": "include_changelog", @@ -5553,7 +6913,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/StoreAgentDetails" } + "schema": { + "$ref": "#/components/schemas/StoreAgentDetails" + } } } }, @@ -5561,7 +6923,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -5574,26 +6938,38 @@ "summary": "Create agent review", "description": "Create a review for a store agent.\n\nArgs:\n username: Creator's username\n agent_name: Name/slug of the agent\n review: Review details including score and optional comments\n user_id: ID of authenticated user creating the review\n\nReturns:\n The created review", "operationId": "postV2Create agent review", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "username", "in": "path", "required": true, - "schema": { "type": "string", "title": "Username" } + "schema": { + "type": "string", + "title": "Username" + } }, { "name": "agent_name", "in": "path", "required": true, - "schema": { "type": "string", "title": "Agent Name" } + "schema": { + "type": "string", + "title": "Agent Name" + } } ], "requestBody": { "required": true, "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/StoreReviewCreate" } + "schema": { + "$ref": "#/components/schemas/StoreReviewCreate" + } } } }, @@ -5602,7 +6978,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/StoreReview" } + "schema": { + "$ref": "#/components/schemas/StoreReview" + } } } }, @@ -5613,7 +6991,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -5631,7 +7011,10 @@ "name": "username", "in": "path", "required": true, - "schema": { "type": "string", "title": "Username" } + "schema": { + "type": "string", + "title": "Username" + } } ], "responses": { @@ -5639,7 +7022,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/CreatorDetails" } + "schema": { + "$ref": "#/components/schemas/CreatorDetails" + } } } }, @@ -5647,7 +7032,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -5676,7 +7063,14 @@ "in": "query", "required": false, "schema": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Search Query" } }, @@ -5690,7 +7084,9 @@ "enum": ["agent_rating", "agent_runs", "num_agents"], "type": "string" }, - { "type": "null" } + { + "type": "null" + } ], "title": "Sorted By" } @@ -5699,13 +7095,21 @@ "name": "page", "in": "query", "required": false, - "schema": { "type": "integer", "default": 1, "title": "Page" } + "schema": { + "type": "integer", + "default": 1, + "title": "Page" + } }, { "name": "page_size", "in": "query", "required": false, - "schema": { "type": "integer", "default": 20, "title": "Page Size" } + "schema": { + "type": "integer", + "default": 20, + "title": "Page Size" + } } ], "responses": { @@ -5713,7 +7117,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/CreatorsResponse" } + "schema": { + "$ref": "#/components/schemas/CreatorsResponse" + } } } }, @@ -5721,7 +7127,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -5750,13 +7158,19 @@ "responses": { "200": { "description": "Successful Response", - "content": { "application/json": { "schema": {} } } + "content": { + "application/json": { + "schema": {} + } + } }, "422": { "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -5769,13 +7183,20 @@ "summary": "Get agent graph", "description": "Get Agent Graph from Store Listing Version ID.", "operationId": "getV2Get agent graph", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "store_listing_version_id", "in": "path", "required": true, - "schema": { "type": "string", "title": "Store Listing Version Id" } + "schema": { + "type": "string", + "title": "Store Listing Version Id" + } } ], "responses": { @@ -5796,7 +7217,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -5812,7 +7235,13 @@ "responses": { "200": { "description": "Successful Response", - "content": { "text/plain": { "schema": { "type": "string" } } } + "content": { + "text/plain": { + "schema": { + "type": "string" + } + } + } } } } @@ -5823,7 +7252,11 @@ "summary": "Get my agents", "description": "Get user's own agents.", "operationId": "getV2Get my agents", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "page", @@ -5853,7 +7286,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/MyAgentsResponse" } + "schema": { + "$ref": "#/components/schemas/MyAgentsResponse" + } } } }, @@ -5864,7 +7299,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -5882,7 +7319,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/ProfileDetails" } + "schema": { + "$ref": "#/components/schemas/ProfileDetails" + } } } }, @@ -5890,7 +7329,11 @@ "$ref": "#/components/responses/HTTP401NotAuthenticatedError" } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] }, "post": { "tags": ["v2", "store", "private"], @@ -5900,7 +7343,9 @@ "requestBody": { "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/Profile" } + "schema": { + "$ref": "#/components/schemas/Profile" + } } }, "required": true @@ -5910,7 +7355,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/CreatorDetails" } + "schema": { + "$ref": "#/components/schemas/CreatorDetails" + } } } }, @@ -5921,12 +7368,18 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] } }, "/api/store/search": { @@ -5935,13 +7388,20 @@ "summary": "Unified search across all content types", "description": "Search across all content types (store agents, blocks, documentation) using hybrid search.\n\nCombines semantic (embedding-based) and lexical (text-based) search for best results.\n\nArgs:\n query: The search query string\n content_types: Optional list of content types to filter by (STORE_AGENT, BLOCK, DOCUMENTATION)\n page: Page number for pagination (default 1)\n page_size: Number of results per page (default 20)\n user_id: Optional authenticated user ID (for user-scoped content in future)\n\nReturns:\n UnifiedSearchResponse: Paginated list of search results with relevance scores", "operationId": "getV2Unified search across all content types", - "security": [{ "HTTPBearer": [] }], + "security": [ + { + "HTTPBearer": [] + } + ], "parameters": [ { "name": "query", "in": "query", "required": true, - "schema": { "type": "string", "title": "Query" } + "schema": { + "type": "string", + "title": "Query" + } }, { "name": "content_types", @@ -5949,8 +7409,15 @@ "required": false, "schema": { "anyOf": [ - { "type": "array", "items": { "type": "string" } }, - { "type": "null" } + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "null" + } ], "description": "Content types to search: STORE_AGENT, BLOCK, DOCUMENTATION. If not specified, searches all.", "title": "Content Types" @@ -5961,13 +7428,21 @@ "name": "page", "in": "query", "required": false, - "schema": { "type": "integer", "default": 1, "title": "Page" } + "schema": { + "type": "integer", + "default": 1, + "title": "Page" + } }, { "name": "page_size", "in": "query", "required": false, - "schema": { "type": "integer", "default": 20, "title": "Page Size" } + "schema": { + "type": "integer", + "default": 20, + "title": "Page Size" + } } ], "responses": { @@ -5985,7 +7460,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -5998,19 +7475,31 @@ "summary": "List my submissions", "description": "Get a paginated list of store submissions for the authenticated user.\n\nArgs:\n user_id (str): ID of the authenticated user\n page (int, optional): Page number for pagination. Defaults to 1.\n page_size (int, optional): Number of submissions per page. Defaults to 20.\n\nReturns:\n StoreListingsResponse: Paginated list of store submissions\n\nRaises:\n HTTPException: If page or page_size are less than 1", "operationId": "getV2List my submissions", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "page", "in": "query", "required": false, - "schema": { "type": "integer", "default": 1, "title": "Page" } + "schema": { + "type": "integer", + "default": 1, + "title": "Page" + } }, { "name": "page_size", "in": "query", "required": false, - "schema": { "type": "integer", "default": 20, "title": "Page Size" } + "schema": { + "type": "integer", + "default": 20, + "title": "Page Size" + } } ], "responses": { @@ -6031,7 +7520,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -6042,7 +7533,11 @@ "summary": "Create store submission", "description": "Create a new store listing submission.\n\nArgs:\n submission_request (StoreSubmissionRequest): The submission details\n user_id (str): ID of the authenticated user submitting the listing\n\nReturns:\n StoreSubmission: The created store submission\n\nRaises:\n HTTPException: If there is an error creating the submission", "operationId": "postV2Create store submission", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "requestBody": { "required": true, "content": { @@ -6058,7 +7553,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/StoreSubmission" } + "schema": { + "$ref": "#/components/schemas/StoreSubmission" + } } } }, @@ -6069,7 +7566,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -6082,19 +7581,30 @@ "summary": "Generate submission image", "description": "Generate an image for a store listing submission.\n\nArgs:\n agent_id (str): ID of the agent to generate an image for\n user_id (str): ID of the authenticated user\n\nReturns:\n JSONResponse: JSON containing the URL of the generated image", "operationId": "postV2Generate submission image", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "agent_id", "in": "query", "required": true, - "schema": { "type": "string", "title": "Agent Id" } + "schema": { + "type": "string", + "title": "Agent Id" + } } ], "responses": { "200": { "description": "Successful Response", - "content": { "application/json": { "schema": {} } } + "content": { + "application/json": { + "schema": {} + } + } }, "401": { "$ref": "#/components/responses/HTTP401NotAuthenticatedError" @@ -6103,7 +7613,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -6129,7 +7641,11 @@ "responses": { "200": { "description": "Successful Response", - "content": { "application/json": { "schema": {} } } + "content": { + "application/json": { + "schema": {} + } + } }, "401": { "$ref": "#/components/responses/HTTP401NotAuthenticatedError" @@ -6138,12 +7654,18 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] } }, "/api/store/submissions/{store_listing_version_id}": { @@ -6152,13 +7674,20 @@ "summary": "Edit store submission", "description": "Edit an existing store listing submission.\n\nArgs:\n store_listing_version_id (str): ID of the store listing version to edit\n submission_request (StoreSubmissionRequest): The updated submission details\n user_id (str): ID of the authenticated user editing the listing\n\nReturns:\n StoreSubmission: The updated store submission\n\nRaises:\n HTTPException: If there is an error editing the submission", "operationId": "putV2Edit store submission", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "store_listing_version_id", "in": "path", "required": true, - "schema": { "type": "string", "title": "Store Listing Version Id" } + "schema": { + "type": "string", + "title": "Store Listing Version Id" + } } ], "requestBody": { @@ -6176,7 +7705,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/StoreSubmission" } + "schema": { + "$ref": "#/components/schemas/StoreSubmission" + } } } }, @@ -6187,7 +7718,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -6200,13 +7733,20 @@ "summary": "Delete store submission", "description": "Delete a store listing submission.\n\nArgs:\n user_id (str): ID of the authenticated user\n submission_id (str): ID of the submission to be deleted\n\nReturns:\n bool: True if the submission was successfully deleted, False otherwise", "operationId": "deleteV2Delete store submission", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "submission_id", "in": "path", "required": true, - "schema": { "type": "string", "title": "Submission Id" } + "schema": { + "type": "string", + "title": "Submission Id" + } } ], "responses": { @@ -6228,7 +7768,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -6241,19 +7783,30 @@ "summary": "Download file by ID", "description": "Download a file by its ID.\n\nReturns the file content directly or redirects to a signed URL for GCS.", "operationId": "getWorkspaceDownload file by id", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "file_id", "in": "path", "required": true, - "schema": { "type": "string", "title": "File Id" } + "schema": { + "type": "string", + "title": "File Id" + } } ], "responses": { "200": { "description": "Successful Response", - "content": { "application/json": { "schema": {} } } + "content": { + "application/json": { + "schema": {} + } + } }, "401": { "$ref": "#/components/responses/HTTP401NotAuthenticatedError" @@ -6262,7 +7815,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -6277,7 +7832,11 @@ "responses": { "200": { "description": "Successful Response", - "content": { "application/json": { "schema": {} } } + "content": { + "application/json": { + "schema": {} + } + } } } } @@ -6287,10 +7846,23 @@ "schemas": { "APIKeyCredentials": { "properties": { - "id": { "type": "string", "title": "Id" }, - "provider": { "type": "string", "title": "Provider" }, + "id": { + "type": "string", + "title": "Id" + }, + "provider": { + "type": "string", + "title": "Provider" + }, "title": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Title" }, "type": { @@ -6306,7 +7878,14 @@ "writeOnly": true }, "expires_at": { - "anyOf": [{ "type": "integer" }, { "type": "null" }], + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], "title": "Expires At", "description": "Unix timestamp (seconds) indicating when the API key expires (if at all)" } @@ -6317,9 +7896,14 @@ }, "APIKeyInfo": { "properties": { - "user_id": { "type": "string", "title": "User Id" }, + "user_id": { + "type": "string", + "title": "User Id" + }, "scopes": { - "items": { "$ref": "#/components/schemas/APIKeyPermission" }, + "items": { + "$ref": "#/components/schemas/APIKeyPermission" + }, "type": "array", "title": "Scopes" }, @@ -6336,27 +7920,48 @@ }, "expires_at": { "anyOf": [ - { "type": "string", "format": "date-time" }, - { "type": "null" } + { + "type": "string", + "format": "date-time" + }, + { + "type": "null" + } ], "title": "Expires At" }, "last_used_at": { "anyOf": [ - { "type": "string", "format": "date-time" }, - { "type": "null" } + { + "type": "string", + "format": "date-time" + }, + { + "type": "null" + } ], "title": "Last Used At" }, "revoked_at": { "anyOf": [ - { "type": "string", "format": "date-time" }, - { "type": "null" } + { + "type": "string", + "format": "date-time" + }, + { + "type": "null" + } ], "title": "Revoked At" }, - "id": { "type": "string", "title": "Id" }, - "name": { "type": "string", "title": "Name" }, + "id": { + "type": "string", + "title": "Id" + }, + "name": { + "type": "string", + "title": "Name" + }, "head": { "type": "string", "title": "Head", @@ -6367,9 +7972,18 @@ "title": "Tail", "description": "The last 8 characters of the key" }, - "status": { "$ref": "#/components/schemas/APIKeyStatus" }, + "status": { + "$ref": "#/components/schemas/APIKeyStatus" + }, "description": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Description" } }, @@ -6409,14 +8023,33 @@ }, "AccuracyAlertData": { "properties": { - "graph_id": { "type": "string", "title": "Graph Id" }, + "graph_id": { + "type": "string", + "title": "Graph Id" + }, "user_id": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "User Id" }, - "drop_percent": { "type": "number", "title": "Drop Percent" }, - "three_day_avg": { "type": "number", "title": "Three Day Avg" }, - "seven_day_avg": { "type": "number", "title": "Seven Day Avg" }, + "drop_percent": { + "type": "number", + "title": "Drop Percent" + }, + "three_day_avg": { + "type": "number", + "title": "Three Day Avg" + }, + "seven_day_avg": { + "type": "number", + "title": "Seven Day Avg" + }, "detected_at": { "type": "string", "format": "date-time", @@ -6437,21 +8070,53 @@ }, "AccuracyLatestData": { "properties": { - "date": { "type": "string", "format": "date-time", "title": "Date" }, + "date": { + "type": "string", + "format": "date-time", + "title": "Date" + }, "daily_score": { - "anyOf": [{ "type": "number" }, { "type": "null" }], + "anyOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ], "title": "Daily Score" }, "three_day_avg": { - "anyOf": [{ "type": "number" }, { "type": "null" }], + "anyOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ], "title": "Three Day Avg" }, "seven_day_avg": { - "anyOf": [{ "type": "number" }, { "type": "null" }], + "anyOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ], "title": "Seven Day Avg" }, "fourteen_day_avg": { - "anyOf": [{ "type": "number" }, { "type": "null" }], + "anyOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ], "title": "Fourteen Day Avg" } }, @@ -6468,20 +8133,30 @@ }, "AccuracyTrendsResponse": { "properties": { - "latest_data": { "$ref": "#/components/schemas/AccuracyLatestData" }, + "latest_data": { + "$ref": "#/components/schemas/AccuracyLatestData" + }, "alert": { "anyOf": [ - { "$ref": "#/components/schemas/AccuracyAlertData" }, - { "type": "null" } + { + "$ref": "#/components/schemas/AccuracyAlertData" + }, + { + "type": "null" + } ] }, "historical_data": { "anyOf": [ { - "items": { "$ref": "#/components/schemas/AccuracyLatestData" }, + "items": { + "$ref": "#/components/schemas/AccuracyLatestData" + }, "type": "array" }, - { "type": "null" } + { + "type": "null" + } ], "title": "Historical Data" } @@ -6493,10 +8168,22 @@ }, "ActiveStreamInfo": { "properties": { - "task_id": { "type": "string", "title": "Task Id" }, - "last_message_id": { "type": "string", "title": "Last Message Id" }, - "operation_id": { "type": "string", "title": "Operation Id" }, - "tool_name": { "type": "string", "title": "Tool Name" } + "task_id": { + "type": "string", + "title": "Task Id" + }, + "last_message_id": { + "type": "string", + "title": "Last Message Id" + }, + "operation_id": { + "type": "string", + "title": "Operation Id" + }, + "tool_name": { + "type": "string", + "title": "Tool Name" + } }, "type": "object", "required": ["task_id", "last_message_id", "operation_id", "tool_name"], @@ -6505,8 +8192,14 @@ }, "AddUserCreditsResponse": { "properties": { - "new_balance": { "type": "integer", "title": "New Balance" }, - "transaction_key": { "type": "string", "title": "Transaction Key" } + "new_balance": { + "type": "integer", + "title": "New Balance" + }, + "transaction_key": { + "type": "string", + "title": "Transaction Key" + } }, "type": "object", "required": ["new_balance", "transaction_key"], @@ -6514,9 +8207,18 @@ }, "AgentDetails": { "properties": { - "id": { "type": "string", "title": "Id" }, - "name": { "type": "string", "title": "Name" }, - "description": { "type": "string", "title": "Description" }, + "id": { + "type": "string", + "title": "Id" + }, + "name": { + "type": "string", + "title": "Name" + }, + "description": { + "type": "string", + "title": "Description" + }, "in_library": { "type": "boolean", "title": "In Library", @@ -6529,7 +8231,9 @@ "default": {} }, "credentials": { - "items": { "$ref": "#/components/schemas/CredentialsMetaInput" }, + "items": { + "$ref": "#/components/schemas/CredentialsMetaInput" + }, "type": "array", "title": "Credentials", "default": [] @@ -6539,8 +8243,13 @@ }, "trigger_info": { "anyOf": [ - { "additionalProperties": true, "type": "object" }, - { "type": "null" } + { + "additionalProperties": true, + "type": "object" + }, + { + "type": "null" + } ], "title": "Trigger Info" } @@ -6556,23 +8265,49 @@ "$ref": "#/components/schemas/ResponseType", "default": "agent_details" }, - "message": { "type": "string", "title": "Message" }, + "message": { + "type": "string", + "title": "Message" + }, "session_id": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Session Id" }, - "agent": { "$ref": "#/components/schemas/AgentDetails" }, + "agent": { + "$ref": "#/components/schemas/AgentDetails" + }, "user_authenticated": { "type": "boolean", "title": "User Authenticated", "default": false }, "graph_id": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Graph Id" }, "graph_version": { - "anyOf": [{ "type": "integer" }, { "type": "null" }], + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], "title": "Graph Version" } }, @@ -6596,9 +8331,18 @@ }, "AgentInfo": { "properties": { - "id": { "type": "string", "title": "Id" }, - "name": { "type": "string", "title": "Name" }, - "description": { "type": "string", "title": "Description" }, + "id": { + "type": "string", + "title": "Id" + }, + "name": { + "type": "string", + "title": "Name" + }, + "description": { + "type": "string", + "title": "Description" + }, "source": { "type": "string", "title": "Source", @@ -6610,49 +8354,124 @@ "default": false }, "creator": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Creator" }, "category": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Category" }, "rating": { - "anyOf": [{ "type": "number" }, { "type": "null" }], + "anyOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ], "title": "Rating" }, "runs": { - "anyOf": [{ "type": "integer" }, { "type": "null" }], + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], "title": "Runs" }, "is_featured": { - "anyOf": [{ "type": "boolean" }, { "type": "null" }], + "anyOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ], "title": "Is Featured" }, "status": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Status" }, "can_access_graph": { - "anyOf": [{ "type": "boolean" }, { "type": "null" }], + "anyOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ], "title": "Can Access Graph" }, "has_external_trigger": { - "anyOf": [{ "type": "boolean" }, { "type": "null" }], + "anyOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ], "title": "Has External Trigger" }, "new_output": { - "anyOf": [{ "type": "boolean" }, { "type": "null" }], + "anyOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ], "title": "New Output" }, "graph_id": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Graph Id" }, "inputs": { "anyOf": [ - { "additionalProperties": true, "type": "object" }, - { "type": "null" } + { + "additionalProperties": true, + "type": "object" + }, + { + "type": "null" + } ], "title": "Inputs", "description": "Input schema for the agent, including field names, types, and defaults" @@ -6669,34 +8488,73 @@ "$ref": "#/components/schemas/ResponseType", "default": "agent_output" }, - "message": { "type": "string", "title": "Message" }, + "message": { + "type": "string", + "title": "Message" + }, "session_id": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Session Id" }, - "agent_name": { "type": "string", "title": "Agent Name" }, - "agent_id": { "type": "string", "title": "Agent Id" }, + "agent_name": { + "type": "string", + "title": "Agent Name" + }, + "agent_id": { + "type": "string", + "title": "Agent Id" + }, "library_agent_id": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Library Agent Id" }, "library_agent_link": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Library Agent Link" }, "execution": { "anyOf": [ - { "$ref": "#/components/schemas/ExecutionOutputInfo" }, - { "type": "null" } + { + "$ref": "#/components/schemas/ExecutionOutputInfo" + }, + { + "type": "null" + } ] }, "available_executions": { "anyOf": [ { - "items": { "additionalProperties": true, "type": "object" }, + "items": { + "additionalProperties": true, + "type": "object" + }, "type": "array" }, - { "type": "null" } + { + "type": "null" + } ], "title": "Available Executions" }, @@ -6717,9 +8575,19 @@ "$ref": "#/components/schemas/ResponseType", "default": "agent_preview" }, - "message": { "type": "string", "title": "Message" }, + "message": { + "type": "string", + "title": "Message" + }, "session_id": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Session Id" }, "agent_json": { @@ -6727,9 +8595,18 @@ "type": "object", "title": "Agent Json" }, - "agent_name": { "type": "string", "title": "Agent Name" }, - "description": { "type": "string", "title": "Description" }, - "node_count": { "type": "integer", "title": "Node Count" }, + "agent_name": { + "type": "string", + "title": "Agent Name" + }, + "description": { + "type": "string", + "title": "Description" + }, + "node_count": { + "type": "integer", + "title": "Node Count" + }, "link_count": { "type": "integer", "title": "Link Count", @@ -6753,19 +8630,41 @@ "$ref": "#/components/schemas/ResponseType", "default": "agent_saved" }, - "message": { "type": "string", "title": "Message" }, + "message": { + "type": "string", + "title": "Message" + }, "session_id": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Session Id" }, - "agent_id": { "type": "string", "title": "Agent Id" }, - "agent_name": { "type": "string", "title": "Agent Name" }, - "library_agent_id": { "type": "string", "title": "Library Agent Id" }, + "agent_id": { + "type": "string", + "title": "Agent Id" + }, + "agent_name": { + "type": "string", + "title": "Agent Name" + }, + "library_agent_id": { + "type": "string", + "title": "Library Agent Id" + }, "library_agent_link": { "type": "string", "title": "Library Agent Link" }, - "agent_page_link": { "type": "string", "title": "Agent Page Link" } + "agent_page_link": { + "type": "string", + "title": "Agent Page Link" + } }, "type": "object", "required": [ @@ -6785,9 +8684,19 @@ "$ref": "#/components/schemas/ResponseType", "default": "agents_found" }, - "message": { "type": "string", "title": "Message" }, + "message": { + "type": "string", + "title": "Message" + }, "session_id": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Session Id" }, "title": { @@ -6796,11 +8705,16 @@ "default": "Available Agents" }, "agents": { - "items": { "$ref": "#/components/schemas/AgentInfo" }, + "items": { + "$ref": "#/components/schemas/AgentInfo" + }, "type": "array", "title": "Agents" }, - "count": { "type": "integer", "title": "Count" }, + "count": { + "type": "integer", + "title": "Count" + }, "name": { "type": "string", "title": "Name", @@ -6814,13 +8728,21 @@ }, "ApiResponse": { "properties": { - "answer": { "type": "string", "title": "Answer" }, + "answer": { + "type": "string", + "title": "Answer" + }, "documents": { - "items": { "$ref": "#/components/schemas/Document" }, + "items": { + "$ref": "#/components/schemas/Document" + }, "type": "array", "title": "Documents" }, - "success": { "type": "boolean", "title": "Success" } + "success": { + "type": "boolean", + "title": "Success" + } }, "type": "object", "required": ["answer", "documents", "success"], @@ -6839,7 +8761,9 @@ "description": "Redirect URI" }, "scopes": { - "items": { "type": "string" }, + "items": { + "type": "string" + }, "type": "array", "title": "Scopes", "description": "List of scopes" @@ -6894,8 +8818,14 @@ }, "AutoTopUpConfig": { "properties": { - "amount": { "type": "integer", "title": "Amount" }, - "threshold": { "type": "integer", "title": "Threshold" } + "amount": { + "type": "integer", + "title": "Amount" + }, + "threshold": { + "type": "integer", + "title": "Threshold" + } }, "type": "object", "required": ["amount", "threshold"], @@ -6921,38 +8851,83 @@ }, "BaseGraph-Input": { "properties": { - "id": { "type": "string", "title": "Id" }, - "version": { "type": "integer", "title": "Version", "default": 1 }, + "id": { + "type": "string", + "title": "Id" + }, + "version": { + "type": "integer", + "title": "Version", + "default": 1 + }, "is_active": { "type": "boolean", "title": "Is Active", "default": true }, - "name": { "type": "string", "title": "Name" }, - "description": { "type": "string", "title": "Description" }, + "name": { + "type": "string", + "title": "Name" + }, + "description": { + "type": "string", + "title": "Description" + }, "instructions": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Instructions" }, "recommended_schedule_cron": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Recommended Schedule Cron" }, "forked_from_id": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Forked From Id" }, "forked_from_version": { - "anyOf": [{ "type": "integer" }, { "type": "null" }], + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], "title": "Forked From Version" }, "nodes": { - "items": { "$ref": "#/components/schemas/Node" }, + "items": { + "$ref": "#/components/schemas/Node" + }, "type": "array", "title": "Nodes" }, "links": { - "items": { "$ref": "#/components/schemas/Link" }, + "items": { + "$ref": "#/components/schemas/Link" + }, "type": "array", "title": "Links" } @@ -6964,38 +8939,83 @@ }, "BaseGraph-Output": { "properties": { - "id": { "type": "string", "title": "Id" }, - "version": { "type": "integer", "title": "Version", "default": 1 }, + "id": { + "type": "string", + "title": "Id" + }, + "version": { + "type": "integer", + "title": "Version", + "default": 1 + }, "is_active": { "type": "boolean", "title": "Is Active", "default": true }, - "name": { "type": "string", "title": "Name" }, - "description": { "type": "string", "title": "Description" }, + "name": { + "type": "string", + "title": "Name" + }, + "description": { + "type": "string", + "title": "Description" + }, "instructions": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Instructions" }, "recommended_schedule_cron": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Recommended Schedule Cron" }, "forked_from_id": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Forked From Id" }, "forked_from_version": { - "anyOf": [{ "type": "integer" }, { "type": "null" }], + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], "title": "Forked From Version" }, "nodes": { - "items": { "$ref": "#/components/schemas/Node" }, + "items": { + "$ref": "#/components/schemas/Node" + }, "type": "array", "title": "Nodes" }, "links": { - "items": { "$ref": "#/components/schemas/Link" }, + "items": { + "$ref": "#/components/schemas/Link" + }, "type": "array", "title": "Links" }, @@ -7028,8 +9048,12 @@ }, "trigger_setup_info": { "anyOf": [ - { "$ref": "#/components/schemas/GraphTriggerInfo" }, - { "type": "null" } + { + "$ref": "#/components/schemas/GraphTriggerInfo" + }, + { + "type": "null" + } ], "readOnly": true } @@ -7050,10 +9074,18 @@ }, "BlockCategoryResponse": { "properties": { - "name": { "type": "string", "title": "Name" }, - "total_blocks": { "type": "integer", "title": "Total Blocks" }, + "name": { + "type": "string", + "title": "Name" + }, + "total_blocks": { + "type": "integer", + "title": "Total Blocks" + }, "blocks": { - "items": { "$ref": "#/components/schemas/BlockInfo" }, + "items": { + "$ref": "#/components/schemas/BlockInfo" + }, "type": "array", "title": "Blocks" } @@ -7064,13 +9096,18 @@ }, "BlockCost": { "properties": { - "cost_amount": { "type": "integer", "title": "Cost Amount" }, + "cost_amount": { + "type": "integer", + "title": "Cost Amount" + }, "cost_filter": { "additionalProperties": true, "type": "object", "title": "Cost Filter" }, - "cost_type": { "$ref": "#/components/schemas/BlockCostType" } + "cost_type": { + "$ref": "#/components/schemas/BlockCostType" + } }, "type": "object", "required": ["cost_amount", "cost_filter", "cost_type"], @@ -7083,9 +9120,18 @@ }, "BlockDetails": { "properties": { - "id": { "type": "string", "title": "Id" }, - "name": { "type": "string", "title": "Name" }, - "description": { "type": "string", "title": "Description" }, + "id": { + "type": "string", + "title": "Id" + }, + "name": { + "type": "string", + "title": "Name" + }, + "description": { + "type": "string", + "title": "Description" + }, "inputs": { "additionalProperties": true, "type": "object", @@ -7099,7 +9145,9 @@ "default": {} }, "credentials": { - "items": { "$ref": "#/components/schemas/CredentialsMetaInput" }, + "items": { + "$ref": "#/components/schemas/CredentialsMetaInput" + }, "type": "array", "title": "Credentials", "default": [] @@ -7116,12 +9164,24 @@ "$ref": "#/components/schemas/ResponseType", "default": "block_details" }, - "message": { "type": "string", "title": "Message" }, + "message": { + "type": "string", + "title": "Message" + }, "session_id": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Session Id" }, - "block": { "$ref": "#/components/schemas/BlockDetails" }, + "block": { + "$ref": "#/components/schemas/BlockDetails" + }, "user_authenticated": { "type": "boolean", "title": "User Authenticated", @@ -7135,8 +9195,14 @@ }, "BlockInfo": { "properties": { - "id": { "type": "string", "title": "Id" }, - "name": { "type": "string", "title": "Name" }, + "id": { + "type": "string", + "title": "Id" + }, + "name": { + "type": "string", + "title": "Name" + }, "inputSchema": { "additionalProperties": true, "type": "object", @@ -7148,26 +9214,42 @@ "title": "Outputschema" }, "costs": { - "items": { "$ref": "#/components/schemas/BlockCost" }, + "items": { + "$ref": "#/components/schemas/BlockCost" + }, "type": "array", "title": "Costs" }, - "description": { "type": "string", "title": "Description" }, + "description": { + "type": "string", + "title": "Description" + }, "categories": { "items": { - "additionalProperties": { "type": "string" }, + "additionalProperties": { + "type": "string" + }, "type": "object" }, "type": "array", "title": "Categories" }, "contributors": { - "items": { "additionalProperties": true, "type": "object" }, + "items": { + "additionalProperties": true, + "type": "object" + }, "type": "array", "title": "Contributors" }, - "staticOutput": { "type": "boolean", "title": "Staticoutput" }, - "uiType": { "type": "string", "title": "Uitype" } + "staticOutput": { + "type": "boolean", + "title": "Staticoutput" + }, + "uiType": { + "type": "string", + "title": "Uitype" + } }, "type": "object", "required": [ @@ -7186,11 +9268,22 @@ }, "BlockInfoSummary": { "properties": { - "id": { "type": "string", "title": "Id" }, - "name": { "type": "string", "title": "Name" }, - "description": { "type": "string", "title": "Description" }, + "id": { + "type": "string", + "title": "Id" + }, + "name": { + "type": "string", + "title": "Name" + }, + "description": { + "type": "string", + "title": "Description" + }, "categories": { - "items": { "type": "string" }, + "items": { + "type": "string" + }, "type": "array", "title": "Categories" }, @@ -7207,7 +9300,9 @@ "description": "Full JSON schema for block outputs" }, "required_inputs": { - "items": { "$ref": "#/components/schemas/BlockInputFieldInfo" }, + "items": { + "$ref": "#/components/schemas/BlockInputFieldInfo" + }, "type": "array", "title": "Required Inputs", "description": "List of input fields for this block" @@ -7220,8 +9315,14 @@ }, "BlockInputFieldInfo": { "properties": { - "name": { "type": "string", "title": "Name" }, - "type": { "type": "string", "title": "Type" }, + "name": { + "type": "string", + "title": "Name" + }, + "type": { + "type": "string", + "title": "Type" + }, "description": { "type": "string", "title": "Description", @@ -7232,7 +9333,15 @@ "title": "Required", "default": false }, - "default": { "anyOf": [{}, { "type": "null" }], "title": "Default" } + "default": { + "anyOf": [ + {}, + { + "type": "null" + } + ], + "title": "Default" + } }, "type": "object", "required": ["name", "type"], @@ -7245,18 +9354,36 @@ "$ref": "#/components/schemas/ResponseType", "default": "block_list" }, - "message": { "type": "string", "title": "Message" }, + "message": { + "type": "string", + "title": "Message" + }, "session_id": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Session Id" }, "blocks": { - "items": { "$ref": "#/components/schemas/BlockInfoSummary" }, + "items": { + "$ref": "#/components/schemas/BlockInfoSummary" + }, "type": "array", "title": "Blocks" }, - "count": { "type": "integer", "title": "Count" }, - "query": { "type": "string", "title": "Query" }, + "count": { + "type": "integer", + "title": "Count" + }, + "query": { + "type": "string", + "title": "Query" + }, "usage_hint": { "type": "string", "title": "Usage Hint", @@ -7274,19 +9401,42 @@ "$ref": "#/components/schemas/ResponseType", "default": "block_output" }, - "message": { "type": "string", "title": "Message" }, + "message": { + "type": "string", + "title": "Message" + }, "session_id": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Session Id" }, - "block_id": { "type": "string", "title": "Block Id" }, - "block_name": { "type": "string", "title": "Block Name" }, + "block_id": { + "type": "string", + "title": "Block Id" + }, + "block_name": { + "type": "string", + "title": "Block Name" + }, "outputs": { - "additionalProperties": { "items": {}, "type": "array" }, + "additionalProperties": { + "items": {}, + "type": "array" + }, "type": "object", "title": "Outputs" }, - "success": { "type": "boolean", "title": "Success", "default": true } + "success": { + "type": "boolean", + "title": "Success", + "default": true + } }, "type": "object", "required": ["message", "block_id", "block_name", "outputs"], @@ -7296,11 +9446,15 @@ "BlockResponse": { "properties": { "blocks": { - "items": { "$ref": "#/components/schemas/BlockInfo" }, + "items": { + "$ref": "#/components/schemas/BlockInfo" + }, "type": "array", "title": "Blocks" }, - "pagination": { "$ref": "#/components/schemas/Pagination" } + "pagination": { + "$ref": "#/components/schemas/Pagination" + } }, "type": "object", "required": ["blocks", "pagination"], @@ -7320,7 +9474,10 @@ }, "Body_postAnalyticsLogRawAnalytics": { "properties": { - "type": { "type": "string", "title": "Type" }, + "type": { + "type": "string", + "title": "Type" + }, "data": { "additionalProperties": true, "type": "object", @@ -7346,8 +9503,13 @@ }, "token_type_hint": { "anyOf": [ - { "type": "string", "enum": ["access_token", "refresh_token"] }, - { "type": "null" } + { + "type": "string", + "enum": ["access_token", "refresh_token"] + }, + { + "type": "null" + } ], "title": "Token Type Hint", "description": "Hint about token type ('access_token' or 'refresh_token')" @@ -7376,8 +9538,13 @@ }, "token_type_hint": { "anyOf": [ - { "type": "string", "enum": ["access_token", "refresh_token"] }, - { "type": "null" } + { + "type": "string", + "enum": ["access_token", "refresh_token"] + }, + { + "type": "null" + } ], "title": "Token Type Hint", "description": "Hint about token type ('access_token' or 'refresh_token')" @@ -7399,7 +9566,11 @@ }, "Body_postOauthUploadAppLogo": { "properties": { - "file": { "type": "string", "format": "binary", "title": "File" } + "file": { + "type": "string", + "format": "binary", + "title": "File" + } }, "type": "object", "required": ["file"], @@ -7411,7 +9582,10 @@ "type": "string", "title": "Authorization code acquired by user login" }, - "state_token": { "type": "string", "title": "Anti-CSRF nonce" } + "state_token": { + "type": "string", + "title": "Anti-CSRF nonce" + } }, "type": "object", "required": ["code", "state_token"], @@ -7437,7 +9611,9 @@ "type": "string", "enum": ["builder", "library", "onboarding"] }, - { "type": "null" } + { + "type": "null" + } ], "title": "Source" } @@ -7447,7 +9623,11 @@ }, "Body_postV1Upload_file_to_cloud_storage": { "properties": { - "file": { "type": "string", "format": "binary", "title": "File" } + "file": { + "type": "string", + "format": "binary", + "title": "File" + } }, "type": "object", "required": ["file"], @@ -7455,9 +9635,18 @@ }, "Body_postV2Add_credits_to_user": { "properties": { - "user_id": { "type": "string", "title": "User Id" }, - "amount": { "type": "integer", "title": "Amount" }, - "comments": { "type": "string", "title": "Comments" } + "user_id": { + "type": "string", + "title": "User Id" + }, + "amount": { + "type": "integer", + "title": "Amount" + }, + "comments": { + "type": "string", + "title": "Comments" + } }, "type": "object", "required": ["user_id", "amount", "comments"], @@ -7500,7 +9689,11 @@ }, "Body_postV2Upload_submission_media": { "properties": { - "file": { "type": "string", "format": "binary", "title": "File" } + "file": { + "type": "string", + "format": "binary", + "title": "File" + } }, "type": "object", "required": ["file"], @@ -7508,9 +9701,19 @@ }, "ChangelogEntry": { "properties": { - "version": { "type": "string", "title": "Version" }, - "changes_summary": { "type": "string", "title": "Changes Summary" }, - "date": { "type": "string", "format": "date-time", "title": "Date" } + "version": { + "type": "string", + "title": "Version" + }, + "changes_summary": { + "type": "string", + "title": "Changes Summary" + }, + "date": { + "type": "string", + "format": "date-time", + "title": "Date" + } }, "type": "object", "required": ["version", "changes_summary", "date"], @@ -7518,20 +9721,35 @@ }, "ChatRequest": { "properties": { - "query": { "type": "string", "title": "Query" }, + "query": { + "type": "string", + "title": "Query" + }, "conversation_history": { - "items": { "$ref": "#/components/schemas/Message" }, + "items": { + "$ref": "#/components/schemas/Message" + }, "type": "array", "title": "Conversation History" }, - "message_id": { "type": "string", "title": "Message Id" }, + "message_id": { + "type": "string", + "title": "Message Id" + }, "include_graph_data": { "type": "boolean", "title": "Include Graph Data", "default": false }, "graph_id": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Graph Id" } }, @@ -7545,13 +9763,25 @@ "$ref": "#/components/schemas/ResponseType", "default": "clarification_needed" }, - "message": { "type": "string", "title": "Message" }, + "message": { + "type": "string", + "title": "Message" + }, "session_id": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Session Id" }, "questions": { - "items": { "$ref": "#/components/schemas/ClarifyingQuestion" }, + "items": { + "$ref": "#/components/schemas/ClarifyingQuestion" + }, "type": "array", "title": "Questions" } @@ -7563,10 +9793,23 @@ }, "ClarifyingQuestion": { "properties": { - "question": { "type": "string", "title": "Question" }, - "keyword": { "type": "string", "title": "Keyword" }, + "question": { + "type": "string", + "title": "Question" + }, + "keyword": { + "type": "string", + "title": "Keyword" + }, "example": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Example" } }, @@ -7577,16 +9820,34 @@ }, "CountResponse": { "properties": { - "all_blocks": { "type": "integer", "title": "All Blocks" }, - "input_blocks": { "type": "integer", "title": "Input Blocks" }, - "action_blocks": { "type": "integer", "title": "Action Blocks" }, - "output_blocks": { "type": "integer", "title": "Output Blocks" }, - "integrations": { "type": "integer", "title": "Integrations" }, + "all_blocks": { + "type": "integer", + "title": "All Blocks" + }, + "input_blocks": { + "type": "integer", + "title": "Input Blocks" + }, + "action_blocks": { + "type": "integer", + "title": "Action Blocks" + }, + "output_blocks": { + "type": "integer", + "title": "Output Blocks" + }, + "integrations": { + "type": "integer", + "title": "Integrations" + }, "marketplace_agents": { "type": "integer", "title": "Marketplace Agents" }, - "my_agents": { "type": "integer", "title": "My Agents" } + "my_agents": { + "type": "integer", + "title": "My Agents" + } }, "type": "object", "required": [ @@ -7602,14 +9863,26 @@ }, "CreateAPIKeyRequest": { "properties": { - "name": { "type": "string", "title": "Name" }, + "name": { + "type": "string", + "title": "Name" + }, "permissions": { - "items": { "$ref": "#/components/schemas/APIKeyPermission" }, + "items": { + "$ref": "#/components/schemas/APIKeyPermission" + }, "type": "array", "title": "Permissions" }, "description": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Description" } }, @@ -7619,8 +9892,13 @@ }, "CreateAPIKeyResponse": { "properties": { - "api_key": { "$ref": "#/components/schemas/APIKeyInfo" }, - "plain_text_key": { "type": "string", "title": "Plain Text Key" } + "api_key": { + "$ref": "#/components/schemas/APIKeyInfo" + }, + "plain_text_key": { + "type": "string", + "title": "Plain Text Key" + } }, "type": "object", "required": ["api_key", "plain_text_key"], @@ -7628,11 +9906,18 @@ }, "CreateGraph": { "properties": { - "graph": { "$ref": "#/components/schemas/Graph" }, + "graph": { + "$ref": "#/components/schemas/Graph" + }, "source": { "anyOf": [ - { "type": "string", "enum": ["builder", "upload"] }, - { "type": "null" } + { + "type": "string", + "enum": ["builder", "upload"] + }, + { + "type": "null" + } ], "title": "Source" } @@ -7643,10 +9928,23 @@ }, "CreateSessionResponse": { "properties": { - "id": { "type": "string", "title": "Id" }, - "created_at": { "type": "string", "title": "Created At" }, + "id": { + "type": "string", + "title": "Id" + }, + "created_at": { + "type": "string", + "title": "Created At" + }, "user_id": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "User Id" } }, @@ -7657,14 +9955,38 @@ }, "Creator": { "properties": { - "name": { "type": "string", "title": "Name" }, - "username": { "type": "string", "title": "Username" }, - "description": { "type": "string", "title": "Description" }, - "avatar_url": { "type": "string", "title": "Avatar Url" }, - "num_agents": { "type": "integer", "title": "Num Agents" }, - "agent_rating": { "type": "number", "title": "Agent Rating" }, - "agent_runs": { "type": "integer", "title": "Agent Runs" }, - "is_featured": { "type": "boolean", "title": "Is Featured" } + "name": { + "type": "string", + "title": "Name" + }, + "username": { + "type": "string", + "title": "Username" + }, + "description": { + "type": "string", + "title": "Description" + }, + "avatar_url": { + "type": "string", + "title": "Avatar Url" + }, + "num_agents": { + "type": "integer", + "title": "Num Agents" + }, + "agent_rating": { + "type": "number", + "title": "Agent Rating" + }, + "agent_runs": { + "type": "integer", + "title": "Agent Runs" + }, + "is_featured": { + "type": "boolean", + "title": "Is Featured" + } }, "type": "object", "required": [ @@ -7681,19 +10003,41 @@ }, "CreatorDetails": { "properties": { - "name": { "type": "string", "title": "Name" }, - "username": { "type": "string", "title": "Username" }, - "description": { "type": "string", "title": "Description" }, + "name": { + "type": "string", + "title": "Name" + }, + "username": { + "type": "string", + "title": "Username" + }, + "description": { + "type": "string", + "title": "Description" + }, "links": { - "items": { "type": "string" }, + "items": { + "type": "string" + }, "type": "array", "title": "Links" }, - "avatar_url": { "type": "string", "title": "Avatar Url" }, - "agent_rating": { "type": "number", "title": "Agent Rating" }, - "agent_runs": { "type": "integer", "title": "Agent Runs" }, + "avatar_url": { + "type": "string", + "title": "Avatar Url" + }, + "agent_rating": { + "type": "number", + "title": "Agent Rating" + }, + "agent_runs": { + "type": "integer", + "title": "Agent Runs" + }, "top_categories": { - "items": { "type": "string" }, + "items": { + "type": "string" + }, "type": "array", "title": "Top Categories" } @@ -7714,11 +10058,15 @@ "CreatorsResponse": { "properties": { "creators": { - "items": { "$ref": "#/components/schemas/Creator" }, + "items": { + "$ref": "#/components/schemas/Creator" + }, "type": "array", "title": "Creators" }, - "pagination": { "$ref": "#/components/schemas/Pagination" } + "pagination": { + "$ref": "#/components/schemas/Pagination" + } }, "type": "object", "required": ["creators", "pagination"], @@ -7738,7 +10086,10 @@ "title": "Need Confirmation", "default": true }, - "message": { "type": "string", "title": "Message" } + "message": { + "type": "string", + "title": "Message" + } }, "type": "object", "required": ["message"], @@ -7753,7 +10104,14 @@ "default": true }, "revoked": { - "anyOf": [{ "type": "boolean" }, { "type": "null" }], + "anyOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ], "title": "Revoked", "description": "Indicates whether the credentials were also revoked by their provider. `None`/`null` if not applicable, e.g. when deleting non-revocable credentials such as API keys." } @@ -7764,9 +10122,19 @@ }, "CredentialsMetaInput": { "properties": { - "id": { "type": "string", "title": "Id" }, + "id": { + "type": "string", + "title": "Id" + }, "title": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Title" }, "provider": { @@ -7788,30 +10156,64 @@ }, "CredentialsMetaResponse": { "properties": { - "id": { "type": "string", "title": "Id" }, - "provider": { "type": "string", "title": "Provider" }, + "id": { + "type": "string", + "title": "Id" + }, + "provider": { + "type": "string", + "title": "Provider" + }, "type": { "type": "string", "enum": ["api_key", "oauth2", "user_password", "host_scoped"], "title": "Type" }, "title": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Title" }, "scopes": { "anyOf": [ - { "items": { "type": "string" }, "type": "array" }, - { "type": "null" } + { + "items": { + "type": "string" + }, + "type": "array" + }, + { + "type": "null" + } ], "title": "Scopes" }, "username": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Username" }, "host": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Host", "description": "Host pattern for host-scoped or MCP server URL for MCP credentials" } @@ -7827,7 +10229,10 @@ }, "DeleteGraphResponse": { "properties": { - "version_counts": { "type": "integer", "title": "Version Counts" } + "version_counts": { + "type": "integer", + "title": "Version Counts" + } }, "type": "object", "required": ["version_counts"], @@ -7841,7 +10246,14 @@ "description": "URL of the MCP server" }, "auth_token": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Auth Token", "description": "Optional Bearer token for authenticated MCP servers" } @@ -7854,16 +10266,32 @@ "DiscoverToolsResponse": { "properties": { "tools": { - "items": { "$ref": "#/components/schemas/MCPToolResponse" }, + "items": { + "$ref": "#/components/schemas/MCPToolResponse" + }, "type": "array", "title": "Tools" }, "server_name": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Server Name" }, "protocol_version": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Protocol Version" } }, @@ -7878,16 +10306,42 @@ "$ref": "#/components/schemas/ResponseType", "default": "doc_page" }, - "message": { "type": "string", "title": "Message" }, + "message": { + "type": "string", + "title": "Message" + }, "session_id": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Session Id" }, - "title": { "type": "string", "title": "Title" }, - "path": { "type": "string", "title": "Path" }, - "content": { "type": "string", "title": "Content" }, + "title": { + "type": "string", + "title": "Title" + }, + "path": { + "type": "string", + "title": "Path" + }, + "content": { + "type": "string", + "title": "Content" + }, "doc_url": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Doc Url" } }, @@ -7898,13 +10352,35 @@ }, "DocSearchResult": { "properties": { - "title": { "type": "string", "title": "Title" }, - "path": { "type": "string", "title": "Path" }, - "section": { "type": "string", "title": "Section" }, - "snippet": { "type": "string", "title": "Snippet" }, - "score": { "type": "number", "title": "Score" }, + "title": { + "type": "string", + "title": "Title" + }, + "path": { + "type": "string", + "title": "Path" + }, + "section": { + "type": "string", + "title": "Section" + }, + "snippet": { + "type": "string", + "title": "Snippet" + }, + "score": { + "type": "number", + "title": "Score" + }, "doc_url": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Doc Url" } }, @@ -7919,18 +10395,36 @@ "$ref": "#/components/schemas/ResponseType", "default": "doc_search_results" }, - "message": { "type": "string", "title": "Message" }, + "message": { + "type": "string", + "title": "Message" + }, "session_id": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Session Id" }, "results": { - "items": { "$ref": "#/components/schemas/DocSearchResult" }, + "items": { + "$ref": "#/components/schemas/DocSearchResult" + }, "type": "array", "title": "Results" }, - "count": { "type": "integer", "title": "Count" }, - "query": { "type": "string", "title": "Query" } + "count": { + "type": "integer", + "title": "Count" + }, + "query": { + "type": "string", + "title": "Query" + } }, "type": "object", "required": ["message", "results", "count", "query"], @@ -7939,8 +10433,14 @@ }, "Document": { "properties": { - "url": { "type": "string", "title": "Url" }, - "relevance_score": { "type": "number", "title": "Relevance Score" } + "url": { + "type": "string", + "title": "Url" + }, + "relevance_score": { + "type": "number", + "title": "Relevance Score" + } }, "type": "object", "required": ["url", "relevance_score"], @@ -7952,19 +10452,41 @@ "$ref": "#/components/schemas/ResponseType", "default": "error" }, - "message": { "type": "string", "title": "Message" }, + "message": { + "type": "string", + "title": "Message" + }, "session_id": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Session Id" }, "error": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Error" }, "details": { "anyOf": [ - { "additionalProperties": true, "type": "object" }, - { "type": "null" } + { + "additionalProperties": true, + "type": "object" + }, + { + "type": "null" + } ], "title": "Details" } @@ -7977,7 +10499,9 @@ "ExecutionAnalyticsConfig": { "properties": { "available_models": { - "items": { "$ref": "#/components/schemas/ModelInfo" }, + "items": { + "$ref": "#/components/schemas/ModelInfo" + }, "type": "array", "title": "Available Models" }, @@ -8011,19 +10535,38 @@ "description": "Graph ID to analyze" }, "graph_version": { - "anyOf": [{ "type": "integer" }, { "type": "null" }], + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], "title": "Graph Version", "description": "Optional graph version" }, "user_id": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "User Id", "description": "Optional user ID filter" }, "created_after": { "anyOf": [ - { "type": "string", "format": "date-time" }, - { "type": "null" } + { + "type": "string", + "format": "date-time" + }, + { + "type": "null" + } ], "title": "Created After", "description": "Optional created date lower bound" @@ -8043,12 +10586,26 @@ "default": 10 }, "system_prompt": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "System Prompt", "description": "Custom system prompt (default: built-in prompt)" }, "user_prompt": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "User Prompt", "description": "Custom user prompt with {{GRAPH_NAME}} and {{EXECUTION_DATA}} placeholders (default: built-in prompt)" }, @@ -8106,34 +10663,80 @@ }, "ExecutionAnalyticsResult": { "properties": { - "agent_id": { "type": "string", "title": "Agent Id" }, - "version_id": { "type": "integer", "title": "Version Id" }, - "user_id": { "type": "string", "title": "User Id" }, - "exec_id": { "type": "string", "title": "Exec Id" }, + "agent_id": { + "type": "string", + "title": "Agent Id" + }, + "version_id": { + "type": "integer", + "title": "Version Id" + }, + "user_id": { + "type": "string", + "title": "User Id" + }, + "exec_id": { + "type": "string", + "title": "Exec Id" + }, "summary_text": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Summary Text" }, "score": { - "anyOf": [{ "type": "number" }, { "type": "null" }], + "anyOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ], "title": "Score" }, - "status": { "type": "string", "title": "Status" }, + "status": { + "type": "string", + "title": "Status" + }, "error_message": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Error Message" }, "started_at": { "anyOf": [ - { "type": "string", "format": "date-time" }, - { "type": "null" } + { + "type": "string", + "format": "date-time" + }, + { + "type": "null" + } ], "title": "Started At" }, "ended_at": { "anyOf": [ - { "type": "string", "format": "date-time" }, - { "type": "null" } + { + "type": "string", + "format": "date-time" + }, + { + "type": "null" + } ], "title": "Ended At" } @@ -8152,13 +10755,21 @@ }, "ExecutionOptions": { "properties": { - "manual": { "type": "boolean", "title": "Manual", "default": true }, + "manual": { + "type": "boolean", + "title": "Manual", + "default": true + }, "scheduled": { "type": "boolean", "title": "Scheduled", "default": true }, - "webhook": { "type": "boolean", "title": "Webhook", "default": false } + "webhook": { + "type": "boolean", + "title": "Webhook", + "default": false + } }, "type": "object", "title": "ExecutionOptions", @@ -8166,31 +10777,55 @@ }, "ExecutionOutputInfo": { "properties": { - "execution_id": { "type": "string", "title": "Execution Id" }, - "status": { "type": "string", "title": "Status" }, + "execution_id": { + "type": "string", + "title": "Execution Id" + }, + "status": { + "type": "string", + "title": "Status" + }, "started_at": { "anyOf": [ - { "type": "string", "format": "date-time" }, - { "type": "null" } + { + "type": "string", + "format": "date-time" + }, + { + "type": "null" + } ], "title": "Started At" }, "ended_at": { "anyOf": [ - { "type": "string", "format": "date-time" }, - { "type": "null" } + { + "type": "string", + "format": "date-time" + }, + { + "type": "null" + } ], "title": "Ended At" }, "outputs": { - "additionalProperties": { "items": {}, "type": "array" }, + "additionalProperties": { + "items": {}, + "type": "array" + }, "type": "object", "title": "Outputs" }, "inputs_summary": { "anyOf": [ - { "additionalProperties": true, "type": "object" }, - { "type": "null" } + { + "additionalProperties": true, + "type": "object" + }, + { + "type": "null" + } ], "title": "Inputs Summary" } @@ -8206,23 +10841,60 @@ "$ref": "#/components/schemas/ResponseType", "default": "execution_started" }, - "message": { "type": "string", "title": "Message" }, + "message": { + "type": "string", + "title": "Message" + }, "session_id": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Session Id" }, - "execution_id": { "type": "string", "title": "Execution Id" }, - "graph_id": { "type": "string", "title": "Graph Id" }, - "graph_name": { "type": "string", "title": "Graph Name" }, + "execution_id": { + "type": "string", + "title": "Execution Id" + }, + "graph_id": { + "type": "string", + "title": "Graph Id" + }, + "graph_name": { + "type": "string", + "title": "Graph Name" + }, "library_agent_id": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Library Agent Id" }, "library_agent_link": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Library Agent Link" }, - "status": { "type": "string", "title": "Status", "default": "QUEUED" } + "status": { + "type": "string", + "title": "Status", + "default": "QUEUED" + } }, "type": "object", "required": ["message", "execution_id", "graph_id", "graph_name"], @@ -8231,43 +10903,90 @@ }, "Graph": { "properties": { - "id": { "type": "string", "title": "Id" }, - "version": { "type": "integer", "title": "Version", "default": 1 }, + "id": { + "type": "string", + "title": "Id" + }, + "version": { + "type": "integer", + "title": "Version", + "default": 1 + }, "is_active": { "type": "boolean", "title": "Is Active", "default": true }, - "name": { "type": "string", "title": "Name" }, - "description": { "type": "string", "title": "Description" }, + "name": { + "type": "string", + "title": "Name" + }, + "description": { + "type": "string", + "title": "Description" + }, "instructions": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Instructions" }, "recommended_schedule_cron": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Recommended Schedule Cron" }, "forked_from_id": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Forked From Id" }, "forked_from_version": { - "anyOf": [{ "type": "integer" }, { "type": "null" }], + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], "title": "Forked From Version" }, "nodes": { - "items": { "$ref": "#/components/schemas/Node" }, + "items": { + "$ref": "#/components/schemas/Node" + }, "type": "array", "title": "Nodes" }, "links": { - "items": { "$ref": "#/components/schemas/Link" }, + "items": { + "$ref": "#/components/schemas/Link" + }, "type": "array", "title": "Links" }, "sub_graphs": { - "items": { "$ref": "#/components/schemas/BaseGraph-Input" }, + "items": { + "$ref": "#/components/schemas/BaseGraph-Input" + }, "type": "array", "title": "Sub Graphs" } @@ -8279,10 +10998,22 @@ }, "GraphExecution": { "properties": { - "id": { "type": "string", "title": "Id" }, - "user_id": { "type": "string", "title": "User Id" }, - "graph_id": { "type": "string", "title": "Graph Id" }, - "graph_version": { "type": "integer", "title": "Graph Version" }, + "id": { + "type": "string", + "title": "Id" + }, + "user_id": { + "type": "string", + "title": "User Id" + }, + "graph_id": { + "type": "string", + "title": "Graph Id" + }, + "graph_version": { + "type": "integer", + "title": "Graph Version" + }, "inputs": { "additionalProperties": true, "type": "object", @@ -8296,7 +11027,9 @@ }, "type": "object" }, - { "type": "null" } + { + "type": "null" + } ], "title": "Credential Inputs" }, @@ -8309,27 +11042,48 @@ }, "type": "object" }, - { "type": "null" } + { + "type": "null" + } ], "title": "Nodes Input Masks" }, "preset_id": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Preset Id" }, - "status": { "$ref": "#/components/schemas/AgentExecutionStatus" }, + "status": { + "$ref": "#/components/schemas/AgentExecutionStatus" + }, "started_at": { "anyOf": [ - { "type": "string", "format": "date-time" }, - { "type": "null" } + { + "type": "string", + "format": "date-time" + }, + { + "type": "null" + } ], "title": "Started At", "description": "When execution started running. Null if not yet started (QUEUED)." }, "ended_at": { "anyOf": [ - { "type": "string", "format": "date-time" }, - { "type": "null" } + { + "type": "string", + "format": "date-time" + }, + { + "type": "null" + } ], "title": "Ended At", "description": "When execution finished. Null if not yet completed (QUEUED, RUNNING, INCOMPLETE, REVIEW)." @@ -8340,17 +11094,31 @@ "default": false }, "share_token": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Share Token" }, "stats": { "anyOf": [ - { "$ref": "#/components/schemas/Stats" }, - { "type": "null" } + { + "$ref": "#/components/schemas/Stats" + }, + { + "type": "null" + } ] }, "outputs": { - "additionalProperties": { "items": {}, "type": "array" }, + "additionalProperties": { + "items": {}, + "type": "array" + }, "type": "object", "title": "Outputs" } @@ -8374,17 +11142,43 @@ "GraphExecutionJobInfo": { "properties": { "schedule_id": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Schedule Id" }, - "user_id": { "type": "string", "title": "User Id" }, - "graph_id": { "type": "string", "title": "Graph Id" }, - "graph_version": { "type": "integer", "title": "Graph Version" }, + "user_id": { + "type": "string", + "title": "User Id" + }, + "graph_id": { + "type": "string", + "title": "Graph Id" + }, + "graph_version": { + "type": "integer", + "title": "Graph Version" + }, "agent_name": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Agent Name" }, - "cron": { "type": "string", "title": "Cron" }, + "cron": { + "type": "string", + "title": "Cron" + }, "input_data": { "additionalProperties": true, "type": "object", @@ -8397,9 +11191,18 @@ "type": "object", "title": "Input Credentials" }, - "id": { "type": "string", "title": "Id" }, - "name": { "type": "string", "title": "Name" }, - "next_run_time": { "type": "string", "title": "Next Run Time" }, + "id": { + "type": "string", + "title": "Id" + }, + "name": { + "type": "string", + "title": "Name" + }, + "next_run_time": { + "type": "string", + "title": "Next Run Time" + }, "timezone": { "type": "string", "title": "Timezone", @@ -8422,14 +11225,31 @@ }, "GraphExecutionMeta": { "properties": { - "id": { "type": "string", "title": "Id" }, - "user_id": { "type": "string", "title": "User Id" }, - "graph_id": { "type": "string", "title": "Graph Id" }, - "graph_version": { "type": "integer", "title": "Graph Version" }, + "id": { + "type": "string", + "title": "Id" + }, + "user_id": { + "type": "string", + "title": "User Id" + }, + "graph_id": { + "type": "string", + "title": "Graph Id" + }, + "graph_version": { + "type": "integer", + "title": "Graph Version" + }, "inputs": { "anyOf": [ - { "additionalProperties": true, "type": "object" }, - { "type": "null" } + { + "additionalProperties": true, + "type": "object" + }, + { + "type": "null" + } ], "title": "Inputs" }, @@ -8441,7 +11261,9 @@ }, "type": "object" }, - { "type": "null" } + { + "type": "null" + } ], "title": "Credential Inputs" }, @@ -8454,27 +11276,48 @@ }, "type": "object" }, - { "type": "null" } + { + "type": "null" + } ], "title": "Nodes Input Masks" }, "preset_id": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Preset Id" }, - "status": { "$ref": "#/components/schemas/AgentExecutionStatus" }, + "status": { + "$ref": "#/components/schemas/AgentExecutionStatus" + }, "started_at": { "anyOf": [ - { "type": "string", "format": "date-time" }, - { "type": "null" } + { + "type": "string", + "format": "date-time" + }, + { + "type": "null" + } ], "title": "Started At", "description": "When execution started running. Null if not yet started (QUEUED)." }, "ended_at": { "anyOf": [ - { "type": "string", "format": "date-time" }, - { "type": "null" } + { + "type": "string", + "format": "date-time" + }, + { + "type": "null" + } ], "title": "Ended At", "description": "When execution finished. Null if not yet completed (QUEUED, RUNNING, INCOMPLETE, REVIEW)." @@ -8485,13 +11328,24 @@ "default": false }, "share_token": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Share Token" }, "stats": { "anyOf": [ - { "$ref": "#/components/schemas/Stats" }, - { "type": "null" } + { + "$ref": "#/components/schemas/Stats" + }, + { + "type": "null" + } ] } }, @@ -8512,10 +11366,22 @@ }, "GraphExecutionWithNodes": { "properties": { - "id": { "type": "string", "title": "Id" }, - "user_id": { "type": "string", "title": "User Id" }, - "graph_id": { "type": "string", "title": "Graph Id" }, - "graph_version": { "type": "integer", "title": "Graph Version" }, + "id": { + "type": "string", + "title": "Id" + }, + "user_id": { + "type": "string", + "title": "User Id" + }, + "graph_id": { + "type": "string", + "title": "Graph Id" + }, + "graph_version": { + "type": "integer", + "title": "Graph Version" + }, "inputs": { "additionalProperties": true, "type": "object", @@ -8529,7 +11395,9 @@ }, "type": "object" }, - { "type": "null" } + { + "type": "null" + } ], "title": "Credential Inputs" }, @@ -8542,27 +11410,48 @@ }, "type": "object" }, - { "type": "null" } + { + "type": "null" + } ], "title": "Nodes Input Masks" }, "preset_id": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Preset Id" }, - "status": { "$ref": "#/components/schemas/AgentExecutionStatus" }, + "status": { + "$ref": "#/components/schemas/AgentExecutionStatus" + }, "started_at": { "anyOf": [ - { "type": "string", "format": "date-time" }, - { "type": "null" } + { + "type": "string", + "format": "date-time" + }, + { + "type": "null" + } ], "title": "Started At", "description": "When execution started running. Null if not yet started (QUEUED)." }, "ended_at": { "anyOf": [ - { "type": "string", "format": "date-time" }, - { "type": "null" } + { + "type": "string", + "format": "date-time" + }, + { + "type": "null" + } ], "title": "Ended At", "description": "When execution finished. Null if not yet completed (QUEUED, RUNNING, INCOMPLETE, REVIEW)." @@ -8573,22 +11462,38 @@ "default": false }, "share_token": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Share Token" }, "stats": { "anyOf": [ - { "$ref": "#/components/schemas/Stats" }, - { "type": "null" } + { + "$ref": "#/components/schemas/Stats" + }, + { + "type": "null" + } ] }, "outputs": { - "additionalProperties": { "items": {}, "type": "array" }, + "additionalProperties": { + "items": {}, + "type": "array" + }, "type": "object", "title": "Outputs" }, "node_executions": { - "items": { "$ref": "#/components/schemas/NodeExecutionResult" }, + "items": { + "$ref": "#/components/schemas/NodeExecutionResult" + }, "type": "array", "title": "Node Executions" } @@ -8613,11 +11518,15 @@ "GraphExecutionsPaginated": { "properties": { "executions": { - "items": { "$ref": "#/components/schemas/GraphExecutionMeta" }, + "items": { + "$ref": "#/components/schemas/GraphExecutionMeta" + }, "type": "array", "title": "Executions" }, - "pagination": { "$ref": "#/components/schemas/Pagination" } + "pagination": { + "$ref": "#/components/schemas/Pagination" + } }, "type": "object", "required": ["executions", "pagination"], @@ -8626,32 +11535,75 @@ }, "GraphMeta": { "properties": { - "id": { "type": "string", "title": "Id" }, - "version": { "type": "integer", "title": "Version" }, + "id": { + "type": "string", + "title": "Id" + }, + "version": { + "type": "integer", + "title": "Version" + }, "is_active": { "type": "boolean", "title": "Is Active", "default": true }, - "name": { "type": "string", "title": "Name" }, - "description": { "type": "string", "title": "Description" }, + "name": { + "type": "string", + "title": "Name" + }, + "description": { + "type": "string", + "title": "Description" + }, "instructions": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Instructions" }, "recommended_schedule_cron": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Recommended Schedule Cron" }, "forked_from_id": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Forked From Id" }, "forked_from_version": { - "anyOf": [{ "type": "integer" }, { "type": "null" }], + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], "title": "Forked From Version" }, - "user_id": { "type": "string", "title": "User Id" }, + "user_id": { + "type": "string", + "title": "User Id" + }, "created_at": { "type": "string", "format": "date-time", @@ -8672,49 +11624,99 @@ }, "GraphModel": { "properties": { - "id": { "type": "string", "title": "Id" }, - "version": { "type": "integer", "title": "Version", "default": 1 }, + "id": { + "type": "string", + "title": "Id" + }, + "version": { + "type": "integer", + "title": "Version", + "default": 1 + }, "is_active": { "type": "boolean", "title": "Is Active", "default": true }, - "name": { "type": "string", "title": "Name" }, - "description": { "type": "string", "title": "Description" }, + "name": { + "type": "string", + "title": "Name" + }, + "description": { + "type": "string", + "title": "Description" + }, "instructions": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Instructions" }, "recommended_schedule_cron": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Recommended Schedule Cron" }, "forked_from_id": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Forked From Id" }, "forked_from_version": { - "anyOf": [{ "type": "integer" }, { "type": "null" }], + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], "title": "Forked From Version" }, - "user_id": { "type": "string", "title": "User Id" }, + "user_id": { + "type": "string", + "title": "User Id" + }, "created_at": { "type": "string", "format": "date-time", "title": "Created At" }, "nodes": { - "items": { "$ref": "#/components/schemas/NodeModel" }, + "items": { + "$ref": "#/components/schemas/NodeModel" + }, "type": "array", "title": "Nodes" }, "links": { - "items": { "$ref": "#/components/schemas/Link" }, + "items": { + "$ref": "#/components/schemas/Link" + }, "type": "array", "title": "Links" }, "sub_graphs": { - "items": { "$ref": "#/components/schemas/BaseGraph-Output" }, + "items": { + "$ref": "#/components/schemas/BaseGraph-Output" + }, "type": "array", "title": "Sub Graphs" }, @@ -8747,8 +11749,12 @@ }, "trigger_setup_info": { "anyOf": [ - { "$ref": "#/components/schemas/GraphTriggerInfo" }, - { "type": "null" } + { + "$ref": "#/components/schemas/GraphTriggerInfo" + }, + { + "type": "null" + } ], "readOnly": true }, @@ -8778,32 +11784,76 @@ }, "GraphModelWithoutNodes": { "properties": { - "id": { "type": "string", "title": "Id" }, - "version": { "type": "integer", "title": "Version", "default": 1 }, + "id": { + "type": "string", + "title": "Id" + }, + "version": { + "type": "integer", + "title": "Version", + "default": 1 + }, "is_active": { "type": "boolean", "title": "Is Active", "default": true }, - "name": { "type": "string", "title": "Name" }, - "description": { "type": "string", "title": "Description" }, + "name": { + "type": "string", + "title": "Name" + }, + "description": { + "type": "string", + "title": "Description" + }, "instructions": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Instructions" }, "recommended_schedule_cron": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Recommended Schedule Cron" }, "forked_from_id": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Forked From Id" }, "forked_from_version": { - "anyOf": [{ "type": "integer" }, { "type": "null" }], + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], "title": "Forked From Version" }, - "user_id": { "type": "string", "title": "User Id" }, + "user_id": { + "type": "string", + "title": "User Id" + }, "created_at": { "type": "string", "format": "date-time", @@ -8838,8 +11888,12 @@ }, "trigger_setup_info": { "anyOf": [ - { "$ref": "#/components/schemas/GraphTriggerInfo" }, - { "type": "null" } + { + "$ref": "#/components/schemas/GraphTriggerInfo" + }, + { + "type": "null" + } ], "readOnly": true }, @@ -8897,7 +11951,14 @@ "description": "Input schema for the trigger block" }, "credentials_input_name": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Credentials Input Name" } }, @@ -8908,7 +11969,9 @@ "HTTPValidationError": { "properties": { "detail": { - "items": { "$ref": "#/components/schemas/ValidationError" }, + "items": { + "$ref": "#/components/schemas/ValidationError" + }, "type": "array", "title": "Detail" } @@ -8918,10 +11981,23 @@ }, "HostScopedCredentials-Input": { "properties": { - "id": { "type": "string", "title": "Id" }, - "provider": { "type": "string", "title": "Provider" }, + "id": { + "type": "string", + "title": "Id" + }, + "provider": { + "type": "string", + "title": "Provider" + }, "title": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Title" }, "type": { @@ -8952,10 +12028,23 @@ }, "HostScopedCredentials-Output": { "properties": { - "id": { "type": "string", "title": "Id" }, - "provider": { "type": "string", "title": "Provider" }, + "id": { + "type": "string", + "title": "Id" + }, + "provider": { + "type": "string", + "title": "Provider" + }, "title": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Title" }, "type": { @@ -8970,7 +12059,9 @@ "description": "The host/URI pattern to match against request URLs" }, "headers": { - "additionalProperties": { "type": "string" }, + "additionalProperties": { + "type": "string" + }, "type": "object", "title": "Headers", "description": "Key-value header map to add to matching requests" @@ -8986,13 +12077,25 @@ "$ref": "#/components/schemas/ResponseType", "default": "input_validation_error" }, - "message": { "type": "string", "title": "Message" }, + "message": { + "type": "string", + "title": "Message" + }, "session_id": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Session Id" }, "unrecognized_fields": { - "items": { "type": "string" }, + "items": { + "type": "string" + }, "type": "array", "title": "Unrecognized Fields", "description": "List of input field names that were not recognized" @@ -9004,11 +12107,25 @@ "description": "The agent's valid input schema for reference" }, "graph_id": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Graph Id" }, "graph_version": { - "anyOf": [{ "type": "integer" }, { "type": "null" }], + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], "title": "Graph Version" } }, @@ -9019,20 +12136,44 @@ }, "LibraryAgent": { "properties": { - "id": { "type": "string", "title": "Id" }, - "graph_id": { "type": "string", "title": "Graph Id" }, - "graph_version": { "type": "integer", "title": "Graph Version" }, - "owner_user_id": { "type": "string", "title": "Owner User Id" }, + "id": { + "type": "string", + "title": "Id" + }, + "graph_id": { + "type": "string", + "title": "Graph Id" + }, + "graph_version": { + "type": "integer", + "title": "Graph Version" + }, + "owner_user_id": { + "type": "string", + "title": "Owner User Id" + }, "image_url": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Image Url" }, - "creator_name": { "type": "string", "title": "Creator Name" }, + "creator_name": { + "type": "string", + "title": "Creator Name" + }, "creator_image_url": { "type": "string", "title": "Creator Image Url" }, - "status": { "$ref": "#/components/schemas/LibraryAgentStatus" }, + "status": { + "$ref": "#/components/schemas/LibraryAgentStatus" + }, "created_at": { "type": "string", "format": "date-time", @@ -9043,10 +12184,23 @@ "format": "date-time", "title": "Updated At" }, - "name": { "type": "string", "title": "Name" }, - "description": { "type": "string", "title": "Description" }, + "name": { + "type": "string", + "title": "Name" + }, + "description": { + "type": "string", + "title": "Description" + }, "instructions": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Instructions" }, "input_schema": { @@ -9061,8 +12215,13 @@ }, "credentials_input_schema": { "anyOf": [ - { "additionalProperties": true, "type": "object" }, - { "type": "null" } + { + "additionalProperties": true, + "type": "object" + }, + { + "type": "null" + } ], "title": "Credentials Input Schema", "description": "Input schema for credentials required by the agent" @@ -9084,26 +12243,49 @@ }, "trigger_setup_info": { "anyOf": [ - { "$ref": "#/components/schemas/GraphTriggerInfo" }, - { "type": "null" } + { + "$ref": "#/components/schemas/GraphTriggerInfo" + }, + { + "type": "null" + } ] }, - "new_output": { "type": "boolean", "title": "New Output" }, + "new_output": { + "type": "boolean", + "title": "New Output" + }, "execution_count": { "type": "integer", "title": "Execution Count", "default": 0 }, "success_rate": { - "anyOf": [{ "type": "number" }, { "type": "null" }], + "anyOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ], "title": "Success Rate" }, "avg_correctness_score": { - "anyOf": [{ "type": "number" }, { "type": "null" }], + "anyOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ], "title": "Avg Correctness Score" }, "recent_executions": { - "items": { "$ref": "#/components/schemas/RecentExecution" }, + "items": { + "$ref": "#/components/schemas/RecentExecution" + }, "type": "array", "title": "Recent Executions", "description": "List of recent executions with status, score, and summary" @@ -9116,16 +12298,32 @@ "type": "boolean", "title": "Is Latest Version" }, - "is_favorite": { "type": "boolean", "title": "Is Favorite" }, + "is_favorite": { + "type": "boolean", + "title": "Is Favorite" + }, "recommended_schedule_cron": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Recommended Schedule Cron" }, - "settings": { "$ref": "#/components/schemas/GraphSettings" }, + "settings": { + "$ref": "#/components/schemas/GraphSettings" + }, "marketplace_listing": { "anyOf": [ - { "$ref": "#/components/schemas/MarketplaceListing" }, - { "type": "null" } + { + "$ref": "#/components/schemas/MarketplaceListing" + }, + { + "type": "null" + } ] } }, @@ -9159,8 +12357,14 @@ }, "LibraryAgentPreset": { "properties": { - "graph_id": { "type": "string", "title": "Graph Id" }, - "graph_version": { "type": "integer", "title": "Graph Version" }, + "graph_id": { + "type": "string", + "title": "Graph Id" + }, + "graph_version": { + "type": "integer", + "title": "Graph Version" + }, "inputs": { "additionalProperties": true, "type": "object", @@ -9173,19 +12377,38 @@ "type": "object", "title": "Credentials" }, - "name": { "type": "string", "title": "Name" }, - "description": { "type": "string", "title": "Description" }, + "name": { + "type": "string", + "title": "Name" + }, + "description": { + "type": "string", + "title": "Description" + }, "is_active": { "type": "boolean", "title": "Is Active", "default": true }, "webhook_id": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Webhook Id" }, - "id": { "type": "string", "title": "Id" }, - "user_id": { "type": "string", "title": "User Id" }, + "id": { + "type": "string", + "title": "Id" + }, + "user_id": { + "type": "string", + "title": "User Id" + }, "created_at": { "type": "string", "format": "date-time", @@ -9198,8 +12421,12 @@ }, "webhook": { "anyOf": [ - { "$ref": "#/components/schemas/Webhook" }, - { "type": "null" } + { + "$ref": "#/components/schemas/Webhook" + }, + { + "type": "null" + } ] } }, @@ -9222,8 +12449,14 @@ }, "LibraryAgentPresetCreatable": { "properties": { - "graph_id": { "type": "string", "title": "Graph Id" }, - "graph_version": { "type": "integer", "title": "Graph Version" }, + "graph_id": { + "type": "string", + "title": "Graph Id" + }, + "graph_version": { + "type": "integer", + "title": "Graph Version" + }, "inputs": { "additionalProperties": true, "type": "object", @@ -9236,15 +12469,28 @@ "type": "object", "title": "Credentials" }, - "name": { "type": "string", "title": "Name" }, - "description": { "type": "string", "title": "Description" }, + "name": { + "type": "string", + "title": "Name" + }, + "description": { + "type": "string", + "title": "Description" + }, "is_active": { "type": "boolean", "title": "Is Active", "default": true }, "webhook_id": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Webhook Id" } }, @@ -9266,8 +12512,14 @@ "type": "string", "title": "Graph Execution Id" }, - "name": { "type": "string", "title": "Name" }, - "description": { "type": "string", "title": "Description" }, + "name": { + "type": "string", + "title": "Name" + }, + "description": { + "type": "string", + "title": "Description" + }, "is_active": { "type": "boolean", "title": "Is Active", @@ -9282,11 +12534,15 @@ "LibraryAgentPresetResponse": { "properties": { "presets": { - "items": { "$ref": "#/components/schemas/LibraryAgentPreset" }, + "items": { + "$ref": "#/components/schemas/LibraryAgentPreset" + }, "type": "array", "title": "Presets" }, - "pagination": { "$ref": "#/components/schemas/Pagination" } + "pagination": { + "$ref": "#/components/schemas/Pagination" + } }, "type": "object", "required": ["presets", "pagination"], @@ -9297,8 +12553,13 @@ "properties": { "inputs": { "anyOf": [ - { "additionalProperties": true, "type": "object" }, - { "type": "null" } + { + "additionalProperties": true, + "type": "object" + }, + { + "type": "null" + } ], "title": "Inputs" }, @@ -9310,20 +12571,43 @@ }, "type": "object" }, - { "type": "null" } + { + "type": "null" + } ], "title": "Credentials" }, "name": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Name" }, "description": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Description" }, "is_active": { - "anyOf": [{ "type": "boolean" }, { "type": "null" }], + "anyOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ], "title": "Is Active" } }, @@ -9334,11 +12618,15 @@ "LibraryAgentResponse": { "properties": { "agents": { - "items": { "$ref": "#/components/schemas/LibraryAgent" }, + "items": { + "$ref": "#/components/schemas/LibraryAgent" + }, "type": "array", "title": "Agents" }, - "pagination": { "$ref": "#/components/schemas/Pagination" } + "pagination": { + "$ref": "#/components/schemas/Pagination" + } }, "type": "object", "required": ["agents", "pagination"], @@ -9359,29 +12647,61 @@ "LibraryAgentUpdateRequest": { "properties": { "auto_update_version": { - "anyOf": [{ "type": "boolean" }, { "type": "null" }], + "anyOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ], "title": "Auto Update Version", "description": "Auto-update the agent version" }, "graph_version": { - "anyOf": [{ "type": "integer" }, { "type": "null" }], + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], "title": "Graph Version", "description": "Specific graph version to update to" }, "is_favorite": { - "anyOf": [{ "type": "boolean" }, { "type": "null" }], + "anyOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ], "title": "Is Favorite", "description": "Mark the agent as a favorite" }, "is_archived": { - "anyOf": [{ "type": "boolean" }, { "type": "null" }], + "anyOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ], "title": "Is Archived", "description": "Archive the agent" }, "settings": { "anyOf": [ - { "$ref": "#/components/schemas/GraphSettings" }, - { "type": "null" } + { + "$ref": "#/components/schemas/GraphSettings" + }, + { + "type": "null" + } ], "description": "User-specific settings for this library agent" } @@ -9392,11 +12712,26 @@ }, "Link": { "properties": { - "id": { "type": "string", "title": "Id" }, - "source_id": { "type": "string", "title": "Source Id" }, - "sink_id": { "type": "string", "title": "Sink Id" }, - "source_name": { "type": "string", "title": "Source Name" }, - "sink_name": { "type": "string", "title": "Sink Name" }, + "id": { + "type": "string", + "title": "Id" + }, + "source_id": { + "type": "string", + "title": "Source Id" + }, + "sink_id": { + "type": "string", + "title": "Sink Id" + }, + "source_name": { + "type": "string", + "title": "Source Name" + }, + "sink_name": { + "type": "string", + "title": "Sink Name" + }, "is_static": { "type": "boolean", "title": "Is Static", @@ -9410,11 +12745,16 @@ "ListSessionsResponse": { "properties": { "sessions": { - "items": { "$ref": "#/components/schemas/SessionSummaryResponse" }, + "items": { + "$ref": "#/components/schemas/SessionSummaryResponse" + }, "type": "array", "title": "Sessions" }, - "total": { "type": "integer", "title": "Total" } + "total": { + "type": "integer", + "title": "Total" + } }, "type": "object", "required": ["sessions", "total"], @@ -9428,7 +12768,10 @@ "minLength": 1, "title": "Metric Name" }, - "metric_value": { "type": "number", "title": "Metric Value" }, + "metric_value": { + "type": "number", + "title": "Metric Value" + }, "data_string": { "type": "string", "minLength": 1, @@ -9441,8 +12784,14 @@ }, "LoginResponse": { "properties": { - "login_url": { "type": "string", "title": "Login Url" }, - "state_token": { "type": "string", "title": "State Token" } + "login_url": { + "type": "string", + "title": "Login Url" + }, + "state_token": { + "type": "string", + "title": "State Token" + } }, "type": "object", "required": ["login_url", "state_token"], @@ -9481,8 +12830,14 @@ }, "MCPOAuthLoginResponse": { "properties": { - "login_url": { "type": "string", "title": "Login Url" }, - "state_token": { "type": "string", "title": "State Token" } + "login_url": { + "type": "string", + "title": "Login Url" + }, + "state_token": { + "type": "string", + "title": "State Token" + } }, "type": "object", "required": ["login_url", "state_token"], @@ -9491,8 +12846,14 @@ }, "MCPToolResponse": { "properties": { - "name": { "type": "string", "title": "Name" }, - "description": { "type": "string", "title": "Description" }, + "name": { + "type": "string", + "title": "Name" + }, + "description": { + "type": "string", + "title": "Description" + }, "input_schema": { "additionalProperties": true, "type": "object", @@ -9506,9 +12867,18 @@ }, "MarketplaceListing": { "properties": { - "id": { "type": "string", "title": "Id" }, - "name": { "type": "string", "title": "Name" }, - "slug": { "type": "string", "title": "Slug" }, + "id": { + "type": "string", + "title": "Id" + }, + "name": { + "type": "string", + "title": "Name" + }, + "slug": { + "type": "string", + "title": "Slug" + }, "creator": { "$ref": "#/components/schemas/MarketplaceListingCreator" } @@ -9520,9 +12890,18 @@ }, "MarketplaceListingCreator": { "properties": { - "name": { "type": "string", "title": "Name" }, - "id": { "type": "string", "title": "Id" }, - "slug": { "type": "string", "title": "Slug" } + "name": { + "type": "string", + "title": "Name" + }, + "id": { + "type": "string", + "title": "Id" + }, + "slug": { + "type": "string", + "title": "Slug" + } }, "type": "object", "required": ["name", "id", "slug"], @@ -9531,8 +12910,14 @@ }, "Message": { "properties": { - "query": { "type": "string", "title": "Query" }, - "response": { "type": "string", "title": "Response" } + "query": { + "type": "string", + "title": "Query" + }, + "response": { + "type": "string", + "title": "Response" + } }, "type": "object", "required": ["query", "response"], @@ -9540,9 +12925,18 @@ }, "ModelInfo": { "properties": { - "value": { "type": "string", "title": "Value" }, - "label": { "type": "string", "title": "Label" }, - "provider": { "type": "string", "title": "Provider" } + "value": { + "type": "string", + "title": "Value" + }, + "label": { + "type": "string", + "title": "Label" + }, + "provider": { + "type": "string", + "title": "Provider" + } }, "type": "object", "required": ["value", "label", "provider"], @@ -9550,21 +12944,47 @@ }, "MyAgent": { "properties": { - "agent_id": { "type": "string", "title": "Agent Id" }, - "agent_version": { "type": "integer", "title": "Agent Version" }, - "agent_name": { "type": "string", "title": "Agent Name" }, + "agent_id": { + "type": "string", + "title": "Agent Id" + }, + "agent_version": { + "type": "integer", + "title": "Agent Version" + }, + "agent_name": { + "type": "string", + "title": "Agent Name" + }, "agent_image": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Agent Image" }, - "description": { "type": "string", "title": "Description" }, + "description": { + "type": "string", + "title": "Description" + }, "last_edited": { "type": "string", "format": "date-time", "title": "Last Edited" }, "recommended_schedule_cron": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Recommended Schedule Cron" } }, @@ -9581,11 +13001,15 @@ "MyAgentsResponse": { "properties": { "agents": { - "items": { "$ref": "#/components/schemas/MyAgent" }, + "items": { + "$ref": "#/components/schemas/MyAgent" + }, "type": "array", "title": "Agents" }, - "pagination": { "$ref": "#/components/schemas/Pagination" } + "pagination": { + "$ref": "#/components/schemas/Pagination" + } }, "type": "object", "required": ["agents", "pagination"], @@ -9597,15 +13021,30 @@ "$ref": "#/components/schemas/ResponseType", "default": "need_login" }, - "message": { "type": "string", "title": "Message" }, + "message": { + "type": "string", + "title": "Message" + }, "session_id": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Session Id" }, "agent_info": { "anyOf": [ - { "additionalProperties": true, "type": "object" }, - { "type": "null" } + { + "additionalProperties": true, + "type": "object" + }, + { + "type": "null" + } ], "title": "Agent Info" } @@ -9621,18 +13060,34 @@ "$ref": "#/components/schemas/ResponseType", "default": "no_results" }, - "message": { "type": "string", "title": "Message" }, + "message": { + "type": "string", + "title": "Message" + }, "session_id": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Session Id" }, "suggestions": { - "items": { "type": "string" }, + "items": { + "type": "string" + }, "type": "array", "title": "Suggestions", "default": [] }, - "name": { "type": "string", "title": "Name", "default": "no_results" } + "name": { + "type": "string", + "title": "Name", + "default": "no_results" + } }, "type": "object", "required": ["message"], @@ -9641,8 +13096,14 @@ }, "Node": { "properties": { - "id": { "type": "string", "title": "Id" }, - "block_id": { "type": "string", "title": "Block Id" }, + "id": { + "type": "string", + "title": "Id" + }, + "block_id": { + "type": "string", + "title": "Block Id" + }, "input_default": { "additionalProperties": true, "type": "object", @@ -9654,12 +13115,16 @@ "title": "Metadata" }, "input_links": { - "items": { "$ref": "#/components/schemas/Link" }, + "items": { + "$ref": "#/components/schemas/Link" + }, "type": "array", "title": "Input Links" }, "output_links": { - "items": { "$ref": "#/components/schemas/Link" }, + "items": { + "$ref": "#/components/schemas/Link" + }, "type": "array", "title": "Output Links" } @@ -9670,21 +13135,47 @@ }, "NodeExecutionResult": { "properties": { - "user_id": { "type": "string", "title": "User Id" }, - "graph_id": { "type": "string", "title": "Graph Id" }, - "graph_version": { "type": "integer", "title": "Graph Version" }, - "graph_exec_id": { "type": "string", "title": "Graph Exec Id" }, - "node_exec_id": { "type": "string", "title": "Node Exec Id" }, - "node_id": { "type": "string", "title": "Node Id" }, - "block_id": { "type": "string", "title": "Block Id" }, - "status": { "$ref": "#/components/schemas/AgentExecutionStatus" }, + "user_id": { + "type": "string", + "title": "User Id" + }, + "graph_id": { + "type": "string", + "title": "Graph Id" + }, + "graph_version": { + "type": "integer", + "title": "Graph Version" + }, + "graph_exec_id": { + "type": "string", + "title": "Graph Exec Id" + }, + "node_exec_id": { + "type": "string", + "title": "Node Exec Id" + }, + "node_id": { + "type": "string", + "title": "Node Id" + }, + "block_id": { + "type": "string", + "title": "Block Id" + }, + "status": { + "$ref": "#/components/schemas/AgentExecutionStatus" + }, "input_data": { "additionalProperties": true, "type": "object", "title": "Input Data" }, "output_data": { - "additionalProperties": { "items": {}, "type": "array" }, + "additionalProperties": { + "items": {}, + "type": "array" + }, "type": "object", "title": "Output Data" }, @@ -9695,22 +13186,37 @@ }, "queue_time": { "anyOf": [ - { "type": "string", "format": "date-time" }, - { "type": "null" } + { + "type": "string", + "format": "date-time" + }, + { + "type": "null" + } ], "title": "Queue Time" }, "start_time": { "anyOf": [ - { "type": "string", "format": "date-time" }, - { "type": "null" } + { + "type": "string", + "format": "date-time" + }, + { + "type": "null" + } ], "title": "Start Time" }, "end_time": { "anyOf": [ - { "type": "string", "format": "date-time" }, - { "type": "null" } + { + "type": "string", + "format": "date-time" + }, + { + "type": "null" + } ], "title": "End Time" } @@ -9736,8 +13242,14 @@ }, "NodeModel": { "properties": { - "id": { "type": "string", "title": "Id" }, - "block_id": { "type": "string", "title": "Block Id" }, + "id": { + "type": "string", + "title": "Id" + }, + "block_id": { + "type": "string", + "title": "Block Id" + }, "input_default": { "additionalProperties": true, "type": "object", @@ -9749,19 +13261,36 @@ "title": "Metadata" }, "input_links": { - "items": { "$ref": "#/components/schemas/Link" }, + "items": { + "$ref": "#/components/schemas/Link" + }, "type": "array", "title": "Input Links" }, "output_links": { - "items": { "$ref": "#/components/schemas/Link" }, + "items": { + "$ref": "#/components/schemas/Link" + }, "type": "array", "title": "Output Links" }, - "graph_id": { "type": "string", "title": "Graph Id" }, - "graph_version": { "type": "integer", "title": "Graph Version" }, + "graph_id": { + "type": "string", + "title": "Graph Id" + }, + "graph_version": { + "type": "integer", + "title": "Graph Version" + }, "webhook_id": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Webhook Id" } }, @@ -9771,10 +13300,19 @@ }, "NotificationPreference": { "properties": { - "user_id": { "type": "string", "title": "User Id" }, - "email": { "type": "string", "format": "email", "title": "Email" }, + "user_id": { + "type": "string", + "title": "User Id" + }, + "email": { + "type": "string", + "format": "email", + "title": "Email" + }, "preferences": { - "additionalProperties": { "type": "boolean" }, + "additionalProperties": { + "type": "boolean" + }, "propertyNames": { "$ref": "#/components/schemas/NotificationType" }, @@ -9811,7 +13349,9 @@ "description": "User's email address" }, "preferences": { - "additionalProperties": { "type": "boolean" }, + "additionalProperties": { + "type": "boolean" + }, "propertyNames": { "$ref": "#/components/schemas/NotificationType" }, @@ -9849,10 +13389,23 @@ }, "OAuth2Credentials": { "properties": { - "id": { "type": "string", "title": "Id" }, - "provider": { "type": "string", "title": "Provider" }, + "id": { + "type": "string", + "title": "Id" + }, + "provider": { + "type": "string", + "title": "Provider" + }, "title": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Title" }, "type": { @@ -9862,7 +13415,14 @@ "default": "oauth2" }, "username": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Username" }, "access_token": { @@ -9872,22 +13432,44 @@ "writeOnly": true }, "access_token_expires_at": { - "anyOf": [{ "type": "integer" }, { "type": "null" }], + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], "title": "Access Token Expires At" }, "refresh_token": { "anyOf": [ - { "type": "string", "format": "password", "writeOnly": true }, - { "type": "null" } + { + "type": "string", + "format": "password", + "writeOnly": true + }, + { + "type": "null" + } ], "title": "Refresh Token" }, "refresh_token_expires_at": { - "anyOf": [{ "type": "integer" }, { "type": "null" }], + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], "title": "Refresh Token Expires At" }, "scopes": { - "items": { "type": "string" }, + "items": { + "type": "string" + }, "type": "array", "title": "Scopes" }, @@ -9903,34 +13485,69 @@ }, "OAuthApplicationInfo": { "properties": { - "id": { "type": "string", "title": "Id" }, - "name": { "type": "string", "title": "Name" }, + "id": { + "type": "string", + "title": "Id" + }, + "name": { + "type": "string", + "title": "Name" + }, "description": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Description" }, "logo_url": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Logo Url" }, - "client_id": { "type": "string", "title": "Client Id" }, + "client_id": { + "type": "string", + "title": "Client Id" + }, "redirect_uris": { - "items": { "type": "string" }, + "items": { + "type": "string" + }, "type": "array", "title": "Redirect Uris" }, "grant_types": { - "items": { "type": "string" }, + "items": { + "type": "string" + }, "type": "array", "title": "Grant Types" }, "scopes": { - "items": { "$ref": "#/components/schemas/APIKeyPermission" }, + "items": { + "$ref": "#/components/schemas/APIKeyPermission" + }, "type": "array", "title": "Scopes" }, - "owner_id": { "type": "string", "title": "Owner Id" }, - "is_active": { "type": "boolean", "title": "Is Active" }, + "owner_id": { + "type": "string", + "title": "Owner Id" + }, + "is_active": { + "type": "boolean", + "title": "Is Active" + }, "created_at": { "type": "string", "format": "date-time", @@ -9960,17 +13577,36 @@ }, "OAuthApplicationPublicInfo": { "properties": { - "name": { "type": "string", "title": "Name" }, + "name": { + "type": "string", + "title": "Name" + }, "description": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Description" }, "logo_url": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Logo Url" }, "scopes": { - "items": { "type": "string" }, + "items": { + "type": "string" + }, "type": "array", "title": "Scopes" } @@ -9986,7 +13622,10 @@ "type": "boolean", "title": "Is Onboarding Enabled" }, - "is_chat_enabled": { "type": "boolean", "title": "Is Chat Enabled" } + "is_chat_enabled": { + "type": "boolean", + "title": "Is Chat Enabled" + } }, "type": "object", "required": ["is_onboarding_enabled", "is_chat_enabled"], @@ -10023,17 +13662,34 @@ }, "OperationCompleteRequest": { "properties": { - "success": { "type": "boolean", "title": "Success" }, + "success": { + "type": "boolean", + "title": "Success" + }, "result": { "anyOf": [ - { "additionalProperties": true, "type": "object" }, - { "type": "string" }, - { "type": "null" } + { + "additionalProperties": true, + "type": "object" + }, + { + "type": "string" + }, + { + "type": "null" + } ], "title": "Result" }, "error": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Error" } }, @@ -10048,12 +13704,25 @@ "$ref": "#/components/schemas/ResponseType", "default": "operation_in_progress" }, - "message": { "type": "string", "title": "Message" }, + "message": { + "type": "string", + "title": "Message" + }, "session_id": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Session Id" }, - "tool_call_id": { "type": "string", "title": "Tool Call Id" } + "tool_call_id": { + "type": "string", + "title": "Tool Call Id" + } }, "type": "object", "required": ["message", "tool_call_id"], @@ -10066,13 +13735,29 @@ "$ref": "#/components/schemas/ResponseType", "default": "operation_pending" }, - "message": { "type": "string", "title": "Message" }, + "message": { + "type": "string", + "title": "Message" + }, "session_id": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Session Id" }, - "operation_id": { "type": "string", "title": "Operation Id" }, - "tool_name": { "type": "string", "title": "Tool Name" } + "operation_id": { + "type": "string", + "title": "Operation Id" + }, + "tool_name": { + "type": "string", + "title": "Tool Name" + } }, "type": "object", "required": ["message", "operation_id", "tool_name"], @@ -10085,15 +13770,38 @@ "$ref": "#/components/schemas/ResponseType", "default": "operation_started" }, - "message": { "type": "string", "title": "Message" }, + "message": { + "type": "string", + "title": "Message" + }, "session_id": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Session Id" }, - "operation_id": { "type": "string", "title": "Operation Id" }, - "tool_name": { "type": "string", "title": "Tool Name" }, + "operation_id": { + "type": "string", + "title": "Operation Id" + }, + "tool_name": { + "type": "string", + "title": "Tool Name" + }, "task_id": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Task Id" } }, @@ -10168,19 +13876,42 @@ }, "payload": { "anyOf": [ - { "additionalProperties": true, "type": "object" }, - { "items": {}, "type": "array" }, - { "type": "string" }, - { "type": "integer" }, - { "type": "number" }, - { "type": "boolean" }, - { "type": "null" } + { + "additionalProperties": true, + "type": "object" + }, + { + "items": {}, + "type": "array" + }, + { + "type": "string" + }, + { + "type": "integer" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "null" + } ], "title": "Payload", "description": "The actual data payload awaiting review" }, "instructions": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Instructions", "description": "Instructions or message for the reviewer" }, @@ -10194,12 +13925,26 @@ "description": "Review status" }, "review_message": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Review Message", "description": "Optional message from the reviewer" }, "was_edited": { - "anyOf": [{ "type": "boolean" }, { "type": "null" }], + "anyOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ], "title": "Was Edited", "description": "Whether the data was modified during review" }, @@ -10217,16 +13962,26 @@ }, "updated_at": { "anyOf": [ - { "type": "string", "format": "date-time" }, - { "type": "null" } + { + "type": "string", + "format": "date-time" + }, + { + "type": "null" + } ], "title": "Updated At", "description": "When the review was last updated" }, "reviewed_at": { "anyOf": [ - { "type": "string", "format": "date-time" }, - { "type": "null" } + { + "type": "string", + "format": "date-time" + }, + { + "type": "null" + } ], "title": "Reviewed At", "description": "When the review was completed" @@ -10263,26 +14018,81 @@ "title": "Recordtype", "default": "Bounce" }, - "ID": { "type": "integer", "title": "Id" }, - "Type": { "type": "string", "title": "Type" }, - "TypeCode": { "$ref": "#/components/schemas/PostmarkBounceEnum" }, - "Tag": { "type": "string", "title": "Tag" }, - "MessageID": { "type": "string", "title": "Messageid" }, - "Details": { "type": "string", "title": "Details" }, - "Email": { "type": "string", "title": "Email" }, - "From": { "type": "string", "title": "From" }, - "BouncedAt": { "type": "string", "title": "Bouncedat" }, - "Inactive": { "type": "boolean", "title": "Inactive" }, - "DumpAvailable": { "type": "boolean", "title": "Dumpavailable" }, - "CanActivate": { "type": "boolean", "title": "Canactivate" }, - "Subject": { "type": "string", "title": "Subject" }, - "ServerID": { "type": "integer", "title": "Serverid" }, - "MessageStream": { "type": "string", "title": "Messagestream" }, - "Content": { "type": "string", "title": "Content" }, - "Name": { "type": "string", "title": "Name" }, - "Description": { "type": "string", "title": "Description" }, + "ID": { + "type": "integer", + "title": "Id" + }, + "Type": { + "type": "string", + "title": "Type" + }, + "TypeCode": { + "$ref": "#/components/schemas/PostmarkBounceEnum" + }, + "Tag": { + "type": "string", + "title": "Tag" + }, + "MessageID": { + "type": "string", + "title": "Messageid" + }, + "Details": { + "type": "string", + "title": "Details" + }, + "Email": { + "type": "string", + "title": "Email" + }, + "From": { + "type": "string", + "title": "From" + }, + "BouncedAt": { + "type": "string", + "title": "Bouncedat" + }, + "Inactive": { + "type": "boolean", + "title": "Inactive" + }, + "DumpAvailable": { + "type": "boolean", + "title": "Dumpavailable" + }, + "CanActivate": { + "type": "boolean", + "title": "Canactivate" + }, + "Subject": { + "type": "string", + "title": "Subject" + }, + "ServerID": { + "type": "integer", + "title": "Serverid" + }, + "MessageStream": { + "type": "string", + "title": "Messagestream" + }, + "Content": { + "type": "string", + "title": "Content" + }, + "Name": { + "type": "string", + "title": "Name" + }, + "Description": { + "type": "string", + "title": "Description" + }, "Metadata": { - "additionalProperties": { "type": "string" }, + "additionalProperties": { + "type": "string" + }, "type": "object", "title": "Metadata" } @@ -10319,32 +14129,67 @@ "title": "Recordtype", "default": "Click" }, - "MessageStream": { "type": "string", "title": "Messagestream" }, + "MessageStream": { + "type": "string", + "title": "Messagestream" + }, "Metadata": { - "additionalProperties": { "type": "string" }, + "additionalProperties": { + "type": "string" + }, "type": "object", "title": "Metadata" }, - "Recipient": { "type": "string", "title": "Recipient" }, - "MessageID": { "type": "string", "title": "Messageid" }, - "ReceivedAt": { "type": "string", "title": "Receivedat" }, - "Platform": { "type": "string", "title": "Platform" }, - "ClickLocation": { "type": "string", "title": "Clicklocation" }, - "OriginalLink": { "type": "string", "title": "Originallink" }, - "Tag": { "type": "string", "title": "Tag" }, - "UserAgent": { "type": "string", "title": "Useragent" }, + "Recipient": { + "type": "string", + "title": "Recipient" + }, + "MessageID": { + "type": "string", + "title": "Messageid" + }, + "ReceivedAt": { + "type": "string", + "title": "Receivedat" + }, + "Platform": { + "type": "string", + "title": "Platform" + }, + "ClickLocation": { + "type": "string", + "title": "Clicklocation" + }, + "OriginalLink": { + "type": "string", + "title": "Originallink" + }, + "Tag": { + "type": "string", + "title": "Tag" + }, + "UserAgent": { + "type": "string", + "title": "Useragent" + }, "OS": { - "additionalProperties": { "type": "string" }, + "additionalProperties": { + "type": "string" + }, "type": "object", "title": "Os" }, "Client": { - "additionalProperties": { "type": "string" }, + "additionalProperties": { + "type": "string" + }, "type": "object", "title": "Client" }, "Geo": { - "additionalProperties": { "type": "string" }, + "additionalProperties": { + "type": "string" + }, "type": "object", "title": "Geo" } @@ -10375,15 +14220,38 @@ "title": "Recordtype", "default": "Delivery" }, - "ServerID": { "type": "integer", "title": "Serverid" }, - "MessageStream": { "type": "string", "title": "Messagestream" }, - "MessageID": { "type": "string", "title": "Messageid" }, - "Recipient": { "type": "string", "title": "Recipient" }, - "Tag": { "type": "string", "title": "Tag" }, - "DeliveredAt": { "type": "string", "title": "Deliveredat" }, - "Details": { "type": "string", "title": "Details" }, + "ServerID": { + "type": "integer", + "title": "Serverid" + }, + "MessageStream": { + "type": "string", + "title": "Messagestream" + }, + "MessageID": { + "type": "string", + "title": "Messageid" + }, + "Recipient": { + "type": "string", + "title": "Recipient" + }, + "Tag": { + "type": "string", + "title": "Tag" + }, + "DeliveredAt": { + "type": "string", + "title": "Deliveredat" + }, + "Details": { + "type": "string", + "title": "Details" + }, "Metadata": { - "additionalProperties": { "type": "string" }, + "additionalProperties": { + "type": "string" + }, "type": "object", "title": "Metadata" } @@ -10409,32 +14277,67 @@ "title": "Recordtype", "default": "Open" }, - "MessageStream": { "type": "string", "title": "Messagestream" }, + "MessageStream": { + "type": "string", + "title": "Messagestream" + }, "Metadata": { - "additionalProperties": { "type": "string" }, + "additionalProperties": { + "type": "string" + }, "type": "object", "title": "Metadata" }, - "FirstOpen": { "type": "boolean", "title": "Firstopen" }, - "Recipient": { "type": "string", "title": "Recipient" }, - "MessageID": { "type": "string", "title": "Messageid" }, - "ReceivedAt": { "type": "string", "title": "Receivedat" }, - "Platform": { "type": "string", "title": "Platform" }, - "ReadSeconds": { "type": "integer", "title": "Readseconds" }, - "Tag": { "type": "string", "title": "Tag" }, - "UserAgent": { "type": "string", "title": "Useragent" }, + "FirstOpen": { + "type": "boolean", + "title": "Firstopen" + }, + "Recipient": { + "type": "string", + "title": "Recipient" + }, + "MessageID": { + "type": "string", + "title": "Messageid" + }, + "ReceivedAt": { + "type": "string", + "title": "Receivedat" + }, + "Platform": { + "type": "string", + "title": "Platform" + }, + "ReadSeconds": { + "type": "integer", + "title": "Readseconds" + }, + "Tag": { + "type": "string", + "title": "Tag" + }, + "UserAgent": { + "type": "string", + "title": "Useragent" + }, "OS": { - "additionalProperties": { "type": "string" }, + "additionalProperties": { + "type": "string" + }, "type": "object", "title": "Os" }, "Client": { - "additionalProperties": { "type": "string" }, + "additionalProperties": { + "type": "string" + }, "type": "object", "title": "Client" }, "Geo": { - "additionalProperties": { "type": "string" }, + "additionalProperties": { + "type": "string" + }, "type": "object", "title": "Geo" } @@ -10465,26 +14368,82 @@ "title": "Recordtype", "default": "SpamComplaint" }, - "ID": { "type": "integer", "title": "Id" }, - "Type": { "type": "string", "title": "Type" }, - "TypeCode": { "type": "integer", "title": "Typecode" }, - "Tag": { "type": "string", "title": "Tag" }, - "MessageID": { "type": "string", "title": "Messageid" }, - "Details": { "type": "string", "title": "Details" }, - "Email": { "type": "string", "title": "Email" }, - "From": { "type": "string", "title": "From" }, - "BouncedAt": { "type": "string", "title": "Bouncedat" }, - "Inactive": { "type": "boolean", "title": "Inactive" }, - "DumpAvailable": { "type": "boolean", "title": "Dumpavailable" }, - "CanActivate": { "type": "boolean", "title": "Canactivate" }, - "Subject": { "type": "string", "title": "Subject" }, - "ServerID": { "type": "integer", "title": "Serverid" }, - "MessageStream": { "type": "string", "title": "Messagestream" }, - "Content": { "type": "string", "title": "Content" }, - "Name": { "type": "string", "title": "Name" }, - "Description": { "type": "string", "title": "Description" }, + "ID": { + "type": "integer", + "title": "Id" + }, + "Type": { + "type": "string", + "title": "Type" + }, + "TypeCode": { + "type": "integer", + "title": "Typecode" + }, + "Tag": { + "type": "string", + "title": "Tag" + }, + "MessageID": { + "type": "string", + "title": "Messageid" + }, + "Details": { + "type": "string", + "title": "Details" + }, + "Email": { + "type": "string", + "title": "Email" + }, + "From": { + "type": "string", + "title": "From" + }, + "BouncedAt": { + "type": "string", + "title": "Bouncedat" + }, + "Inactive": { + "type": "boolean", + "title": "Inactive" + }, + "DumpAvailable": { + "type": "boolean", + "title": "Dumpavailable" + }, + "CanActivate": { + "type": "boolean", + "title": "Canactivate" + }, + "Subject": { + "type": "string", + "title": "Subject" + }, + "ServerID": { + "type": "integer", + "title": "Serverid" + }, + "MessageStream": { + "type": "string", + "title": "Messagestream" + }, + "Content": { + "type": "string", + "title": "Content" + }, + "Name": { + "type": "string", + "title": "Name" + }, + "Description": { + "type": "string", + "title": "Description" + }, "Metadata": { - "additionalProperties": { "type": "string" }, + "additionalProperties": { + "type": "string" + }, "type": "object", "title": "Metadata" } @@ -10521,20 +14480,46 @@ "title": "Recordtype", "default": "SubscriptionChange" }, - "MessageID": { "type": "string", "title": "Messageid" }, - "ServerID": { "type": "integer", "title": "Serverid" }, - "MessageStream": { "type": "string", "title": "Messagestream" }, - "ChangedAt": { "type": "string", "title": "Changedat" }, - "Recipient": { "type": "string", "title": "Recipient" }, - "Origin": { "type": "string", "title": "Origin" }, - "SuppressSending": { "type": "boolean", "title": "Suppresssending" }, + "MessageID": { + "type": "string", + "title": "Messageid" + }, + "ServerID": { + "type": "integer", + "title": "Serverid" + }, + "MessageStream": { + "type": "string", + "title": "Messagestream" + }, + "ChangedAt": { + "type": "string", + "title": "Changedat" + }, + "Recipient": { + "type": "string", + "title": "Recipient" + }, + "Origin": { + "type": "string", + "title": "Origin" + }, + "SuppressSending": { + "type": "boolean", + "title": "Suppresssending" + }, "SuppressionReason": { "type": "string", "title": "Suppressionreason" }, - "Tag": { "type": "string", "title": "Tag" }, + "Tag": { + "type": "string", + "title": "Tag" + }, "Metadata": { - "additionalProperties": { "type": "string" }, + "additionalProperties": { + "type": "string" + }, "type": "object", "title": "Metadata" } @@ -10556,15 +14541,29 @@ }, "Profile": { "properties": { - "name": { "type": "string", "title": "Name" }, - "username": { "type": "string", "title": "Username" }, - "description": { "type": "string", "title": "Description" }, + "name": { + "type": "string", + "title": "Name" + }, + "username": { + "type": "string", + "title": "Username" + }, + "description": { + "type": "string", + "title": "Description" + }, "links": { - "items": { "type": "string" }, + "items": { + "type": "string" + }, "type": "array", "title": "Links" }, - "avatar_url": { "type": "string", "title": "Avatar Url" }, + "avatar_url": { + "type": "string", + "title": "Avatar Url" + }, "is_featured": { "type": "boolean", "title": "Is Featured", @@ -10577,16 +14576,34 @@ }, "ProfileDetails": { "properties": { - "name": { "type": "string", "title": "Name" }, - "username": { "type": "string", "title": "Username" }, - "description": { "type": "string", "title": "Description" }, + "name": { + "type": "string", + "title": "Name" + }, + "username": { + "type": "string", + "title": "Username" + }, + "description": { + "type": "string", + "title": "Description" + }, "links": { - "items": { "type": "string" }, + "items": { + "type": "string" + }, "type": "array", "title": "Links" }, "avatar_url": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Avatar Url" } }, @@ -10601,7 +14618,10 @@ "title": "Name", "description": "Provider name for integrations. Can be any string value, including custom provider names." }, - "description": { "type": "string", "title": "Description" }, + "description": { + "type": "string", + "title": "Description" + }, "integration_count": { "type": "integer", "title": "Integration Count" @@ -10614,7 +14634,9 @@ "ProviderConstants": { "properties": { "PROVIDER_NAMES": { - "additionalProperties": { "type": "string" }, + "additionalProperties": { + "type": "string" + }, "type": "object", "title": "Provider Names", "description": "All available provider names as a constant mapping", @@ -10649,7 +14671,9 @@ "ProviderNamesResponse": { "properties": { "providers": { - "items": { "type": "string" }, + "items": { + "type": "string" + }, "type": "array", "title": "Providers", "description": "List of all available provider names" @@ -10662,11 +14686,15 @@ "ProviderResponse": { "properties": { "providers": { - "items": { "$ref": "#/components/schemas/Provider" }, + "items": { + "$ref": "#/components/schemas/Provider" + }, "type": "array", "title": "Providers" }, - "pagination": { "$ref": "#/components/schemas/Pagination" } + "pagination": { + "$ref": "#/components/schemas/Pagination" + } }, "type": "object", "required": ["providers", "pagination"], @@ -10674,13 +14702,30 @@ }, "RecentExecution": { "properties": { - "status": { "type": "string", "title": "Status" }, + "status": { + "type": "string", + "title": "Status" + }, "correctness_score": { - "anyOf": [{ "type": "number" }, { "type": "null" }], + "anyOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ], "title": "Correctness Score" }, "activity_summary": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Activity Summary" } }, @@ -10691,16 +14736,41 @@ }, "RefundRequest": { "properties": { - "id": { "type": "string", "title": "Id" }, - "user_id": { "type": "string", "title": "User Id" }, - "transaction_key": { "type": "string", "title": "Transaction Key" }, - "amount": { "type": "integer", "title": "Amount" }, - "reason": { "type": "string", "title": "Reason" }, + "id": { + "type": "string", + "title": "Id" + }, + "user_id": { + "type": "string", + "title": "User Id" + }, + "transaction_key": { + "type": "string", + "title": "Transaction Key" + }, + "amount": { + "type": "integer", + "title": "Amount" + }, + "reason": { + "type": "string", + "title": "Reason" + }, "result": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Result" }, - "status": { "type": "string", "title": "Status" }, + "status": { + "type": "string", + "title": "Status" + }, "created_at": { "type": "string", "format": "date-time", @@ -10727,7 +14797,10 @@ }, "RequestTopUp": { "properties": { - "credit_amount": { "type": "integer", "title": "Credit Amount" } + "credit_amount": { + "type": "integer", + "title": "Credit Amount" + } }, "type": "object", "required": ["credit_amount"], @@ -10766,7 +14839,8 @@ "bash_exec", "operation_status", "feature_request_search", - "feature_request_created" + "feature_request_created", + "suggested_goal" ], "title": "ResponseType", "description": "Types of tool responses." @@ -10785,21 +14859,42 @@ }, "message": { "anyOf": [ - { "type": "string", "maxLength": 2000 }, - { "type": "null" } + { + "type": "string", + "maxLength": 2000 + }, + { + "type": "null" + } ], "title": "Message", "description": "Optional review message" }, "reviewed_data": { "anyOf": [ - { "additionalProperties": true, "type": "object" }, - { "items": {}, "type": "array" }, - { "type": "string" }, - { "type": "integer" }, - { "type": "number" }, - { "type": "boolean" }, - { "type": "null" } + { + "additionalProperties": true, + "type": "object" + }, + { + "items": {}, + "type": "array" + }, + { + "type": "string" + }, + { + "type": "integer" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "null" + } ], "title": "Reviewed Data", "description": "Optional edited data (ignored if approved=False)" @@ -10819,7 +14914,9 @@ "ReviewRequest": { "properties": { "reviews": { - "items": { "$ref": "#/components/schemas/ReviewItem" }, + "items": { + "$ref": "#/components/schemas/ReviewItem" + }, "type": "array", "title": "Reviews", "description": "All reviews with their approval status, data, and messages" @@ -10848,7 +14945,14 @@ "description": "Number of reviews that failed processing" }, "error": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Error", "description": "Error message if operation failed" } @@ -10869,10 +14973,23 @@ "type": "string", "title": "Store Listing Version Id" }, - "is_approved": { "type": "boolean", "title": "Is Approved" }, - "comments": { "type": "string", "title": "Comments" }, + "is_approved": { + "type": "boolean", + "title": "Is Approved" + }, + "comments": { + "type": "string", + "title": "Comments" + }, "internal_comments": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Internal Comments" } }, @@ -10883,11 +15000,24 @@ "ScheduleCreationRequest": { "properties": { "graph_version": { - "anyOf": [{ "type": "integer" }, { "type": "null" }], + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], "title": "Graph Version" }, - "name": { "type": "string", "title": "Name" }, - "cron": { "type": "string", "title": "Cron" }, + "name": { + "type": "string", + "title": "Name" + }, + "cron": { + "type": "string", + "title": "Cron" + }, "inputs": { "additionalProperties": true, "type": "object", @@ -10901,7 +15031,14 @@ "title": "Credentials" }, "timezone": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Timezone", "description": "User's timezone for scheduling (e.g., 'America/New_York'). If not provided, will use user's saved timezone or UTC." } @@ -10913,7 +15050,14 @@ "SearchEntry": { "properties": { "search_query": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Search Query" }, "filter": { @@ -10930,19 +15074,35 @@ }, "type": "array" }, - { "type": "null" } + { + "type": "null" + } ], "title": "Filter" }, "by_creator": { "anyOf": [ - { "items": { "type": "string" }, "type": "array" }, - { "type": "null" } + { + "items": { + "type": "string" + }, + "type": "array" + }, + { + "type": "null" + } ], "title": "By Creator" }, "search_id": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Search Id" } }, @@ -10954,17 +15114,28 @@ "items": { "items": { "anyOf": [ - { "$ref": "#/components/schemas/BlockInfo" }, - { "$ref": "#/components/schemas/LibraryAgent" }, - { "$ref": "#/components/schemas/StoreAgent" } + { + "$ref": "#/components/schemas/BlockInfo" + }, + { + "$ref": "#/components/schemas/LibraryAgent" + }, + { + "$ref": "#/components/schemas/StoreAgent" + } ] }, "type": "array", "title": "Items" }, - "search_id": { "type": "string", "title": "Search Id" }, + "search_id": { + "type": "string", + "title": "Search Id" + }, "total_items": { - "additionalProperties": { "type": "integer" }, + "additionalProperties": { + "type": "integer" + }, "propertyNames": { "enum": [ "blocks", @@ -10976,7 +15147,9 @@ "type": "object", "title": "Total Items" }, - "pagination": { "$ref": "#/components/schemas/Pagination" } + "pagination": { + "$ref": "#/components/schemas/Pagination" + } }, "type": "object", "required": ["items", "search_id", "total_items", "pagination"], @@ -10984,22 +15157,45 @@ }, "SessionDetailResponse": { "properties": { - "id": { "type": "string", "title": "Id" }, - "created_at": { "type": "string", "title": "Created At" }, - "updated_at": { "type": "string", "title": "Updated At" }, + "id": { + "type": "string", + "title": "Id" + }, + "created_at": { + "type": "string", + "title": "Created At" + }, + "updated_at": { + "type": "string", + "title": "Updated At" + }, "user_id": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "User Id" }, "messages": { - "items": { "additionalProperties": true, "type": "object" }, + "items": { + "additionalProperties": true, + "type": "object" + }, "type": "array", "title": "Messages" }, "active_stream": { "anyOf": [ - { "$ref": "#/components/schemas/ActiveStreamInfo" }, - { "type": "null" } + { + "$ref": "#/components/schemas/ActiveStreamInfo" + }, + { + "type": "null" + } ] } }, @@ -11010,11 +15206,27 @@ }, "SessionSummaryResponse": { "properties": { - "id": { "type": "string", "title": "Id" }, - "created_at": { "type": "string", "title": "Created At" }, - "updated_at": { "type": "string", "title": "Updated At" }, + "id": { + "type": "string", + "title": "Id" + }, + "created_at": { + "type": "string", + "title": "Created At" + }, + "updated_at": { + "type": "string", + "title": "Updated At" + }, "title": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Title" } }, @@ -11036,14 +15248,25 @@ }, "SetupInfo": { "properties": { - "agent_id": { "type": "string", "title": "Agent Id" }, - "agent_name": { "type": "string", "title": "Agent Name" }, + "agent_id": { + "type": "string", + "title": "Agent Id" + }, + "agent_name": { + "type": "string", + "title": "Agent Name" + }, "requirements": { - "additionalProperties": { "items": {}, "type": "array" }, + "additionalProperties": { + "items": {}, + "type": "array" + }, "type": "object", "title": "Requirements" }, - "user_readiness": { "$ref": "#/components/schemas/UserReadiness" } + "user_readiness": { + "$ref": "#/components/schemas/UserReadiness" + } }, "type": "object", "required": ["agent_id", "agent_name"], @@ -11056,18 +15279,44 @@ "$ref": "#/components/schemas/ResponseType", "default": "setup_requirements" }, - "message": { "type": "string", "title": "Message" }, + "message": { + "type": "string", + "title": "Message" + }, "session_id": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Session Id" }, - "setup_info": { "$ref": "#/components/schemas/SetupInfo" }, + "setup_info": { + "$ref": "#/components/schemas/SetupInfo" + }, "graph_id": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Graph Id" }, "graph_version": { - "anyOf": [{ "type": "integer" }, { "type": "null" }], + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], "title": "Graph Version" } }, @@ -11084,8 +15333,14 @@ }, "ShareResponse": { "properties": { - "share_url": { "type": "string", "title": "Share Url" }, - "share_token": { "type": "string", "title": "Share Token" } + "share_url": { + "type": "string", + "title": "Share Url" + }, + "share_token": { + "type": "string", + "title": "Share Token" + } }, "type": "object", "required": ["share_url", "share_token"], @@ -11094,20 +15349,38 @@ }, "SharedExecutionResponse": { "properties": { - "id": { "type": "string", "title": "Id" }, - "graph_name": { "type": "string", "title": "Graph Name" }, + "id": { + "type": "string", + "title": "Id" + }, + "graph_name": { + "type": "string", + "title": "Graph Name" + }, "graph_description": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Graph Description" }, - "status": { "$ref": "#/components/schemas/AgentExecutionStatus" }, + "status": { + "$ref": "#/components/schemas/AgentExecutionStatus" + }, "created_at": { "type": "string", "format": "date-time", "title": "Created At" }, "outputs": { - "additionalProperties": { "items": {}, "type": "array" }, + "additionalProperties": { + "items": {}, + "type": "array" + }, "type": "object", "title": "Outputs" } @@ -11169,17 +15442,38 @@ "default": 0 }, "error": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Error", "description": "Error message if any" }, "activity_status": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Activity Status", "description": "AI-generated summary of what the agent did" }, "correctness_score": { - "anyOf": [{ "type": "number" }, { "type": "null" }], + "anyOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ], "title": "Correctness Score", "description": "AI-generated score (0.0-1.0) indicating how well the execution achieved its intended purpose" } @@ -11190,16 +15484,46 @@ }, "StoreAgent": { "properties": { - "slug": { "type": "string", "title": "Slug" }, - "agent_name": { "type": "string", "title": "Agent Name" }, - "agent_image": { "type": "string", "title": "Agent Image" }, - "creator": { "type": "string", "title": "Creator" }, - "creator_avatar": { "type": "string", "title": "Creator Avatar" }, - "sub_heading": { "type": "string", "title": "Sub Heading" }, - "description": { "type": "string", "title": "Description" }, - "runs": { "type": "integer", "title": "Runs" }, - "rating": { "type": "number", "title": "Rating" }, - "agent_graph_id": { "type": "string", "title": "Agent Graph Id" } + "slug": { + "type": "string", + "title": "Slug" + }, + "agent_name": { + "type": "string", + "title": "Agent Name" + }, + "agent_image": { + "type": "string", + "title": "Agent Image" + }, + "creator": { + "type": "string", + "title": "Creator" + }, + "creator_avatar": { + "type": "string", + "title": "Creator Avatar" + }, + "sub_heading": { + "type": "string", + "title": "Sub Heading" + }, + "description": { + "type": "string", + "title": "Description" + }, + "runs": { + "type": "integer", + "title": "Runs" + }, + "rating": { + "type": "number", + "title": "Rating" + }, + "agent_graph_id": { + "type": "string", + "title": "Agent Graph Id" + } }, "type": "object", "required": [ @@ -11222,55 +15546,114 @@ "type": "string", "title": "Store Listing Version Id" }, - "slug": { "type": "string", "title": "Slug" }, - "agent_name": { "type": "string", "title": "Agent Name" }, - "agent_video": { "type": "string", "title": "Agent Video" }, + "slug": { + "type": "string", + "title": "Slug" + }, + "agent_name": { + "type": "string", + "title": "Agent Name" + }, + "agent_video": { + "type": "string", + "title": "Agent Video" + }, "agent_output_demo": { "type": "string", "title": "Agent Output Demo" }, "agent_image": { - "items": { "type": "string" }, + "items": { + "type": "string" + }, "type": "array", "title": "Agent Image" }, - "creator": { "type": "string", "title": "Creator" }, - "creator_avatar": { "type": "string", "title": "Creator Avatar" }, - "sub_heading": { "type": "string", "title": "Sub Heading" }, - "description": { "type": "string", "title": "Description" }, + "creator": { + "type": "string", + "title": "Creator" + }, + "creator_avatar": { + "type": "string", + "title": "Creator Avatar" + }, + "sub_heading": { + "type": "string", + "title": "Sub Heading" + }, + "description": { + "type": "string", + "title": "Description" + }, "instructions": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Instructions" }, "categories": { - "items": { "type": "string" }, + "items": { + "type": "string" + }, "type": "array", "title": "Categories" }, - "runs": { "type": "integer", "title": "Runs" }, - "rating": { "type": "number", "title": "Rating" }, + "runs": { + "type": "integer", + "title": "Runs" + }, + "rating": { + "type": "number", + "title": "Rating" + }, "versions": { - "items": { "type": "string" }, + "items": { + "type": "string" + }, "type": "array", "title": "Versions" }, "agentGraphVersions": { - "items": { "type": "string" }, + "items": { + "type": "string" + }, "type": "array", "title": "Agentgraphversions" }, - "agentGraphId": { "type": "string", "title": "Agentgraphid" }, + "agentGraphId": { + "type": "string", + "title": "Agentgraphid" + }, "last_updated": { "type": "string", "format": "date-time", "title": "Last Updated" }, "recommended_schedule_cron": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Recommended Schedule Cron" }, "active_version_id": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Active Version Id" }, "has_approved_version": { @@ -11281,10 +15664,14 @@ "changelog": { "anyOf": [ { - "items": { "$ref": "#/components/schemas/ChangelogEntry" }, + "items": { + "$ref": "#/components/schemas/ChangelogEntry" + }, "type": "array" }, - { "type": "null" } + { + "type": "null" + } ], "title": "Changelog" } @@ -11314,11 +15701,15 @@ "StoreAgentsResponse": { "properties": { "agents": { - "items": { "$ref": "#/components/schemas/StoreAgent" }, + "items": { + "$ref": "#/components/schemas/StoreAgent" + }, "type": "array", "title": "Agents" }, - "pagination": { "$ref": "#/components/schemas/Pagination" } + "pagination": { + "$ref": "#/components/schemas/Pagination" + } }, "type": "object", "required": ["agents", "pagination"], @@ -11326,12 +15717,31 @@ }, "StoreListingWithVersions": { "properties": { - "listing_id": { "type": "string", "title": "Listing Id" }, - "slug": { "type": "string", "title": "Slug" }, - "agent_id": { "type": "string", "title": "Agent Id" }, - "agent_version": { "type": "integer", "title": "Agent Version" }, + "listing_id": { + "type": "string", + "title": "Listing Id" + }, + "slug": { + "type": "string", + "title": "Slug" + }, + "agent_id": { + "type": "string", + "title": "Agent Id" + }, + "agent_version": { + "type": "integer", + "title": "Agent Version" + }, "active_version_id": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Active Version Id" }, "has_approved_version": { @@ -11340,17 +15750,30 @@ "default": false }, "creator_email": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Creator Email" }, "latest_version": { "anyOf": [ - { "$ref": "#/components/schemas/StoreSubmission" }, - { "type": "null" } + { + "$ref": "#/components/schemas/StoreSubmission" + }, + { + "type": "null" + } ] }, "versions": { - "items": { "$ref": "#/components/schemas/StoreSubmission" }, + "items": { + "$ref": "#/components/schemas/StoreSubmission" + }, "type": "array", "title": "Versions", "default": [] @@ -11370,7 +15793,9 @@ "type": "array", "title": "Listings" }, - "pagination": { "$ref": "#/components/schemas/Pagination" } + "pagination": { + "$ref": "#/components/schemas/Pagination" + } }, "type": "object", "required": ["listings", "pagination"], @@ -11379,9 +15804,19 @@ }, "StoreReview": { "properties": { - "score": { "type": "integer", "title": "Score" }, + "score": { + "type": "integer", + "title": "Score" + }, "comments": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Comments" } }, @@ -11395,9 +15830,19 @@ "type": "string", "title": "Store Listing Version Id" }, - "score": { "type": "integer", "title": "Score" }, + "score": { + "type": "integer", + "title": "Score" + }, "comments": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Comments" } }, @@ -11407,19 +15852,49 @@ }, "StoreSubmission": { "properties": { - "listing_id": { "type": "string", "title": "Listing Id" }, - "agent_id": { "type": "string", "title": "Agent Id" }, - "agent_version": { "type": "integer", "title": "Agent Version" }, - "name": { "type": "string", "title": "Name" }, - "sub_heading": { "type": "string", "title": "Sub Heading" }, - "slug": { "type": "string", "title": "Slug" }, - "description": { "type": "string", "title": "Description" }, + "listing_id": { + "type": "string", + "title": "Listing Id" + }, + "agent_id": { + "type": "string", + "title": "Agent Id" + }, + "agent_version": { + "type": "integer", + "title": "Agent Version" + }, + "name": { + "type": "string", + "title": "Name" + }, + "sub_heading": { + "type": "string", + "title": "Sub Heading" + }, + "slug": { + "type": "string", + "title": "Slug" + }, + "description": { + "type": "string", + "title": "Description" + }, "instructions": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Instructions" }, "image_urls": { - "items": { "type": "string" }, + "items": { + "type": "string" + }, "type": "array", "title": "Image Urls" }, @@ -11428,50 +15903,121 @@ "format": "date-time", "title": "Date Submitted" }, - "status": { "$ref": "#/components/schemas/SubmissionStatus" }, - "runs": { "type": "integer", "title": "Runs" }, - "rating": { "type": "number", "title": "Rating" }, + "status": { + "$ref": "#/components/schemas/SubmissionStatus" + }, + "runs": { + "type": "integer", + "title": "Runs" + }, + "rating": { + "type": "number", + "title": "Rating" + }, "store_listing_version_id": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Store Listing Version Id" }, "version": { - "anyOf": [{ "type": "integer" }, { "type": "null" }], + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], "title": "Version" }, "reviewer_id": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Reviewer Id" }, "review_comments": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Review Comments" }, "internal_comments": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Internal Comments" }, "reviewed_at": { "anyOf": [ - { "type": "string", "format": "date-time" }, - { "type": "null" } + { + "type": "string", + "format": "date-time" + }, + { + "type": "null" + } ], "title": "Reviewed At" }, "changes_summary": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Changes Summary" }, "video_url": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Video Url" }, "agent_output_demo_url": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Agent Output Demo Url" }, "categories": { - "items": { "type": "string" }, + "items": { + "type": "string" + }, "type": "array", "title": "Categories", "default": [] @@ -11496,18 +16042,40 @@ }, "StoreSubmissionEditRequest": { "properties": { - "name": { "type": "string", "title": "Name" }, - "sub_heading": { "type": "string", "title": "Sub Heading" }, + "name": { + "type": "string", + "title": "Name" + }, + "sub_heading": { + "type": "string", + "title": "Sub Heading" + }, "video_url": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Video Url" }, "agent_output_demo_url": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Agent Output Demo Url" }, "image_urls": { - "items": { "type": "string" }, + "items": { + "type": "string" + }, "type": "array", "title": "Image Urls", "default": [] @@ -11518,21 +16086,44 @@ "default": "" }, "instructions": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Instructions" }, "categories": { - "items": { "type": "string" }, + "items": { + "type": "string" + }, "type": "array", "title": "Categories", "default": [] }, "changes_summary": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Changes Summary" }, "recommended_schedule_cron": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Recommended Schedule Cron" } }, @@ -11554,19 +16145,44 @@ "title": "Agent Version", "description": "Agent version must be greater than 0" }, - "slug": { "type": "string", "title": "Slug" }, - "name": { "type": "string", "title": "Name" }, - "sub_heading": { "type": "string", "title": "Sub Heading" }, + "slug": { + "type": "string", + "title": "Slug" + }, + "name": { + "type": "string", + "title": "Name" + }, + "sub_heading": { + "type": "string", + "title": "Sub Heading" + }, "video_url": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Video Url" }, "agent_output_demo_url": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Agent Output Demo Url" }, "image_urls": { - "items": { "type": "string" }, + "items": { + "type": "string" + }, "type": "array", "title": "Image Urls", "default": [] @@ -11577,21 +16193,44 @@ "default": "" }, "instructions": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Instructions" }, "categories": { - "items": { "type": "string" }, + "items": { + "type": "string" + }, "type": "array", "title": "Categories", "default": [] }, "changes_summary": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Changes Summary" }, "recommended_schedule_cron": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Recommended Schedule Cron" } }, @@ -11608,11 +16247,15 @@ "StoreSubmissionsResponse": { "properties": { "submissions": { - "items": { "$ref": "#/components/schemas/StoreSubmission" }, + "items": { + "$ref": "#/components/schemas/StoreSubmission" + }, "type": "array", "title": "Submissions" }, - "pagination": { "$ref": "#/components/schemas/Pagination" } + "pagination": { + "$ref": "#/components/schemas/Pagination" + } }, "type": "object", "required": ["submissions", "pagination"], @@ -11620,7 +16263,10 @@ }, "StreamChatRequest": { "properties": { - "message": { "type": "string", "title": "Message" }, + "message": { + "type": "string", + "title": "Message" + }, "is_user_message": { "type": "boolean", "title": "Is User Message", @@ -11629,10 +16275,14 @@ "context": { "anyOf": [ { - "additionalProperties": { "type": "string" }, + "additionalProperties": { + "type": "string" + }, "type": "object" }, - { "type": "null" } + { + "type": "null" + } ], "title": "Context" } @@ -11650,12 +16300,16 @@ "SuggestionsResponse": { "properties": { "otto_suggestions": { - "items": { "type": "string" }, + "items": { + "type": "string" + }, "type": "array", "title": "Otto Suggestions" }, "recent_searches": { - "items": { "$ref": "#/components/schemas/SearchEntry" }, + "items": { + "$ref": "#/components/schemas/SearchEntry" + }, "type": "array", "title": "Recent Searches" }, @@ -11668,7 +16322,9 @@ "title": "Providers" }, "top_blocks": { - "items": { "$ref": "#/components/schemas/BlockInfo" }, + "items": { + "$ref": "#/components/schemas/BlockInfo" + }, "type": "array", "title": "Top Blocks" } @@ -12289,7 +16945,9 @@ ], "minLength": 1 }, - { "type": "string" } + { + "type": "string" + } ], "title": "Timezone" } @@ -12300,30 +16958,66 @@ }, "TokenIntrospectionResult": { "properties": { - "active": { "type": "boolean", "title": "Active" }, + "active": { + "type": "boolean", + "title": "Active" + }, "scopes": { "anyOf": [ - { "items": { "type": "string" }, "type": "array" }, - { "type": "null" } + { + "items": { + "type": "string" + }, + "type": "array" + }, + { + "type": "null" + } ], "title": "Scopes" }, "client_id": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Client Id" }, "user_id": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "User Id" }, "exp": { - "anyOf": [{ "type": "integer" }, { "type": "null" }], + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], "title": "Exp" }, "token_type": { "anyOf": [ - { "type": "string", "enum": ["access_token", "refresh_token"] }, - { "type": "null" } + { + "type": "string", + "enum": ["access_token", "refresh_token"] + }, + { + "type": "null" + } ], "title": "Token Type" } @@ -12350,8 +17044,14 @@ "title": "Redirect Uri", "description": "Redirect URI (must match authorization request)" }, - "client_id": { "type": "string", "title": "Client Id" }, - "client_secret": { "type": "string", "title": "Client Secret" }, + "client_id": { + "type": "string", + "title": "Client Id" + }, + "client_secret": { + "type": "string", + "title": "Client Secret" + }, "code_verifier": { "type": "string", "title": "Code Verifier", @@ -12376,9 +17076,18 @@ "const": "refresh_token", "title": "Grant Type" }, - "refresh_token": { "type": "string", "title": "Refresh Token" }, - "client_id": { "type": "string", "title": "Client Id" }, - "client_secret": { "type": "string", "title": "Client Secret" } + "refresh_token": { + "type": "string", + "title": "Refresh Token" + }, + "client_id": { + "type": "string", + "title": "Client Id" + }, + "client_secret": { + "type": "string", + "title": "Client Secret" + } }, "type": "object", "required": [ @@ -12397,20 +17106,28 @@ "title": "Token Type", "default": "Bearer" }, - "access_token": { "type": "string", "title": "Access Token" }, + "access_token": { + "type": "string", + "title": "Access Token" + }, "access_token_expires_at": { "type": "string", "format": "date-time", "title": "Access Token Expires At" }, - "refresh_token": { "type": "string", "title": "Refresh Token" }, + "refresh_token": { + "type": "string", + "title": "Refresh Token" + }, "refresh_token_expires_at": { "type": "string", "format": "date-time", "title": "Refresh Token Expires At" }, "scopes": { - "items": { "type": "string" }, + "items": { + "type": "string" + }, "type": "array", "title": "Scopes" } @@ -12429,14 +17146,21 @@ "TransactionHistory": { "properties": { "transactions": { - "items": { "$ref": "#/components/schemas/UserTransaction" }, + "items": { + "$ref": "#/components/schemas/UserTransaction" + }, "type": "array", "title": "Transactions" }, "next_transaction_time": { "anyOf": [ - { "type": "string", "format": "date-time" }, - { "type": "null" } + { + "type": "string", + "format": "date-time" + }, + { + "type": "null" + } ], "title": "Next Transaction Time" } @@ -12447,14 +17171,23 @@ }, "TriggeredPresetSetupRequest": { "properties": { - "name": { "type": "string", "title": "Name" }, + "name": { + "type": "string", + "title": "Name" + }, "description": { "type": "string", "title": "Description", "default": "" }, - "graph_id": { "type": "string", "title": "Graph Id" }, - "graph_version": { "type": "integer", "title": "Graph Version" }, + "graph_id": { + "type": "string", + "title": "Graph Id" + }, + "graph_version": { + "type": "integer", + "title": "Graph Version" + }, "trigger_config": { "additionalProperties": true, "type": "object", @@ -12478,13 +17211,25 @@ "$ref": "#/components/schemas/ResponseType", "default": "understanding_updated" }, - "message": { "type": "string", "title": "Message" }, + "message": { + "type": "string", + "title": "Message" + }, "session_id": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Session Id" }, "updated_fields": { - "items": { "type": "string" }, + "items": { + "type": "string" + }, "type": "array", "title": "Updated Fields" }, @@ -12502,11 +17247,15 @@ "UnifiedSearchResponse": { "properties": { "results": { - "items": { "$ref": "#/components/schemas/UnifiedSearchResult" }, + "items": { + "$ref": "#/components/schemas/UnifiedSearchResult" + }, "type": "array", "title": "Results" }, - "pagination": { "$ref": "#/components/schemas/Pagination" } + "pagination": { + "$ref": "#/components/schemas/Pagination" + } }, "type": "object", "required": ["results", "pagination"], @@ -12515,33 +17264,73 @@ }, "UnifiedSearchResult": { "properties": { - "content_type": { "type": "string", "title": "Content Type" }, - "content_id": { "type": "string", "title": "Content Id" }, - "searchable_text": { "type": "string", "title": "Searchable Text" }, + "content_type": { + "type": "string", + "title": "Content Type" + }, + "content_id": { + "type": "string", + "title": "Content Id" + }, + "searchable_text": { + "type": "string", + "title": "Searchable Text" + }, "metadata": { "anyOf": [ - { "additionalProperties": true, "type": "object" }, - { "type": "null" } + { + "additionalProperties": true, + "type": "object" + }, + { + "type": "null" + } ], "title": "Metadata" }, "updated_at": { "anyOf": [ - { "type": "string", "format": "date-time" }, - { "type": "null" } + { + "type": "string", + "format": "date-time" + }, + { + "type": "null" + } ], "title": "Updated At" }, "combined_score": { - "anyOf": [{ "type": "number" }, { "type": "null" }], + "anyOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ], "title": "Combined Score" }, "semantic_score": { - "anyOf": [{ "type": "number" }, { "type": "null" }], + "anyOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ], "title": "Semantic Score" }, "lexical_score": { - "anyOf": [{ "type": "number" }, { "type": "null" }], + "anyOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ], "title": "Lexical Score" } }, @@ -12565,7 +17354,9 @@ "UpdatePermissionsRequest": { "properties": { "permissions": { - "items": { "$ref": "#/components/schemas/APIKeyPermission" }, + "items": { + "$ref": "#/components/schemas/APIKeyPermission" + }, "type": "array", "title": "Permissions" } @@ -13187,11 +17978,26 @@ }, "UploadFileResponse": { "properties": { - "file_uri": { "type": "string", "title": "File Uri" }, - "file_name": { "type": "string", "title": "File Name" }, - "size": { "type": "integer", "title": "Size" }, - "content_type": { "type": "string", "title": "Content Type" }, - "expires_in_hours": { "type": "integer", "title": "Expires In Hours" } + "file_uri": { + "type": "string", + "title": "File Uri" + }, + "file_name": { + "type": "string", + "title": "File Name" + }, + "size": { + "type": "integer", + "title": "Size" + }, + "content_type": { + "type": "string", + "title": "Content Type" + }, + "expires_in_hours": { + "type": "integer", + "title": "Expires In Hours" + } }, "type": "object", "required": [ @@ -13206,11 +18012,15 @@ "UserHistoryResponse": { "properties": { "history": { - "items": { "$ref": "#/components/schemas/UserTransaction" }, + "items": { + "$ref": "#/components/schemas/UserTransaction" + }, "type": "array", "title": "History" }, - "pagination": { "$ref": "#/components/schemas/Pagination" } + "pagination": { + "$ref": "#/components/schemas/Pagination" + } }, "type": "object", "required": ["history", "pagination"], @@ -13219,56 +18029,111 @@ }, "UserOnboarding": { "properties": { - "userId": { "type": "string", "title": "Userid" }, + "userId": { + "type": "string", + "title": "Userid" + }, "completedSteps": { - "items": { "$ref": "#/components/schemas/OnboardingStep" }, + "items": { + "$ref": "#/components/schemas/OnboardingStep" + }, "type": "array", "title": "Completedsteps" }, - "walletShown": { "type": "boolean", "title": "Walletshown" }, + "walletShown": { + "type": "boolean", + "title": "Walletshown" + }, "notified": { - "items": { "$ref": "#/components/schemas/OnboardingStep" }, + "items": { + "$ref": "#/components/schemas/OnboardingStep" + }, "type": "array", "title": "Notified" }, "rewardedFor": { - "items": { "$ref": "#/components/schemas/OnboardingStep" }, + "items": { + "$ref": "#/components/schemas/OnboardingStep" + }, "type": "array", "title": "Rewardedfor" }, "usageReason": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Usagereason" }, "integrations": { - "items": { "type": "string" }, + "items": { + "type": "string" + }, "type": "array", "title": "Integrations" }, "otherIntegrations": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Otherintegrations" }, "selectedStoreListingVersionId": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Selectedstorelistingversionid" }, "agentInput": { "anyOf": [ - { "additionalProperties": true, "type": "object" }, - { "type": "null" } + { + "additionalProperties": true, + "type": "object" + }, + { + "type": "null" + } ], "title": "Agentinput" }, "onboardingAgentExecutionId": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Onboardingagentexecutionid" }, - "agentRuns": { "type": "integer", "title": "Agentruns" }, + "agentRuns": { + "type": "integer", + "title": "Agentruns" + }, "lastRunAt": { "anyOf": [ - { "type": "string", "format": "date-time" }, - { "type": "null" } + { + "type": "string", + "format": "date-time" + }, + { + "type": "null" + } ], "title": "Lastrunat" }, @@ -13299,47 +18164,98 @@ "UserOnboardingUpdate": { "properties": { "walletShown": { - "anyOf": [{ "type": "boolean" }, { "type": "null" }], + "anyOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ], "title": "Walletshown" }, "notified": { "anyOf": [ { - "items": { "$ref": "#/components/schemas/OnboardingStep" }, + "items": { + "$ref": "#/components/schemas/OnboardingStep" + }, "type": "array" }, - { "type": "null" } + { + "type": "null" + } ], "title": "Notified" }, "usageReason": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Usagereason" }, "integrations": { "anyOf": [ - { "items": { "type": "string" }, "type": "array" }, - { "type": "null" } + { + "items": { + "type": "string" + }, + "type": "array" + }, + { + "type": "null" + } ], "title": "Integrations" }, "otherIntegrations": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Otherintegrations" }, "selectedStoreListingVersionId": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Selectedstorelistingversionid" }, "agentInput": { "anyOf": [ - { "additionalProperties": true, "type": "object" }, - { "type": "null" } + { + "additionalProperties": true, + "type": "object" + }, + { + "type": "null" + } ], "title": "Agentinput" }, "onboardingAgentExecutionId": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Onboardingagentexecutionid" } }, @@ -13348,10 +18264,23 @@ }, "UserPasswordCredentials": { "properties": { - "id": { "type": "string", "title": "Id" }, - "provider": { "type": "string", "title": "Provider" }, + "id": { + "type": "string", + "title": "Id" + }, + "provider": { + "type": "string", + "title": "Provider" + }, "title": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Title" }, "type": { @@ -13417,7 +18346,11 @@ "$ref": "#/components/schemas/CreditTransactionType", "default": "USAGE" }, - "amount": { "type": "integer", "title": "Amount", "default": 0 }, + "amount": { + "type": "integer", + "title": "Amount", + "default": 0 + }, "running_balance": { "type": "integer", "title": "Running Balance", @@ -13429,15 +18362,36 @@ "default": 0 }, "description": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Description" }, "usage_graph_id": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Usage Graph Id" }, "usage_execution_id": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Usage Execution Id" }, "usage_node_count": { @@ -13451,21 +18405,52 @@ "title": "Usage Start Time", "default": "9999-12-31T23:59:59.999999Z" }, - "user_id": { "type": "string", "title": "User Id" }, + "user_id": { + "type": "string", + "title": "User Id" + }, "user_email": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "User Email" }, "reason": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Reason" }, "admin_email": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Admin Email" }, "extra_data": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Extra Data" } }, @@ -13476,14 +18461,34 @@ "ValidationError": { "properties": { "loc": { - "items": { "anyOf": [{ "type": "string" }, { "type": "integer" }] }, + "items": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "integer" + } + ] + }, "type": "array", "title": "Location" }, - "msg": { "type": "string", "title": "Message" }, - "type": { "type": "string", "title": "Error Type" }, - "input": { "title": "Input" }, - "ctx": { "type": "object", "title": "Context" } + "msg": { + "type": "string", + "title": "Message" + }, + "type": { + "type": "string", + "title": "Error Type" + }, + "input": { + "title": "Input" + }, + "ctx": { + "type": "object", + "title": "Context" + } }, "type": "object", "required": ["loc", "msg", "type"], @@ -13491,18 +18496,35 @@ }, "Webhook": { "properties": { - "id": { "type": "string", "title": "Id" }, - "user_id": { "type": "string", "title": "User Id" }, + "id": { + "type": "string", + "title": "Id" + }, + "user_id": { + "type": "string", + "title": "User Id" + }, "provider": { "type": "string", "title": "Provider", "description": "Provider name for integrations. Can be any string value, including custom provider names." }, - "credentials_id": { "type": "string", "title": "Credentials Id" }, - "webhook_type": { "type": "string", "title": "Webhook Type" }, - "resource": { "type": "string", "title": "Resource" }, + "credentials_id": { + "type": "string", + "title": "Credentials Id" + }, + "webhook_type": { + "type": "string", + "title": "Webhook Type" + }, + "resource": { + "type": "string", + "title": "Resource" + }, "events": { - "items": { "type": "string" }, + "items": { + "type": "string" + }, "type": "array", "title": "Events" }, @@ -13511,12 +18533,19 @@ "type": "object", "title": "Config" }, - "secret": { "type": "string", "title": "Secret" }, + "secret": { + "type": "string", + "title": "Secret" + }, "provider_webhook_id": { "type": "string", "title": "Provider Webhook Id" }, - "url": { "type": "string", "title": "Url", "readOnly": true } + "url": { + "type": "string", + "title": "Url", + "readOnly": true + } }, "type": "object", "required": [ @@ -13531,6 +18560,58 @@ "url" ], "title": "Webhook" + }, + "SuggestedGoalResponse": { + "properties": { + "type": { + "const": "suggested_goal", + "default": "suggested_goal", + "title": "Type", + "type": "string" + }, + "message": { + "title": "Message", + "type": "string" + }, + "session_id": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "default": null, + "title": "Session Id" + }, + "suggested_goal": { + "description": "The suggested alternative goal", + "title": "Suggested Goal", + "type": "string" + }, + "reason": { + "default": "", + "description": "Why the original goal needs refinement", + "title": "Reason", + "type": "string" + }, + "original_goal": { + "default": "", + "description": "The user's original goal for context", + "title": "Original Goal", + "type": "string" + }, + "goal_type": { + "default": "vague", + "description": "Type: 'vague' or 'unachievable'", + "title": "Goal Type", + "type": "string" + } + }, + "required": ["message", "suggested_goal"], + "title": "SuggestedGoalResponse", + "type": "object" } }, "securitySchemes": { @@ -13539,7 +18620,10 @@ "in": "header", "name": "X-Postmark-Webhook-Token" }, - "HTTPBearer": { "type": "http", "scheme": "bearer" }, + "HTTPBearer": { + "type": "http", + "scheme": "bearer" + }, "HTTPBearerJWT": { "type": "http", "scheme": "bearer", @@ -13553,7 +18637,11 @@ "application/json": { "schema": { "type": "object", - "properties": { "detail": { "type": "string" } } + "properties": { + "detail": { + "type": "string" + } + } } } }