From f35a270ca10e3d28b07168f140ee167e5126be06 Mon Sep 17 00:00:00 2001 From: Bentlybro Date: Sat, 4 Apr 2026 19:47:23 +0000 Subject: [PATCH] chore: regenerate OpenAPI schema for new migration endpoints --- .../frontend/src/app/api/openapi.json | 11646 +++++++++++++--- 1 file changed, 9605 insertions(+), 2041 deletions(-) diff --git a/autogpt_platform/frontend/src/app/api/openapi.json b/autogpt_platform/frontend/src/app/api/openapi.json index 3be63d5eb9..66e90da0b6 100644 --- a/autogpt_platform/frontend/src/app/api/openapi.json +++ b/autogpt_platform/frontend/src/app/api/openapi.json @@ -9,7 +9,9 @@ "paths": { "/api/analytics/log_raw_analytics": { "post": { - "tags": ["analytics"], + "tags": [ + "analytics" + ], "summary": "Log Raw Analytics", "operationId": "postAnalyticsLogRawAnalytics", "requestBody": { @@ -25,7 +27,11 @@ "responses": { "200": { "description": "Successful Response", - "content": { "application/json": { "schema": {} } } + "content": { + "application/json": { + "schema": {} + } + } }, "401": { "$ref": "#/components/responses/HTTP401NotAuthenticatedError" @@ -34,23 +40,33 @@ "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": { "post": { - "tags": ["analytics"], + "tags": [ + "analytics" + ], "summary": "Log Raw Metric", "operationId": "postAnalyticsLogRawMetric", "requestBody": { "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/LogRawMetricRequest" } + "schema": { + "$ref": "#/components/schemas/LogRawMetricRequest" + } } }, "required": true @@ -58,7 +74,11 @@ "responses": { "200": { "description": "Successful Response", - "content": { "application/json": { "schema": {} } } + "content": { + "application/json": { + "schema": {} + } + } }, "401": { "$ref": "#/components/responses/HTTP401NotAuthenticatedError" @@ -67,17 +87,26 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] } }, "/api/api-keys": { "get": { - "tags": ["v1", "api-keys"], + "tags": [ + "v1", + "api-keys" + ], "summary": "List user API keys", "description": "List all API keys for the user", "operationId": "getV1List user api keys", @@ -87,7 +116,9 @@ "content": { "application/json": { "schema": { - "items": { "$ref": "#/components/schemas/APIKeyInfo" }, + "items": { + "$ref": "#/components/schemas/APIKeyInfo" + }, "type": "array", "title": "Response Getv1List User Api Keys" } @@ -98,17 +129,26 @@ "$ref": "#/components/responses/HTTP401NotAuthenticatedError" } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] }, "post": { - "tags": ["v1", "api-keys"], + "tags": [ + "v1", + "api-keys" + ], "summary": "Create new API key", "description": "Create a new API key", "operationId": "postV1Create new api key", "requestBody": { "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/CreateAPIKeyRequest" } + "schema": { + "$ref": "#/components/schemas/CreateAPIKeyRequest" + } } }, "required": true @@ -131,27 +171,43 @@ "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}": { "delete": { - "tags": ["v1", "api-keys"], + "tags": [ + "v1", + "api-keys" + ], "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 +215,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/APIKeyInfo" } + "schema": { + "$ref": "#/components/schemas/APIKeyInfo" + } } } }, @@ -170,24 +228,36 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } } }, "get": { - "tags": ["v1", "api-keys"], + "tags": [ + "v1", + "api-keys" + ], "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 +265,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/APIKeyInfo" } + "schema": { + "$ref": "#/components/schemas/APIKeyInfo" + } } } }, @@ -206,7 +278,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -215,17 +289,27 @@ }, "/api/api-keys/{key_id}/permissions": { "put": { - "tags": ["v1", "api-keys"], + "tags": [ + "v1", + "api-keys" + ], "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 +327,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/APIKeyInfo" } + "schema": { + "$ref": "#/components/schemas/APIKeyInfo" + } } } }, @@ -254,7 +340,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -263,17 +351,27 @@ }, "/api/api-keys/{key_id}/suspend": { "post": { - "tags": ["v1", "api-keys"], + "tags": [ + "v1", + "api-keys" + ], "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 +379,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/APIKeyInfo" } + "schema": { + "$ref": "#/components/schemas/APIKeyInfo" + } } } }, @@ -292,7 +392,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -301,30 +403,47 @@ }, "/api/auth/user": { "post": { - "tags": ["v1", "auth"], + "tags": [ + "v1", + "auth" + ], "summary": "Get or create user", "operationId": "postV1Get or create user", "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": { "post": { - "tags": ["v1", "auth"], + "tags": [ + "v1", + "auth" + ], "summary": "Update user email", "operationId": "postV1Update user email", "requestBody": { "content": { "application/json": { - "schema": { "type": "string", "title": "Email" } + "schema": { + "type": "string", + "title": "Email" + } } }, "required": true @@ -335,7 +454,9 @@ "content": { "application/json": { "schema": { - "additionalProperties": { "type": "string" }, + "additionalProperties": { + "type": "string" + }, "type": "object", "title": "Response Postv1Update User Email" } @@ -349,17 +470,26 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] } }, "/api/auth/user/preferences": { "get": { - "tags": ["v1", "auth"], + "tags": [ + "v1", + "auth" + ], "summary": "Get notification preferences", "operationId": "getV1Get notification preferences", "responses": { @@ -377,10 +507,17 @@ "$ref": "#/components/responses/HTTP401NotAuthenticatedError" } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] }, "post": { - "tags": ["v1", "auth"], + "tags": [ + "v1", + "auth" + ], "summary": "Update notification preferences", "operationId": "postV1Update notification preferences", "requestBody": { @@ -411,17 +548,26 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] } }, "/api/auth/user/timezone": { "get": { - "tags": ["v1", "auth"], + "tags": [ + "v1", + "auth" + ], "summary": "Get user timezone", "description": "Get user timezone setting.", "operationId": "getV1Get user timezone", @@ -430,7 +576,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/TimezoneResponse" } + "schema": { + "$ref": "#/components/schemas/TimezoneResponse" + } } } }, @@ -438,17 +586,26 @@ "$ref": "#/components/responses/HTTP401NotAuthenticatedError" } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] }, "post": { - "tags": ["v1", "auth"], + "tags": [ + "v1", + "auth" + ], "summary": "Update user timezone", "description": "Update user timezone. The timezone should be a valid IANA timezone identifier.", "operationId": "postV1Update user timezone", "requestBody": { "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/UpdateTimezoneRequest" } + "schema": { + "$ref": "#/components/schemas/UpdateTimezoneRequest" + } } }, "required": true @@ -458,7 +615,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/TimezoneResponse" } + "schema": { + "$ref": "#/components/schemas/TimezoneResponse" + } } } }, @@ -469,17 +628,26 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] } }, "/api/blocks": { "get": { - "tags": ["v1", "blocks"], + "tags": [ + "v1", + "blocks" + ], "summary": "List available blocks", "operationId": "getV1List available blocks", "responses": { @@ -488,7 +656,10 @@ "content": { "application/json": { "schema": { - "items": { "additionalProperties": true, "type": "object" }, + "items": { + "additionalProperties": true, + "type": "object" + }, "type": "array", "title": "Response Getv1List Available Blocks" } @@ -499,21 +670,35 @@ "$ref": "#/components/responses/HTTP401NotAuthenticatedError" } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] } }, "/api/blocks/{block_id}/execute": { "post": { - "tags": ["v1", "blocks"], + "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 +720,10 @@ "application/json": { "schema": { "type": "object", - "additionalProperties": { "type": "array", "items": {} }, + "additionalProperties": { + "type": "array", + "items": {} + }, "title": "Response Postv1Execute Graph Block" } } @@ -548,7 +736,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -557,18 +747,31 @@ }, "/api/builder/blocks": { "get": { - "tags": ["v2"], + "tags": [ + "v2" + ], "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" } }, @@ -579,10 +782,17 @@ "schema": { "anyOf": [ { - "enum": ["all", "input", "action", "output"], + "enum": [ + "all", + "input", + "action", + "output" + ], "type": "string" }, - { "type": "null" } + { + "type": "null" + } ], "title": "Type" } @@ -597,7 +807,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 +818,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 +840,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/BlockResponse" } + "schema": { + "$ref": "#/components/schemas/BlockResponse" + } } } }, @@ -631,7 +853,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -640,11 +864,17 @@ }, "/api/builder/blocks/batch": { "get": { - "tags": ["v2"], + "tags": [ + "v2" + ], "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 +882,9 @@ "required": true, "schema": { "type": "array", - "items": { "type": "string" }, + "items": { + "type": "string" + }, "title": "Block Ids" } } @@ -664,7 +896,9 @@ "application/json": { "schema": { "type": "array", - "items": { "$ref": "#/components/schemas/BlockInfo" }, + "items": { + "$ref": "#/components/schemas/BlockInfo" + }, "title": "Response Getv2Get Specific Blocks" } } @@ -677,7 +911,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -686,11 +922,17 @@ }, "/api/builder/categories": { "get": { - "tags": ["v2"], + "tags": [ + "v2" + ], "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 +967,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -734,7 +978,9 @@ }, "/api/builder/counts": { "get": { - "tags": ["v2"], + "tags": [ + "v2" + ], "summary": "Get Builder item counts", "description": "Get item counts for the menu categories in the Blocks Menu.", "operationId": "getV2Get builder item counts", @@ -743,7 +989,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/CountResponse" } + "schema": { + "$ref": "#/components/schemas/CountResponse" + } } } }, @@ -751,28 +999,46 @@ "$ref": "#/components/responses/HTTP401NotAuthenticatedError" } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] } }, "/api/builder/providers": { "get": { - "tags": ["v2"], + "tags": [ + "v2" + ], "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 +1046,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/ProviderResponse" } + "schema": { + "$ref": "#/components/schemas/ProviderResponse" + } } } }, @@ -791,7 +1059,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -800,18 +1070,33 @@ }, "/api/builder/search": { "get": { - "tags": ["v2", "store", "private"], + "tags": [ + "v2", + "store", + "private" + ], "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" } }, @@ -820,7 +1105,14 @@ "in": "query", "required": false, "schema": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Filter" } }, @@ -829,7 +1121,14 @@ "in": "query", "required": false, "schema": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Search Id" } }, @@ -839,8 +1138,15 @@ "required": false, "schema": { "anyOf": [ - { "type": "array", "items": { "type": "string" } }, - { "type": "null" } + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "null" + } ], "title": "By Creator" } @@ -849,13 +1155,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": { @@ -863,7 +1177,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/SearchResponse" } + "schema": { + "$ref": "#/components/schemas/SearchResponse" + } } } }, @@ -874,7 +1190,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -883,7 +1201,9 @@ }, "/api/builder/suggestions": { "get": { - "tags": ["v2"], + "tags": [ + "v2" + ], "summary": "Get Builder suggestions", "description": "Get all suggestions for the Blocks Menu.", "operationId": "getV2Get builder suggestions", @@ -892,7 +1212,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/SuggestionsResponse" } + "schema": { + "$ref": "#/components/schemas/SuggestionsResponse" + } } } }, @@ -900,12 +1222,20 @@ "$ref": "#/components/responses/HTTP401NotAuthenticatedError" } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] } }, "/api/chat/config/ttl": { "get": { - "tags": ["v2", "chat", "chat"], + "tags": [ + "v2", + "chat", + "chat" + ], "summary": "Get Ttl Config", "description": "Get the stream TTL configuration.\n\nReturns the Time-To-Live settings for chat streams, which determines\nhow long clients can reconnect to an active stream.\n\nReturns:\n dict: TTL configuration with seconds and milliseconds values.", "operationId": "getV2GetTtlConfig", @@ -927,7 +1257,11 @@ }, "/api/chat/health": { "get": { - "tags": ["v2", "chat", "chat"], + "tags": [ + "v2", + "chat", + "chat" + ], "summary": "Health Check", "description": "Health check endpoint for the chat service.\n\nPerforms a full cycle test of session creation and retrieval. Should always return healthy\nif the service and data layer are operational.\n\nReturns:\n dict: A status dictionary indicating health, service name, and API version.", "operationId": "getV2HealthCheck", @@ -949,7 +1283,11 @@ }, "/api/chat/schema/tool-responses": { "get": { - "tags": ["v2", "chat", "chat"], + "tags": [ + "v2", + "chat", + "chat" + ], "summary": "[Dummy] Tool response type export for codegen", "description": "This endpoint is not meant to be called. It exists solely to expose tool response models in the OpenAPI schema for frontend codegen.", "operationId": "getV2[dummy] tool response type export for codegen", @@ -960,37 +1298,69 @@ "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/SuggestedGoalResponse" }, - { "$ref": "#/components/schemas/BlockListResponse" }, - { "$ref": "#/components/schemas/BlockDetailsResponse" }, - { "$ref": "#/components/schemas/BlockOutputResponse" }, - { "$ref": "#/components/schemas/DocSearchResultsResponse" }, - { "$ref": "#/components/schemas/DocPageResponse" }, + { + "$ref": "#/components/schemas/SuggestedGoalResponse" + }, + { + "$ref": "#/components/schemas/BlockListResponse" + }, + { + "$ref": "#/components/schemas/BlockDetailsResponse" + }, + { + "$ref": "#/components/schemas/BlockOutputResponse" + }, + { + "$ref": "#/components/schemas/DocSearchResultsResponse" + }, + { + "$ref": "#/components/schemas/DocPageResponse" + }, { "$ref": "#/components/schemas/MCPToolsDiscoveredResponse" }, - { "$ref": "#/components/schemas/MCPToolOutputResponse" } + { + "$ref": "#/components/schemas/MCPToolOutputResponse" + } ], "title": "Response Getv2[Dummy] Tool Response Type Export For Codegen" } @@ -1002,11 +1372,19 @@ }, "/api/chat/sessions": { "get": { - "tags": ["v2", "chat", "chat"], + "tags": [ + "v2", + "chat", + "chat" + ], "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", @@ -1050,18 +1428,28 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } } }, "post": { - "tags": ["v2", "chat", "chat"], + "tags": [ + "v2", + "chat", + "chat" + ], "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", @@ -1081,47 +1469,75 @@ }, "/api/chat/sessions/{session_id}": { "delete": { - "tags": ["v2", "chat", "chat"], + "tags": [ + "v2", + "chat", + "chat" + ], "summary": "Delete Session", "description": "Delete a chat session.\n\nPermanently removes a chat session and all its messages.\nOnly the owner can delete their sessions.\n\nArgs:\n session_id: The session ID to delete.\n user_id: The authenticated user's ID.\n\nReturns:\n 204 No Content on success.\n\nRaises:\n HTTPException: 404 if session not found or not owned by user.", "operationId": "deleteV2DeleteSession", - "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": { - "204": { "description": "Successful Response" }, + "204": { + "description": "Successful Response" + }, "401": { "$ref": "#/components/responses/HTTP401NotAuthenticatedError" }, - "404": { "description": "Session not found or access denied" }, + "404": { + "description": "Session not found or access denied" + }, "422": { "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } } }, "get": { - "tags": ["v2", "chat", "chat"], + "tags": [ + "v2", + "chat", + "chat" + ], "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 active_stream info 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": { @@ -1142,7 +1558,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -1151,17 +1569,28 @@ }, "/api/chat/sessions/{session_id}/assign-user": { "patch": { - "tags": ["v2", "chat", "chat"], + "tags": [ + "v2", + "chat", + "chat" + ], "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": { @@ -1184,7 +1613,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -1193,17 +1624,28 @@ }, "/api/chat/sessions/{session_id}/cancel": { "post": { - "tags": ["v2", "chat", "chat"], + "tags": [ + "v2", + "chat", + "chat" + ], "summary": "Cancel Session Task", "description": "Cancel the active streaming task for a session.\n\nPublishes a cancel event to the executor via RabbitMQ FANOUT, then\npolls Redis until the task status flips from ``running`` or a timeout\n(5 s) is reached. Returns only after the cancellation is confirmed.", "operationId": "postV2CancelSessionTask", - "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": { @@ -1224,7 +1666,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -1233,23 +1677,38 @@ }, "/api/chat/sessions/{session_id}/stream": { "get": { - "tags": ["v2", "chat", "chat"], + "tags": [ + "v2", + "chat", + "chat" + ], "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" @@ -1258,38 +1717,57 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } } }, "post": { - "tags": ["v2", "chat", "chat"], + "tags": [ + "v2", + "chat", + "chat" + ], "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 a per-turn Redis stream for reconnection support. If the client\ndisconnects, they can reconnect using GET /sessions/{session_id}/stream to resume.\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: Authenticated user ID.\nReturns:\n StreamingResponse: SSE-formatted response chunks.", "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" @@ -1298,7 +1776,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -1307,17 +1787,28 @@ }, "/api/chat/sessions/{session_id}/title": { "patch": { - "tags": ["v2", "chat", "chat"], + "tags": [ + "v2", + "chat", + "chat" + ], "summary": "Update session title", "description": "Update the title of a chat session.\n\nAllows the user to rename their chat session.\n\nArgs:\n session_id: The session ID to update.\n request: Request body containing the new title.\n user_id: The authenticated user's ID.\n\nReturns:\n dict: Status of the update.\n\nRaises:\n HTTPException: 404 if session not found or not owned by user.", "operationId": "patchV2Update session title", - "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": { @@ -1346,12 +1837,16 @@ "401": { "$ref": "#/components/responses/HTTP401NotAuthenticatedError" }, - "404": { "description": "Session not found or access denied" }, + "404": { + "description": "Session not found or access denied" + }, "422": { "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -1360,7 +1855,11 @@ }, "/api/chat/usage": { "get": { - "tags": ["v2", "chat", "chat"], + "tags": [ + "v2", + "chat", + "chat" + ], "summary": "Get Copilot Usage", "description": "Get CoPilot usage status for the authenticated user.\n\nReturns current token usage vs limits for daily and weekly windows.", "operationId": "getV2GetCopilotUsage", @@ -1369,7 +1868,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/CoPilotUsageStatus" } + "schema": { + "$ref": "#/components/schemas/CoPilotUsageStatus" + } } } }, @@ -1377,12 +1878,19 @@ "$ref": "#/components/responses/HTTP401NotAuthenticatedError" } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] } }, "/api/credits": { "get": { - "tags": ["v1", "credits"], + "tags": [ + "v1", + "credits" + ], "summary": "Get user credits", "operationId": "getV1Get user credits", "responses": { @@ -1391,7 +1899,9 @@ "content": { "application/json": { "schema": { - "additionalProperties": { "type": "integer" }, + "additionalProperties": { + "type": "integer" + }, "type": "object", "title": "Response Getv1Get User Credits" } @@ -1402,31 +1912,51 @@ "$ref": "#/components/responses/HTTP401NotAuthenticatedError" } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] }, "patch": { - "tags": ["v1", "credits"], + "tags": [ + "v1", + "credits" + ], "summary": "Fulfill checkout session", "operationId": "patchV1Fulfill checkout session", "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"], + "tags": [ + "v1", + "credits" + ], "summary": "Request credit top up", "operationId": "postV1Request credit top up", "requestBody": { "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/RequestTopUp" } + "schema": { + "$ref": "#/components/schemas/RequestTopUp" + } } }, "required": true @@ -1434,7 +1964,11 @@ "responses": { "200": { "description": "Successful Response", - "content": { "application/json": { "schema": {} } } + "content": { + "application/json": { + "schema": {} + } + } }, "401": { "$ref": "#/components/responses/HTTP401NotAuthenticatedError" @@ -1443,17 +1977,28 @@ "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": { "post": { - "tags": ["v2", "admin", "credits", "admin"], + "tags": [ + "v2", + "admin", + "credits", + "admin" + ], "summary": "Add Credits to User", "operationId": "postV2Add credits to user", "requestBody": { @@ -1484,27 +2029,49 @@ "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": { "get": { - "tags": ["v2", "admin", "credits", "admin"], + "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" } }, @@ -1512,13 +2079,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", @@ -1526,8 +2101,12 @@ "required": false, "schema": { "anyOf": [ - { "$ref": "#/components/schemas/CreditTransactionType" }, - { "type": "null" } + { + "$ref": "#/components/schemas/CreditTransactionType" + }, + { + "type": "null" + } ], "title": "Transaction Filter" } @@ -1538,7 +2117,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/UserHistoryResponse" } + "schema": { + "$ref": "#/components/schemas/UserHistoryResponse" + } } } }, @@ -1549,7 +2130,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -1558,7 +2141,10 @@ }, "/api/credits/auto-top-up": { "get": { - "tags": ["v1", "credits"], + "tags": [ + "v1", + "credits" + ], "summary": "Get auto top up", "operationId": "getV1Get auto top up", "responses": { @@ -1566,7 +2152,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/AutoTopUpConfig" } + "schema": { + "$ref": "#/components/schemas/AutoTopUpConfig" + } } } }, @@ -1574,17 +2162,26 @@ "$ref": "#/components/responses/HTTP401NotAuthenticatedError" } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] }, "post": { - "tags": ["v1", "credits"], + "tags": [ + "v1", + "credits" + ], "summary": "Configure auto top up", "description": "Configure auto top-up settings and perform an immediate top-up if needed.\n\nRaises HTTPException(422) if the request parameters are invalid or if\nthe credit top-up fails.", "operationId": "postV1Configure auto top up", "requestBody": { "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/AutoTopUpConfig" } + "schema": { + "$ref": "#/components/schemas/AutoTopUpConfig" + } } }, "required": true @@ -1608,17 +2205,26 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] } }, "/api/credits/manage": { "get": { - "tags": ["v1", "credits"], + "tags": [ + "v1", + "credits" + ], "summary": "Manage payment methods", "operationId": "getV1Manage payment methods", "responses": { @@ -1627,7 +2233,9 @@ "content": { "application/json": { "schema": { - "additionalProperties": { "type": "string" }, + "additionalProperties": { + "type": "string" + }, "type": "object", "title": "Response Getv1Manage Payment Methods" } @@ -1638,12 +2246,19 @@ "$ref": "#/components/responses/HTTP401NotAuthenticatedError" } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] } }, "/api/credits/refunds": { "get": { - "tags": ["v1", "credits"], + "tags": [ + "v1", + "credits" + ], "summary": "Get refund requests", "operationId": "getV1Get refund requests", "responses": { @@ -1652,7 +2267,9 @@ "content": { "application/json": { "schema": { - "items": { "$ref": "#/components/schemas/RefundRequest" }, + "items": { + "$ref": "#/components/schemas/RefundRequest" + }, "type": "array", "title": "Response Getv1Get Refund Requests" } @@ -1663,28 +2280,46 @@ "$ref": "#/components/responses/HTTP401NotAuthenticatedError" } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] } }, "/api/credits/stripe_webhook": { "post": { - "tags": ["v1", "credits"], + "tags": [ + "v1", + "credits" + ], "summary": "Handle Stripe webhooks", "operationId": "postV1Handle stripe webhooks", "responses": { "200": { "description": "Successful Response", - "content": { "application/json": { "schema": {} } } + "content": { + "application/json": { + "schema": {} + } + } } } } }, "/api/credits/transactions": { "get": { - "tags": ["v1", "credits"], + "tags": [ + "v1", + "credits" + ], "summary": "Get credit history", "operationId": "getV1Get credit history", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "transaction_time", @@ -1692,8 +2327,13 @@ "required": false, "schema": { "anyOf": [ - { "type": "string", "format": "date-time" }, - { "type": "null" } + { + "type": "string", + "format": "date-time" + }, + { + "type": "null" + } ], "title": "Transaction Time" } @@ -1703,7 +2343,14 @@ "in": "query", "required": false, "schema": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Transaction Type" } }, @@ -1723,7 +2370,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/TransactionHistory" } + "schema": { + "$ref": "#/components/schemas/TransactionHistory" + } } } }, @@ -1734,7 +2383,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -1743,16 +2394,26 @@ }, "/api/credits/{transaction_key}/refund": { "post": { - "tags": ["v1", "credits"], + "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": { @@ -1761,7 +2422,9 @@ "application/json": { "schema": { "type": "object", - "additionalProperties": { "type": "string" }, + "additionalProperties": { + "type": "string" + }, "title": "Metadata" } } @@ -1786,7 +2449,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -1795,7 +2460,10 @@ }, "/api/email/": { "post": { - "tags": ["v1", "email"], + "tags": [ + "v1", + "email" + ], "summary": "Handle Postmark Email Webhooks", "operationId": "postV1Handle postmark email webhooks", "requestBody": { @@ -1803,13 +2471,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" } @@ -1834,23 +2510,36 @@ "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": { "post": { - "tags": ["v1", "email"], + "tags": [ + "v1", + "email" + ], "summary": "One Click Email Unsubscribe", "operationId": "postV1One click email unsubscribe", "parameters": [ @@ -1858,19 +2547,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" + } } } } @@ -1879,7 +2577,10 @@ }, "/api/executions": { "get": { - "tags": ["v1", "graphs"], + "tags": [ + "v1", + "graphs" + ], "summary": "List all executions", "operationId": "getV1List all executions", "responses": { @@ -1901,29 +2602,52 @@ "$ref": "#/components/responses/HTTP401NotAuthenticatedError" } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] } }, "/api/executions/admin/execution_accuracy_trends": { "get": { - "tags": ["v2", "admin", "admin", "execution_analytics"], + "tags": [ + "v2", + "admin", + "admin", + "execution_analytics" + ], "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" } }, @@ -1931,7 +2655,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", @@ -1972,7 +2700,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -1981,7 +2711,12 @@ }, "/api/executions/admin/execution_analytics": { "post": { - "tags": ["v2", "admin", "admin", "execution_analytics"], + "tags": [ + "v2", + "admin", + "admin", + "execution_analytics" + ], "summary": "Generate Execution Analytics", "description": "Generate activity summaries and correctness scores for graph executions.\n\nThis endpoint:\n1. Fetches all completed executions matching the criteria\n2. Identifies executions missing activity_status or correctness_score\n3. Generates missing data using AI in batches\n4. Updates the database with new stats\n5. Returns a detailed report of the analytics operation", "operationId": "postV2Generate execution analytics", @@ -2013,17 +2748,28 @@ "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": { "get": { - "tags": ["v2", "admin", "admin", "execution_analytics"], + "tags": [ + "v2", + "admin", + "admin", + "execution_analytics" + ], "summary": "Get Execution Analytics Configuration", "description": "Get the configuration for execution analytics including:\n- Available AI models with metadata\n- Default system and user prompts\n- Recommended model selection", "operationId": "getV2Get execution analytics configuration", @@ -2042,25 +2788,41 @@ "$ref": "#/components/responses/HTTP401NotAuthenticatedError" } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] } }, "/api/executions/{graph_exec_id}": { "delete": { - "tags": ["v1", "graphs"], + "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" }, @@ -2068,7 +2830,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -2077,11 +2841,18 @@ }, "/api/files/upload": { "post": { - "tags": ["v1", "files"], + "tags": [ + "v1", + "files" + ], "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": "expiration_hours", @@ -2122,7 +2893,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -2131,7 +2904,10 @@ }, "/api/graphs": { "get": { - "tags": ["v1", "graphs"], + "tags": [ + "v1", + "graphs" + ], "summary": "List user graphs", "operationId": "getV1List user graphs", "responses": { @@ -2140,7 +2916,9 @@ "content": { "application/json": { "schema": { - "items": { "$ref": "#/components/schemas/GraphMeta" }, + "items": { + "$ref": "#/components/schemas/GraphMeta" + }, "type": "array", "title": "Response Getv1List User Graphs" } @@ -2151,16 +2929,25 @@ "$ref": "#/components/responses/HTTP401NotAuthenticatedError" } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] }, "post": { - "tags": ["v1", "graphs"], + "tags": [ + "v1", + "graphs" + ], "summary": "Create new graph", "operationId": "postV1Create new graph", "requestBody": { "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/CreateGraph" } + "schema": { + "$ref": "#/components/schemas/CreateGraph" + } } }, "required": true @@ -2170,7 +2957,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/GraphModel" } + "schema": { + "$ref": "#/components/schemas/GraphModel" + } } } }, @@ -2181,26 +2970,42 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] } }, "/api/graphs/{graph_id}": { "delete": { - "tags": ["v1", "graphs"], + "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": { @@ -2208,7 +3013,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/DeleteGraphResponse" } + "schema": { + "$ref": "#/components/schemas/DeleteGraphResponse" + } } } }, @@ -2219,30 +3026,49 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } } }, "get": { - "tags": ["v1", "graphs"], + "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" } }, @@ -2262,7 +3088,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/GraphModel" } + "schema": { + "$ref": "#/components/schemas/GraphModel" + } } } }, @@ -2273,30 +3101,44 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } } }, "put": { - "tags": ["v1", "graphs"], + "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" + } } } }, @@ -2305,7 +3147,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/GraphModel" } + "schema": { + "$ref": "#/components/schemas/GraphModel" + } } } }, @@ -2316,7 +3160,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -2325,23 +3171,40 @@ }, "/api/graphs/{graph_id}/execute/{graph_version}": { "post": { - "tags": ["v1", "graphs"], + "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" } }, @@ -2350,7 +3213,14 @@ "in": "query", "required": false, "schema": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Preset Id" } } @@ -2369,7 +3239,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/GraphExecutionMeta" } + "schema": { + "$ref": "#/components/schemas/GraphExecutionMeta" + } } } }, @@ -2380,7 +3252,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -2389,16 +3263,26 @@ }, "/api/graphs/{graph_id}/executions": { "get": { - "tags": ["v1", "graphs"], + "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", @@ -2446,7 +3330,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -2455,22 +3341,35 @@ }, "/api/graphs/{graph_id}/executions/{graph_exec_id}": { "get": { - "tags": ["v1", "graphs"], + "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": { @@ -2480,8 +3379,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" } @@ -2495,7 +3398,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -2504,27 +3409,41 @@ }, "/api/graphs/{graph_id}/executions/{graph_exec_id}/share": { "delete": { - "tags": ["v1"], + "tags": [ + "v1" + ], "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" }, @@ -2532,30 +3451,44 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } } }, "post": { - "tags": ["v1"], + "tags": [ + "v1" + ], "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": { @@ -2573,7 +3506,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/ShareResponse" } + "schema": { + "$ref": "#/components/schemas/ShareResponse" + } } } }, @@ -2584,7 +3519,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -2593,22 +3530,35 @@ }, "/api/graphs/{graph_id}/executions/{graph_exec_id}/stop": { "post": { - "tags": ["v1", "graphs"], + "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": { @@ -2618,8 +3568,12 @@ "application/json": { "schema": { "anyOf": [ - { "$ref": "#/components/schemas/GraphExecutionMeta" }, - { "type": "null" } + { + "$ref": "#/components/schemas/GraphExecutionMeta" + }, + { + "type": "null" + } ], "title": "Response Postv1Stop Graph Execution" } @@ -2633,7 +3587,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -2642,16 +3598,26 @@ }, "/api/graphs/{graph_id}/schedules": { "get": { - "tags": ["v1", "schedules"], + "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": { @@ -2676,17 +3642,26 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } } }, "post": { - "tags": ["v1", "schedules"], + "tags": [ + "v1", + "schedules" + ], "summary": "Create execution schedule", "operationId": "postV1Create execution schedule", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "graph_id", @@ -2728,7 +3703,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -2737,24 +3714,36 @@ }, "/api/graphs/{graph_id}/settings": { "patch": { - "tags": ["v1", "graphs"], + "tags": [ + "v1", + "graphs" + ], "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" + } } } }, @@ -2763,7 +3752,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/GraphSettings" } + "schema": { + "$ref": "#/components/schemas/GraphSettings" + } } } }, @@ -2774,7 +3765,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -2783,16 +3776,26 @@ }, "/api/graphs/{graph_id}/versions": { "get": { - "tags": ["v1", "graphs"], + "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": { @@ -2802,7 +3805,9 @@ "application/json": { "schema": { "type": "array", - "items": { "$ref": "#/components/schemas/GraphModel" }, + "items": { + "$ref": "#/components/schemas/GraphModel" + }, "title": "Response Getv1Get All Graph Versions" } } @@ -2815,7 +3820,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -2824,30 +3831,46 @@ }, "/api/graphs/{graph_id}/versions/active": { "put": { - "tags": ["v1", "graphs"], + "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" @@ -2856,7 +3879,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -2865,23 +3890,40 @@ }, "/api/graphs/{graph_id}/versions/{version}": { "get": { - "tags": ["v1", "graphs"], + "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" } }, @@ -2901,7 +3943,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/GraphModel" } + "schema": { + "$ref": "#/components/schemas/GraphModel" + } } } }, @@ -2912,7 +3956,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -2921,7 +3967,10 @@ }, "/api/integrations/ayrshare/sso_url": { "get": { - "tags": ["v1", "integrations"], + "tags": [ + "v1", + "integrations" + ], "summary": "Get Ayrshare Sso Url", "description": "Generate an SSO URL for Ayrshare social media integration.\n\nReturns:\n dict: Contains the SSO URL for Ayrshare integration", "operationId": "getV1GetAyrshareSsoUrl", @@ -2930,7 +3979,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/AyrshareSSOResponse" } + "schema": { + "$ref": "#/components/schemas/AyrshareSSOResponse" + } } } }, @@ -2938,12 +3989,19 @@ "$ref": "#/components/responses/HTTP401NotAuthenticatedError" } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] } }, "/api/integrations/credentials": { "get": { - "tags": ["v1", "integrations"], + "tags": [ + "v1", + "integrations" + ], "summary": "List Credentials", "operationId": "getV1List credentials", "responses": { @@ -2965,12 +4023,19 @@ "$ref": "#/components/responses/HTTP401NotAuthenticatedError" } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] } }, "/api/integrations/providers": { "get": { - "tags": ["v1", "integrations"], + "tags": [ + "v1", + "integrations" + ], "summary": "List Providers", "description": "Get a list of all available provider names.\n\nReturns both statically defined providers (from ProviderName enum)\nand dynamically registered providers (from SDK decorators).\n\nNote: The complete list of provider names is also available as a constant\nin the generated TypeScript client via PROVIDER_NAMES.", "operationId": "getV1ListProviders", @@ -2980,7 +4045,9 @@ "content": { "application/json": { "schema": { - "items": { "type": "string" }, + "items": { + "type": "string" + }, "type": "array", "title": "Response Getv1Listproviders" } @@ -2992,7 +4059,10 @@ }, "/api/integrations/providers/constants": { "get": { - "tags": ["v1", "integrations"], + "tags": [ + "v1", + "integrations" + ], "summary": "Get Provider Constants", "description": "Get provider names as constants.\n\nThis endpoint returns a model with provider names as constants,\nspecifically designed for OpenAPI code generation tools to create\nTypeScript constants.", "operationId": "getV1GetProviderConstants", @@ -3001,7 +4071,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/ProviderConstants" } + "schema": { + "$ref": "#/components/schemas/ProviderConstants" + } } } } @@ -3010,7 +4082,10 @@ }, "/api/integrations/providers/enum-example": { "get": { - "tags": ["v1", "integrations"], + "tags": [ + "v1", + "integrations" + ], "summary": "Get Provider Enum Example", "description": "Example endpoint that uses the CompleteProviderNames enum.\n\nThis endpoint exists to ensure that the CompleteProviderNames enum is included\nin the OpenAPI schema, which will cause Orval to generate it as a\nTypeScript enum/constant.", "operationId": "getV1GetProviderEnumExample", @@ -3030,7 +4105,10 @@ }, "/api/integrations/providers/names": { "get": { - "tags": ["v1", "integrations"], + "tags": [ + "v1", + "integrations" + ], "summary": "Get Provider Names", "description": "Get all provider names in a structured format.\n\nThis endpoint is specifically designed to expose the provider names\nin the OpenAPI schema so that code generators like Orval can create\nappropriate TypeScript constants.", "operationId": "getV1GetProviderNames", @@ -3050,7 +4128,10 @@ }, "/api/integrations/providers/system": { "get": { - "tags": ["v1", "integrations"], + "tags": [ + "v1", + "integrations" + ], "summary": "List System Providers", "description": "Get a list of providers that have platform credits (system credentials) available.\n\nThese providers can be used without the user providing their own API keys.", "operationId": "getV1ListSystemProviders", @@ -3060,7 +4141,9 @@ "content": { "application/json": { "schema": { - "items": { "type": "string" }, + "items": { + "type": "string" + }, "type": "array", "title": "Response Getv1Listsystemproviders" } @@ -3072,22 +4155,36 @@ }, "/api/integrations/webhooks/{webhook_id}/ping": { "post": { - "tags": ["v1", "integrations"], + "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" @@ -3096,7 +4193,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -3105,10 +4204,17 @@ }, "/api/integrations/{provider}/callback": { "post": { - "tags": ["v1", "integrations"], + "tags": [ + "v1", + "integrations" + ], "summary": "Exchange OAuth code for tokens", "operationId": "postV1Exchange oauth code for tokens", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "provider", @@ -3149,7 +4255,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -3158,10 +4266,17 @@ }, "/api/integrations/{provider}/credentials": { "get": { - "tags": ["v1", "integrations"], + "tags": [ + "v1", + "integrations" + ], "summary": "List Credentials By Provider", "operationId": "getV1ListCredentialsByProvider", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "provider", @@ -3196,17 +4311,26 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } } }, "post": { - "tags": ["v1", "integrations"], + "tags": [ + "v1", + "integrations" + ], "summary": "Create Credentials", "operationId": "postV1Create credentials", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "provider", @@ -3225,10 +4349,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", @@ -3251,9 +4383,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" } @@ -3279,7 +4417,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -3288,10 +4428,17 @@ }, "/api/integrations/{provider}/credentials/{cred_id}": { "delete": { - "tags": ["v1", "integrations"], + "tags": [ + "v1", + "integrations" + ], "summary": "Delete Credentials", "operationId": "deleteV1DeleteCredentials", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "provider", @@ -3349,17 +4496,26 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } } }, "get": { - "tags": ["v1", "integrations"], + "tags": [ + "v1", + "integrations" + ], "summary": "Get Specific Credential By ID", "operationId": "getV1Get specific credential by id", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "provider", @@ -3388,9 +4544,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" } @@ -3416,7 +4578,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -3425,10 +4589,17 @@ }, "/api/integrations/{provider}/login": { "get": { - "tags": ["v1", "integrations"], + "tags": [ + "v1", + "integrations" + ], "summary": "Initiate OAuth flow", "operationId": "getV1Initiate oauth flow", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "provider", @@ -3456,7 +4627,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/LoginResponse" } + "schema": { + "$ref": "#/components/schemas/LoginResponse" + } } } }, @@ -3467,7 +4640,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -3476,7 +4651,10 @@ }, "/api/integrations/{provider}/webhooks/{webhook_id}/ingress": { "post": { - "tags": ["v1", "integrations"], + "tags": [ + "v1", + "integrations" + ], "summary": "Webhook Ingress Generic", "operationId": "postV1WebhookIngressGeneric", "parameters": [ @@ -3494,19 +4672,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" + } } } } @@ -3515,18 +4702,33 @@ }, "/api/library/agents": { "get": { - "tags": ["v2", "library", "private"], + "tags": [ + "v2", + "library", + "private" + ], "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" }, @@ -3574,7 +4776,14 @@ "in": "query", "required": false, "schema": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "description": "Filter by folder ID", "title": "Folder Id" }, @@ -3611,18 +4820,28 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } } }, "post": { - "tags": ["v2", "library", "private"], + "tags": [ + "v2", + "library", + "private" + ], "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": { @@ -3638,7 +4857,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/LibraryAgent" } + "schema": { + "$ref": "#/components/schemas/LibraryAgent" + } } } }, @@ -3649,7 +4870,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -3658,23 +4881,41 @@ }, "/api/library/agents/by-graph/{graph_id}": { "get": { - "tags": ["v2", "library", "private"], + "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" } } @@ -3684,7 +4925,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/LibraryAgent" } + "schema": { + "$ref": "#/components/schemas/LibraryAgent" + } } } }, @@ -3695,7 +4938,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -3704,11 +4949,19 @@ }, "/api/library/agents/favorites": { "get": { - "tags": ["v2", "library", "private"], + "tags": [ + "v2", + "library", + "private" + ], "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", @@ -3755,7 +5008,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -3764,17 +5019,30 @@ }, "/api/library/agents/marketplace/{store_listing_version_id}": { "get": { - "tags": ["v2", "library", "private", "store", "library"], + "tags": [ + "v2", + "library", + "private", + "store", + "library" + ], "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": { @@ -3784,8 +5052,12 @@ "application/json": { "schema": { "anyOf": [ - { "$ref": "#/components/schemas/LibraryAgent" }, - { "type": "null" } + { + "$ref": "#/components/schemas/LibraryAgent" + }, + { + "type": "null" + } ], "title": "Response Getv2Get Agent By Store Id" } @@ -3799,7 +5071,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -3808,23 +5082,38 @@ }, "/api/library/agents/{library_agent_id}": { "delete": { - "tags": ["v2", "library", "private"], + "tags": [ + "v2", + "library", + "private" + ], "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" @@ -3833,23 +5122,36 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } } }, "get": { - "tags": ["v2", "library", "private"], + "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": { @@ -3857,7 +5159,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/LibraryAgent" } + "schema": { + "$ref": "#/components/schemas/LibraryAgent" + } } } }, @@ -3868,24 +5172,37 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } } }, "patch": { - "tags": ["v2", "library", "private"], + "tags": [ + "v2", + "library", + "private" + ], "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": { @@ -3903,7 +5220,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/LibraryAgent" } + "schema": { + "$ref": "#/components/schemas/LibraryAgent" + } } } }, @@ -3914,7 +5233,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -3923,16 +5244,27 @@ }, "/api/library/agents/{library_agent_id}/fork": { "post": { - "tags": ["v2", "library", "private"], + "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": { @@ -3940,7 +5272,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/LibraryAgent" } + "schema": { + "$ref": "#/components/schemas/LibraryAgent" + } } } }, @@ -3951,7 +5285,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -3960,18 +5296,34 @@ }, "/api/library/folders": { "get": { - "tags": ["v2", "library", "folders", "private"], + "tags": [ + "v2", + "library", + "folders", + "private" + ], "summary": "List Library Folders", "description": "List folders for the authenticated user.\n\nArgs:\n user_id: ID of the authenticated user.\n parent_id: Optional parent folder ID to filter by.\n include_relations: Whether to include agent and subfolder relations for counts.\n\nReturns:\n A FolderListResponse containing folders.", "operationId": "getV2List library folders", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "parent_id", "in": "query", "required": false, "schema": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "description": "Filter by parent folder ID. If not provided, returns root-level folders.", "title": "Parent Id" }, @@ -3995,7 +5347,9 @@ "description": "List of folders", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/FolderListResponse" } + "schema": { + "$ref": "#/components/schemas/FolderListResponse" + } } } }, @@ -4006,24 +5360,39 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } }, - "500": { "description": "Server error" } + "500": { + "description": "Server error" + } } }, "post": { - "tags": ["v2", "library", "folders", "private"], + "tags": [ + "v2", + "library", + "folders", + "private" + ], "summary": "Create Folder", "description": "Create a new folder.\n\nArgs:\n payload: The folder creation request.\n user_id: ID of the authenticated user.\n\nReturns:\n The created LibraryFolder.", "operationId": "postV2Create folder", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "requestBody": { "required": true, "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/FolderCreateRequest" } + "schema": { + "$ref": "#/components/schemas/FolderCreateRequest" + } } } }, @@ -4032,38 +5401,57 @@ "description": "Folder created successfully", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/LibraryFolder" } + "schema": { + "$ref": "#/components/schemas/LibraryFolder" + } } } }, - "400": { "description": "Validation error" }, + "400": { + "description": "Validation error" + }, "401": { "$ref": "#/components/responses/HTTP401NotAuthenticatedError" }, - "404": { "description": "Parent folder not found" }, - "409": { "description": "Folder name conflict" }, + "404": { + "description": "Parent folder not found" + }, + "409": { + "description": "Folder name conflict" + }, "422": { "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } }, - "500": { "description": "Server error" } + "500": { + "description": "Server error" + } } } }, "/api/library/folders/agents/bulk-move": { "post": { - "tags": ["v2", "library", "folders", "private"], + "tags": [ + "v2", + "library", + "folders", + "private" + ], "summary": "Bulk Move Agents", "description": "Move multiple agents to a folder.\n\nArgs:\n payload: The bulk move request with agent IDs and target folder.\n user_id: ID of the authenticated user.\n\nReturns:\n The updated LibraryAgents.", "operationId": "postV2Bulk move agents", "requestBody": { "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/BulkMoveAgentsRequest" } + "schema": { + "$ref": "#/components/schemas/BulkMoveAgentsRequest" + } } }, "required": true @@ -4074,7 +5462,9 @@ "content": { "application/json": { "schema": { - "items": { "$ref": "#/components/schemas/LibraryAgent" }, + "items": { + "$ref": "#/components/schemas/LibraryAgent" + }, "type": "array", "title": "Response Postv2Bulk Move Agents" } @@ -4084,23 +5474,38 @@ "401": { "$ref": "#/components/responses/HTTP401NotAuthenticatedError" }, - "404": { "description": "Folder not found" }, + "404": { + "description": "Folder not found" + }, "422": { "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } }, - "500": { "description": "Server error" } + "500": { + "description": "Server error" + } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] } }, "/api/library/folders/tree": { "get": { - "tags": ["v2", "library", "folders", "private"], + "tags": [ + "v2", + "library", + "folders", + "private" + ], "summary": "Get Folder Tree", "description": "Get the full folder tree for the authenticated user.\n\nArgs:\n user_id: ID of the authenticated user.\n\nReturns:\n A FolderTreeResponse containing the nested folder structure.", "operationId": "getV2Get folder tree", @@ -4109,62 +5514,102 @@ "description": "Folder tree structure", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/FolderTreeResponse" } + "schema": { + "$ref": "#/components/schemas/FolderTreeResponse" + } } } }, "401": { "$ref": "#/components/responses/HTTP401NotAuthenticatedError" }, - "500": { "description": "Server error" } + "500": { + "description": "Server error" + } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] } }, "/api/library/folders/{folder_id}": { "delete": { - "tags": ["v2", "library", "folders", "private"], + "tags": [ + "v2", + "library", + "folders", + "private" + ], "summary": "Delete Folder", "description": "Soft-delete a folder and all its contents.\n\nArgs:\n folder_id: ID of the folder to delete.\n user_id: ID of the authenticated user.\n\nReturns:\n 204 No Content if successful.", "operationId": "deleteV2Delete folder", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "folder_id", "in": "path", "required": true, - "schema": { "type": "string", "title": "Folder Id" } + "schema": { + "type": "string", + "title": "Folder Id" + } } ], "responses": { - "204": { "description": "Folder deleted successfully" }, + "204": { + "description": "Folder deleted successfully" + }, "401": { "$ref": "#/components/responses/HTTP401NotAuthenticatedError" }, - "404": { "description": "Folder not found" }, + "404": { + "description": "Folder not found" + }, "422": { "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } }, - "500": { "description": "Server error" } + "500": { + "description": "Server error" + } } }, "get": { - "tags": ["v2", "library", "folders", "private"], + "tags": [ + "v2", + "library", + "folders", + "private" + ], "summary": "Get Folder", "description": "Get a specific folder.\n\nArgs:\n folder_id: ID of the folder to retrieve.\n user_id: ID of the authenticated user.\n\nReturns:\n The requested LibraryFolder.", "operationId": "getV2Get folder", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "folder_id", "in": "path", "required": true, - "schema": { "type": "string", "title": "Folder Id" } + "schema": { + "type": "string", + "title": "Folder Id" + } } ], "responses": { @@ -4172,44 +5617,66 @@ "description": "Folder details", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/LibraryFolder" } + "schema": { + "$ref": "#/components/schemas/LibraryFolder" + } } } }, "401": { "$ref": "#/components/responses/HTTP401NotAuthenticatedError" }, - "404": { "description": "Folder not found" }, + "404": { + "description": "Folder not found" + }, "422": { "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } }, - "500": { "description": "Server error" } + "500": { + "description": "Server error" + } } }, "patch": { - "tags": ["v2", "library", "folders", "private"], + "tags": [ + "v2", + "library", + "folders", + "private" + ], "summary": "Update Folder", "description": "Update a folder's properties.\n\nArgs:\n folder_id: ID of the folder to update.\n payload: The folder update request.\n user_id: ID of the authenticated user.\n\nReturns:\n The updated LibraryFolder.", "operationId": "patchV2Update folder", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "folder_id", "in": "path", "required": true, - "schema": { "type": "string", "title": "Folder Id" } + "schema": { + "type": "string", + "title": "Folder Id" + } } ], "requestBody": { "required": true, "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/FolderUpdateRequest" } + "schema": { + "$ref": "#/components/schemas/FolderUpdateRequest" + } } } }, @@ -4218,48 +5685,74 @@ "description": "Folder updated successfully", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/LibraryFolder" } + "schema": { + "$ref": "#/components/schemas/LibraryFolder" + } } } }, - "400": { "description": "Validation error" }, + "400": { + "description": "Validation error" + }, "401": { "$ref": "#/components/responses/HTTP401NotAuthenticatedError" }, - "404": { "description": "Folder not found" }, - "409": { "description": "Folder name conflict" }, + "404": { + "description": "Folder not found" + }, + "409": { + "description": "Folder name conflict" + }, "422": { "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } }, - "500": { "description": "Server error" } + "500": { + "description": "Server error" + } } } }, "/api/library/folders/{folder_id}/move": { "post": { - "tags": ["v2", "library", "folders", "private"], + "tags": [ + "v2", + "library", + "folders", + "private" + ], "summary": "Move Folder", "description": "Move a folder to a new parent.\n\nArgs:\n folder_id: ID of the folder to move.\n payload: The move request with target parent.\n user_id: ID of the authenticated user.\n\nReturns:\n The moved LibraryFolder.", "operationId": "postV2Move folder", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "folder_id", "in": "path", "required": true, - "schema": { "type": "string", "title": "Folder Id" } + "schema": { + "type": "string", + "title": "Folder Id" + } } ], "requestBody": { "required": true, "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/FolderMoveRequest" } + "schema": { + "$ref": "#/components/schemas/FolderMoveRequest" + } } } }, @@ -4268,35 +5761,54 @@ "description": "Folder moved successfully", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/LibraryFolder" } + "schema": { + "$ref": "#/components/schemas/LibraryFolder" + } } } }, - "400": { "description": "Validation error (circular reference)" }, + "400": { + "description": "Validation error (circular reference)" + }, "401": { "$ref": "#/components/responses/HTTP401NotAuthenticatedError" }, - "404": { "description": "Folder or target parent not found" }, - "409": { "description": "Folder name conflict in target location" }, + "404": { + "description": "Folder or target parent not found" + }, + "409": { + "description": "Folder name conflict in target location" + }, "422": { "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } }, - "500": { "description": "Server error" } + "500": { + "description": "Server error" + } } } }, "/api/library/presets": { "get": { - "tags": ["v2", "presets"], + "tags": [ + "v2", + "presets" + ], "summary": "List presets", "description": "Retrieve a paginated list of presets for the current user.", "operationId": "getV2List presets", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "page", @@ -4325,7 +5837,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" }, @@ -4350,18 +5869,27 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } } }, "post": { - "tags": ["v2", "presets"], + "tags": [ + "v2", + "presets" + ], "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": { @@ -4385,7 +5913,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/LibraryAgentPreset" } + "schema": { + "$ref": "#/components/schemas/LibraryAgentPreset" + } } } }, @@ -4396,7 +5926,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -4405,7 +5937,10 @@ }, "/api/library/presets/setup-trigger": { "post": { - "tags": ["v2", "presets"], + "tags": [ + "v2", + "presets" + ], "summary": "Setup Trigger", "description": "Sets up a webhook-triggered `LibraryAgentPreset` for a `LibraryAgent`.\nReturns the correspondingly created `LibraryAgentPreset` with `webhook_id` set.", "operationId": "postV2SetupTrigger", @@ -4424,7 +5959,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/LibraryAgentPreset" } + "schema": { + "$ref": "#/components/schemas/LibraryAgentPreset" + } } } }, @@ -4435,31 +5972,49 @@ "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}": { "delete": { - "tags": ["v2", "presets"], + "tags": [ + "v2", + "presets" + ], "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" }, @@ -4467,24 +6022,36 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } } }, "get": { - "tags": ["v2", "presets"], + "tags": [ + "v2", + "presets" + ], "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": { @@ -4492,7 +6059,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/LibraryAgentPreset" } + "schema": { + "$ref": "#/components/schemas/LibraryAgentPreset" + } } } }, @@ -4503,24 +6072,36 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } } }, "patch": { - "tags": ["v2", "presets"], + "tags": [ + "v2", + "presets" + ], "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": { @@ -4538,7 +6119,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/LibraryAgentPreset" } + "schema": { + "$ref": "#/components/schemas/LibraryAgentPreset" + } } } }, @@ -4549,7 +6132,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -4558,17 +6143,28 @@ }, "/api/library/presets/{preset_id}/execute": { "post": { - "tags": ["v2", "presets", "presets"], + "tags": [ + "v2", + "presets", + "presets" + ], "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": { @@ -4585,7 +6181,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/GraphExecutionMeta" } + "schema": { + "$ref": "#/components/schemas/GraphExecutionMeta" + } } } }, @@ -4596,16 +6194,132 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } } } }, + "/api/llm/admin/models": { + "get": { + "tags": [ + "v2", + "llm", + "admin" + ], + "summary": "Admin List Models", + "description": "List all LLM models from the database.\n\nUnlike the public endpoint, this returns full model data including\ncosts and creator info. Requires admin authentication.", + "operationId": "getV2AdminListModels", + "security": [ + { + "HTTPBearerJWT": [] + } + ], + "parameters": [ + { + "name": "page", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "default": 1, + "title": "Page" + } + }, + { + "name": "page_size", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "default": 100, + "title": "Page Size" + } + }, + { + "name": "enabled_only", + "in": "query", + "required": false, + "schema": { + "type": "boolean", + "default": false, + "title": "Enabled Only" + } + } + ], + "responses": { + "200": { + "description": "Successful Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": true, + "title": "Response Getv2Adminlistmodels" + } + } + } + }, + "401": { + "$ref": "#/components/responses/HTTP401NotAuthenticatedError" + }, + "422": { + "description": "Validation Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } + } + } + } + } + } + }, + "/api/llm/admin/providers": { + "get": { + "tags": [ + "v2", + "llm", + "admin" + ], + "summary": "Admin List Providers", + "description": "List all LLM providers from the database.\n\nUnlike the public endpoint, this returns ALL providers including\nthose with no models. Requires admin authentication.", + "operationId": "getV2AdminListProviders", + "responses": { + "200": { + "description": "Successful Response", + "content": { + "application/json": { + "schema": { + "additionalProperties": true, + "type": "object", + "title": "Response Getv2Adminlistproviders" + } + } + } + }, + "401": { + "$ref": "#/components/responses/HTTP401NotAuthenticatedError" + } + }, + "security": [ + { + "HTTPBearerJWT": [] + } + ] + } + }, "/api/llm/creators": { "get": { - "tags": ["v2", "llm", "admin"], + "tags": [ + "v2", + "llm", + "admin" + ], "summary": "List Creators", "description": "List all LLM model creators.\n\nRequires admin authentication.", "operationId": "getV2ListCreators", @@ -4626,16 +6340,314 @@ "$ref": "#/components/responses/HTTP401NotAuthenticatedError" } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] + }, + "post": { + "tags": [ + "v2", + "llm", + "admin" + ], + "summary": "Create Creator", + "description": "Create a new LLM model creator.", + "operationId": "postV2CreateCreator", + "requestBody": { + "content": { + "application/json": { + "schema": { + "additionalProperties": true, + "type": "object", + "title": "Request" + } + } + }, + "required": true + }, + "responses": { + "201": { + "description": "Successful Response", + "content": { + "application/json": { + "schema": { + "additionalProperties": true, + "type": "object", + "title": "Response Postv2Createcreator" + } + } + } + }, + "401": { + "$ref": "#/components/responses/HTTP401NotAuthenticatedError" + }, + "422": { + "description": "Validation Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } + } + } + } + }, + "security": [ + { + "HTTPBearerJWT": [] + } + ] + } + }, + "/api/llm/creators/{name}": { + "delete": { + "tags": [ + "v2", + "llm", + "admin" + ], + "summary": "Delete Creator", + "description": "Delete an LLM model creator.", + "operationId": "deleteV2DeleteCreator", + "security": [ + { + "HTTPBearerJWT": [] + } + ], + "parameters": [ + { + "name": "name", + "in": "path", + "required": true, + "schema": { + "type": "string", + "title": "Name" + } + } + ], + "responses": { + "204": { + "description": "Successful Response" + }, + "401": { + "$ref": "#/components/responses/HTTP401NotAuthenticatedError" + }, + "422": { + "description": "Validation Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } + } + } + } + } + }, + "patch": { + "tags": [ + "v2", + "llm", + "admin" + ], + "summary": "Update Creator", + "description": "Update an existing LLM model creator.", + "operationId": "patchV2UpdateCreator", + "security": [ + { + "HTTPBearerJWT": [] + } + ], + "parameters": [ + { + "name": "name", + "in": "path", + "required": true, + "schema": { + "type": "string", + "title": "Name" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": true, + "title": "Request" + } + } + } + }, + "responses": { + "200": { + "description": "Successful Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": true, + "title": "Response Patchv2Updatecreator" + } + } + } + }, + "401": { + "$ref": "#/components/responses/HTTP401NotAuthenticatedError" + }, + "422": { + "description": "Validation Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } + } + } + } + } + } + }, + "/api/llm/migrations": { + "get": { + "tags": [ + "v2", + "llm", + "admin" + ], + "summary": "List Migrations", + "description": "List model migrations.", + "operationId": "getV2ListMigrations", + "security": [ + { + "HTTPBearerJWT": [] + } + ], + "parameters": [ + { + "name": "include_reverted", + "in": "query", + "required": false, + "schema": { + "type": "boolean", + "default": false, + "title": "Include Reverted" + } + } + ], + "responses": { + "200": { + "description": "Successful Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": true, + "title": "Response Getv2Listmigrations" + } + } + } + }, + "401": { + "$ref": "#/components/responses/HTTP401NotAuthenticatedError" + }, + "422": { + "description": "Validation Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } + } + } + } + } + } + }, + "/api/llm/migrations/{migration_id}/revert": { + "post": { + "tags": [ + "v2", + "llm", + "admin" + ], + "summary": "Revert Migration", + "description": "Revert a model migration, restoring affected nodes.", + "operationId": "postV2RevertMigration", + "security": [ + { + "HTTPBearerJWT": [] + } + ], + "parameters": [ + { + "name": "migration_id", + "in": "path", + "required": true, + "schema": { + "type": "string", + "title": "Migration Id" + } + }, + { + "name": "re_enable_source_model", + "in": "query", + "required": false, + "schema": { + "type": "boolean", + "default": true, + "title": "Re Enable Source Model" + } + } + ], + "responses": { + "200": { + "description": "Successful Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": true, + "title": "Response Postv2Revertmigration" + } + } + } + }, + "401": { + "$ref": "#/components/responses/HTTP401NotAuthenticatedError" + }, + "422": { + "description": "Validation Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } + } + } + } + } } }, "/api/llm/models": { "get": { - "tags": ["v2", "llm", "llm"], + "tags": [ + "v2", + "llm", + "llm" + ], "summary": "List Models", "description": "List all LLM models available to users.\n\nReturns models from the in-memory registry cache.\nUse enabled_only=true to filter to only enabled models (default).", "operationId": "getV2ListModels", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "enabled_only", @@ -4655,7 +6667,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/LlmModelsResponse" } + "schema": { + "$ref": "#/components/schemas/LlmModelsResponse" + } } } }, @@ -4666,23 +6680,35 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } } }, "post": { - "tags": ["v2", "llm", "admin"], + "tags": [ + "v2", + "llm", + "admin" + ], "summary": "Create Model", "description": "Create a new LLM model.\n\nRequires admin authentication.", "operationId": "postV2CreateModel", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "requestBody": { "required": true, "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/CreateLlmModelRequest" } + "schema": { + "$ref": "#/components/schemas/CreateLlmModelRequest" + } } } }, @@ -4706,7 +6732,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -4715,21 +6743,59 @@ }, "/api/llm/models/{slug}": { "delete": { - "tags": ["v2", "llm", "admin"], + "tags": [ + "v2", + "llm", + "admin" + ], "summary": "Delete Model", - "description": "Delete an LLM model.\n\nRequires admin authentication.", + "description": "Delete an LLM model with optional migration.\n\nIf workflows are using this model and no replacement_model_slug is given,\nreturns 400 with the node count. Provide replacement_model_slug to migrate\naffected nodes before deletion.", "operationId": "deleteV2DeleteModel", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "slug", "in": "path", "required": true, - "schema": { "type": "string", "title": "Slug" } + "schema": { + "type": "string", + "title": "Slug" + } + }, + { + "name": "replacement_model_slug", + "in": "query", + "required": false, + "schema": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Replacement Model Slug" + } } ], "responses": { - "204": { "description": "Successful Response" }, + "200": { + "description": "Successful Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": true, + "title": "Response Deletev2Deletemodel" + } + } + } + }, "401": { "$ref": "#/components/responses/HTTP401NotAuthenticatedError" }, @@ -4737,31 +6803,46 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } } }, "patch": { - "tags": ["v2", "llm", "admin"], + "tags": [ + "v2", + "llm", + "admin" + ], "summary": "Update Model", "description": "Update an existing LLM model.\n\nRequires admin authentication.", "operationId": "patchV2UpdateModel", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "slug", "in": "path", "required": true, - "schema": { "type": "string", "title": "Slug" } + "schema": { + "type": "string", + "title": "Slug" + } } ], "requestBody": { "required": true, "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/UpdateLlmModelRequest" } + "schema": { + "$ref": "#/components/schemas/UpdateLlmModelRequest" + } } } }, @@ -4785,7 +6866,131 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } + } + } + } + } + } + }, + "/api/llm/models/{slug}/toggle": { + "post": { + "tags": [ + "v2", + "llm", + "admin" + ], + "summary": "Toggle Model", + "description": "Toggle a model's enabled status with optional migration when disabling.\n\nBody params:\n is_enabled: bool\n migrate_to_slug: optional str\n migration_reason: optional str\n custom_credit_cost: optional int", + "operationId": "postV2ToggleModel", + "security": [ + { + "HTTPBearerJWT": [] + } + ], + "parameters": [ + { + "name": "slug", + "in": "path", + "required": true, + "schema": { + "type": "string", + "title": "Slug" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": true, + "title": "Request" + } + } + } + }, + "responses": { + "200": { + "description": "Successful Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": true, + "title": "Response Postv2Togglemodel" + } + } + } + }, + "401": { + "$ref": "#/components/responses/HTTP401NotAuthenticatedError" + }, + "422": { + "description": "Validation Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } + } + } + } + } + } + }, + "/api/llm/models/{slug}/usage": { + "get": { + "tags": [ + "v2", + "llm", + "admin" + ], + "summary": "Get Model Usage", + "description": "Get usage count for a model \u2014 how many workflow nodes reference it.", + "operationId": "getV2GetModelUsage", + "security": [ + { + "HTTPBearerJWT": [] + } + ], + "parameters": [ + { + "name": "slug", + "in": "path", + "required": true, + "schema": { + "type": "string", + "title": "Slug" + } + } + ], + "responses": { + "200": { + "description": "Successful Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": true, + "title": "Response Getv2Getmodelusage" + } + } + } + }, + "401": { + "$ref": "#/components/responses/HTTP401NotAuthenticatedError" + }, + "422": { + "description": "Validation Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -4794,7 +6999,11 @@ }, "/api/llm/providers": { "get": { - "tags": ["v2", "llm", "llm"], + "tags": [ + "v2", + "llm", + "llm" + ], "summary": "List Providers", "description": "List all LLM providers with their enabled models.\n\nGroups enabled models by provider from the in-memory registry.", "operationId": "getV2ListProviders", @@ -4813,10 +7022,18 @@ "$ref": "#/components/responses/HTTP401NotAuthenticatedError" } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] }, "post": { - "tags": ["v2", "llm", "admin"], + "tags": [ + "v2", + "llm", + "admin" + ], "summary": "Create Provider", "description": "Create a new LLM provider.\n\nRequires admin authentication.", "operationId": "postV2CreateProvider", @@ -4850,31 +7067,50 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] } }, "/api/llm/providers/{name}": { "delete": { - "tags": ["v2", "llm", "admin"], + "tags": [ + "v2", + "llm", + "admin" + ], "summary": "Delete Provider", "description": "Delete an LLM provider.\n\nRequires admin authentication.\nA provider can only be deleted if it has no associated models.", "operationId": "deleteV2DeleteProvider", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "name", "in": "path", "required": true, - "schema": { "type": "string", "title": "Name" } + "schema": { + "type": "string", + "title": "Name" + } } ], "responses": { - "204": { "description": "Successful Response" }, + "204": { + "description": "Successful Response" + }, "401": { "$ref": "#/components/responses/HTTP401NotAuthenticatedError" }, @@ -4882,24 +7118,37 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } } }, "patch": { - "tags": ["v2", "llm", "admin"], + "tags": [ + "v2", + "llm", + "admin" + ], "summary": "Update Provider", "description": "Update an existing LLM provider.\n\nRequires admin authentication.", "operationId": "patchV2UpdateProvider", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "name", "in": "path", "required": true, - "schema": { "type": "string", "title": "Name" } + "schema": { + "type": "string", + "title": "Name" + } } ], "requestBody": { @@ -4932,7 +7181,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -4941,14 +7192,20 @@ }, "/api/mcp/discover-tools": { "post": { - "tags": ["v2", "mcp", "mcp"], + "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 @@ -4971,17 +7228,27 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] } }, "/api/mcp/oauth/callback": { "post": { - "tags": ["v2", "mcp", "mcp"], + "tags": [ + "v2", + "mcp", + "mcp" + ], "summary": "Exchange OAuth code for MCP tokens", "description": "Exchange the authorization code for tokens and store the credential.\n\nThe frontend calls this after receiving the OAuth code from the popup.\nOn success, subsequent ``/discover-tools`` calls for the same server URL\nwill automatically use the stored credential.", "operationId": "postV2Exchange oauth code for mcp tokens", @@ -5013,24 +7280,36 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] } }, "/api/mcp/oauth/login": { "post": { - "tags": ["v2", "mcp", "mcp"], + "tags": [ + "v2", + "mcp", + "mcp" + ], "summary": "Initiate OAuth login for an MCP server", "description": "Discover OAuth metadata from the MCP server and return a login URL.\n\n1. Discovers the protected-resource metadata (RFC 9728)\n2. Fetches the authorization server metadata (RFC 8414)\n3. Performs Dynamic Client Registration (RFC 7591) if available\n4. Returns the authorization URL for the frontend to open in a popup", "operationId": "postV2Initiate oauth login for an mcp server", "requestBody": { "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/MCPOAuthLoginRequest" } + "schema": { + "$ref": "#/components/schemas/MCPOAuthLoginRequest" + } } }, "required": true @@ -5053,24 +7332,36 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] } }, "/api/mcp/token": { "post": { - "tags": ["v2", "mcp", "mcp"], + "tags": [ + "v2", + "mcp", + "mcp" + ], "summary": "Store a bearer token for an MCP server", "description": "Store a manually provided bearer token as an MCP credential.\n\nUsed by the Copilot MCPSetupCard when the server doesn't support the MCP\nOAuth discovery flow (returns 400 from /oauth/login). Subsequent\n``run_mcp_tool`` calls will automatically pick up the token via\n``_auto_lookup_credential``.", "operationId": "postV2Store a bearer token for an mcp server", "requestBody": { "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/MCPStoreTokenRequest" } + "schema": { + "$ref": "#/components/schemas/MCPStoreTokenRequest" + } } }, "required": true @@ -5093,27 +7384,42 @@ "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}": { "get": { - "tags": ["oauth"], + "tags": [ + "oauth" + ], "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": { @@ -5130,12 +7436,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" + } } } } @@ -5144,7 +7454,9 @@ }, "/api/oauth/apps/mine": { "get": { - "tags": ["oauth"], + "tags": [ + "oauth" + ], "summary": "List My Oauth Apps", "description": "List all OAuth applications owned by the current user.\n\nReturns a list of OAuth applications with their details including:\n- id, name, description, logo_url\n- client_id (public identifier)\n- redirect_uris, grant_types, scopes\n- is_active status\n- created_at, updated_at timestamps\n\nNote: client_secret is never returned for security reasons.", "operationId": "getOauthListMyOauthApps", @@ -5167,29 +7479,44 @@ "$ref": "#/components/responses/HTTP401NotAuthenticatedError" } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] } }, "/api/oauth/apps/{app_id}/logo": { "patch": { - "tags": ["oauth"], + "tags": [ + "oauth" + ], "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" + } } } }, @@ -5211,7 +7538,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -5220,17 +7549,26 @@ }, "/api/oauth/apps/{app_id}/logo/upload": { "post": { - "tags": ["oauth"], + "tags": [ + "oauth" + ], "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": { @@ -5261,7 +7599,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -5270,17 +7610,26 @@ }, "/api/oauth/apps/{app_id}/status": { "patch": { - "tags": ["oauth"], + "tags": [ + "oauth" + ], "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": { @@ -5311,7 +7660,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -5320,14 +7671,18 @@ }, "/api/oauth/authorize": { "post": { - "tags": ["oauth"], + "tags": [ + "oauth" + ], "summary": "Authorize", "description": "OAuth 2.0 Authorization Endpoint\n\nUser must be logged in (authenticated with Supabase JWT).\nThis endpoint creates an authorization code and returns a redirect URL.\n\nPKCE (Proof Key for Code Exchange) is REQUIRED for all authorization requests.\n\nThe frontend consent screen should call this endpoint after the user approves,\nthen redirect the user to the returned `redirect_url`.\n\nRequest Body:\n- client_id: The OAuth application's client ID\n- redirect_uri: Where to redirect after authorization (must match registered URI)\n- scopes: List of permissions (e.g., \"EXECUTE_GRAPH READ_GRAPH\")\n- state: Anti-CSRF token provided by client (will be returned in redirect)\n- response_type: Must be \"code\" (for authorization code flow)\n- code_challenge: PKCE code challenge (required)\n- code_challenge_method: \"S256\" (recommended) or \"plain\"\n\nReturns:\n- redirect_url: The URL to redirect the user to (includes authorization code)\n\nError cases return a redirect_url with error parameters, or raise HTTPException\nfor critical errors (like invalid redirect_uri).", "operationId": "postOauthAuthorize", "requestBody": { "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/AuthorizeRequest" } + "schema": { + "$ref": "#/components/schemas/AuthorizeRequest" + } } }, "required": true @@ -5337,7 +7692,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/AuthorizeResponse" } + "schema": { + "$ref": "#/components/schemas/AuthorizeResponse" + } } } }, @@ -5348,17 +7705,25 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] } }, "/api/oauth/introspect": { "post": { - "tags": ["oauth"], + "tags": [ + "oauth" + ], "summary": "Introspect", "description": "OAuth 2.0 Token Introspection Endpoint (RFC 7662)\n\nAllows clients to check if a token is valid and get its metadata.\n\nReturns:\n- active: Whether the token is currently active\n- scopes: List of authorized scopes (if active)\n- client_id: The client the token was issued to (if active)\n- user_id: The user the token represents (if active)\n- exp: Expiration timestamp (if active)\n- token_type: \"access_token\" or \"refresh_token\" (if active)", "operationId": "postOauthIntrospect", @@ -5387,7 +7752,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -5396,14 +7763,18 @@ }, "/api/oauth/revoke": { "post": { - "tags": ["oauth"], + "tags": [ + "oauth" + ], "summary": "Revoke", "description": "OAuth 2.0 Token Revocation Endpoint (RFC 7009)\n\nAllows clients to revoke an access or refresh token.\n\nNote: Revoking a refresh token does NOT revoke associated access tokens.\nRevoking an access token does NOT revoke the associated refresh token.", "operationId": "postOauthRevoke", "requestBody": { "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/Body_postOauthRevoke" } + "schema": { + "$ref": "#/components/schemas/Body_postOauthRevoke" + } } }, "required": true @@ -5411,13 +7782,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" + } } } } @@ -5426,7 +7803,9 @@ }, "/api/oauth/token": { "post": { - "tags": ["oauth"], + "tags": [ + "oauth" + ], "summary": "Token", "description": "OAuth 2.0 Token Endpoint\n\nExchanges authorization code or refresh token for access token.\n\nGrant Types:\n1. authorization_code: Exchange authorization code for tokens\n - Required: grant_type, code, redirect_uri, client_id, client_secret\n - Optional: code_verifier (required if PKCE was used)\n\n2. refresh_token: Exchange refresh token for new access token\n - Required: grant_type, refresh_token, client_id, client_secret\n\nReturns:\n- access_token: Bearer token for API access (1 hour TTL)\n- token_type: \"Bearer\"\n- expires_in: Seconds until access token expires\n- refresh_token: Token for refreshing access (30 days TTL)\n- scopes: List of scopes", "operationId": "postOauthToken", @@ -5435,8 +7814,12 @@ "application/json": { "schema": { "anyOf": [ - { "$ref": "#/components/schemas/TokenRequestByCode" }, - { "$ref": "#/components/schemas/TokenRequestByRefreshToken" } + { + "$ref": "#/components/schemas/TokenRequestByCode" + }, + { + "$ref": "#/components/schemas/TokenRequestByRefreshToken" + } ], "title": "Request" } @@ -5449,7 +7832,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/TokenResponse" } + "schema": { + "$ref": "#/components/schemas/TokenResponse" + } } } }, @@ -5457,7 +7842,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -5466,7 +7853,10 @@ }, "/api/onboarding": { "get": { - "tags": ["v1", "onboarding"], + "tags": [ + "v1", + "onboarding" + ], "summary": "Onboarding state", "operationId": "getV1Onboarding state", "responses": { @@ -5474,7 +7864,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/UserOnboarding" } + "schema": { + "$ref": "#/components/schemas/UserOnboarding" + } } } }, @@ -5482,16 +7874,25 @@ "$ref": "#/components/responses/HTTP401NotAuthenticatedError" } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] }, "patch": { - "tags": ["v1", "onboarding"], + "tags": [ + "v1", + "onboarding" + ], "summary": "Update onboarding state", "operationId": "patchV1Update onboarding state", "requestBody": { "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/UserOnboardingUpdate" } + "schema": { + "$ref": "#/components/schemas/UserOnboardingUpdate" + } } }, "required": true @@ -5501,7 +7902,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/UserOnboarding" } + "schema": { + "$ref": "#/components/schemas/UserOnboarding" + } } } }, @@ -5512,17 +7915,26 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] } }, "/api/onboarding/agents": { "get": { - "tags": ["v1", "onboarding"], + "tags": [ + "v1", + "onboarding" + ], "summary": "Recommended onboarding agents", "operationId": "getV1Recommended onboarding agents", "responses": { @@ -5531,7 +7943,9 @@ "content": { "application/json": { "schema": { - "items": { "$ref": "#/components/schemas/StoreAgentDetails" }, + "items": { + "$ref": "#/components/schemas/StoreAgentDetails" + }, "type": "array", "title": "Response Getv1Recommended Onboarding Agents" } @@ -5542,12 +7956,20 @@ "$ref": "#/components/responses/HTTP401NotAuthenticatedError" } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] } }, "/api/onboarding/enabled": { "get": { - "tags": ["v1", "onboarding", "public"], + "tags": [ + "v1", + "onboarding", + "public" + ], "summary": "Is onboarding enabled", "operationId": "getV1Is onboarding enabled", "responses": { @@ -5565,12 +7987,19 @@ "$ref": "#/components/responses/HTTP401NotAuthenticatedError" } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] } }, "/api/onboarding/reset": { "post": { - "tags": ["v1", "onboarding"], + "tags": [ + "v1", + "onboarding" + ], "summary": "Reset onboarding progress", "operationId": "postV1Reset onboarding progress", "responses": { @@ -5578,7 +8007,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/UserOnboarding" } + "schema": { + "$ref": "#/components/schemas/UserOnboarding" + } } } }, @@ -5586,15 +8017,26 @@ "$ref": "#/components/responses/HTTP401NotAuthenticatedError" } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] } }, "/api/onboarding/step": { "post": { - "tags": ["v1", "onboarding"], + "tags": [ + "v1", + "onboarding" + ], "summary": "Complete onboarding step", "operationId": "postV1Complete onboarding step", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "step", @@ -5621,7 +8063,11 @@ "responses": { "200": { "description": "Successful Response", - "content": { "application/json": { "schema": {} } } + "content": { + "application/json": { + "schema": {} + } + } }, "401": { "$ref": "#/components/responses/HTTP401NotAuthenticatedError" @@ -5630,7 +8076,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -5639,14 +8087,19 @@ }, "/api/otto/ask": { "post": { - "tags": ["v2", "otto"], + "tags": [ + "v2", + "otto" + ], "summary": "Proxy Otto Chat Request", "description": "Proxy requests to Otto API while adding necessary security headers and logging.\nRequires an authenticated user.", "operationId": "postV2Proxy otto chat request", "requestBody": { "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/ChatRequest" } + "schema": { + "$ref": "#/components/schemas/ChatRequest" + } } }, "required": true @@ -5656,7 +8109,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/ApiResponse" } + "schema": { + "$ref": "#/components/schemas/ApiResponse" + } } } }, @@ -5667,17 +8122,25 @@ "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}": { "get": { - "tags": ["v1"], + "tags": [ + "v1" + ], "summary": "Get Shared Execution", "description": "Get a shared graph execution by share token (no auth required).", "operationId": "getV1GetSharedExecution", @@ -5708,7 +8171,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -5717,14 +8182,23 @@ }, "/api/review/action": { "post": { - "tags": ["v2", "executions", "review", "v2", "executions", "review"], + "tags": [ + "v2", + "executions", + "review", + "v2", + "executions", + "review" + ], "summary": "Process Review Action", "description": "Process reviews with approve or reject actions.", "operationId": "postV2ProcessReviewAction", "requestBody": { "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/ReviewRequest" } + "schema": { + "$ref": "#/components/schemas/ReviewRequest" + } } }, "required": true @@ -5734,7 +8208,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/ReviewResponse" } + "schema": { + "$ref": "#/components/schemas/ReviewResponse" + } } } }, @@ -5745,27 +8221,47 @@ "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}": { "get": { - "tags": ["v2", "executions", "review", "v2", "executions", "review"], + "tags": [ + "v2", + "executions", + "review", + "v2", + "executions", + "review" + ], "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": { @@ -5786,29 +8282,46 @@ "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": {} + } } } } }, "/api/review/pending": { "get": { - "tags": ["v2", "executions", "review", "v2", "executions", "review"], + "tags": [ + "v2", + "executions", + "review", + "v2", + "executions", + "review" + ], "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", @@ -5860,20 +8373,27 @@ "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": {} + } } } } }, "/api/schedules": { "get": { - "tags": ["v1", "schedules"], + "tags": [ + "v1", + "schedules" + ], "summary": "List execution schedules for a user", "operationId": "getV1List execution schedules for a user", "responses": { @@ -5895,15 +8415,26 @@ "$ref": "#/components/responses/HTTP401NotAuthenticatedError" } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] } }, "/api/schedules/{schedule_id}": { "delete": { - "tags": ["v1", "schedules"], + "tags": [ + "v1", + "schedules" + ], "summary": "Delete execution schedule", "operationId": "deleteV1Delete execution schedule", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "schedule_id", @@ -5937,7 +8468,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -5946,11 +8479,20 @@ }, "/api/store/admin/listings": { "get": { - "tags": ["v2", "admin", "store", "admin"], + "tags": [ + "v2", + "admin", + "store", + "admin" + ], "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 Paginated listings with their versions", "operationId": "getV2Get admin listings history", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "status", @@ -5958,8 +8500,12 @@ "required": false, "schema": { "anyOf": [ - { "$ref": "#/components/schemas/SubmissionStatus" }, - { "type": "null" } + { + "$ref": "#/components/schemas/SubmissionStatus" + }, + { + "type": "null" + } ], "title": "Status" } @@ -5969,7 +8515,14 @@ "in": "query", "required": false, "schema": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Search" } }, @@ -5977,13 +8530,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": { @@ -6004,7 +8565,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -6013,11 +8576,22 @@ }, "/api/store/admin/submissions/download/{store_listing_version_id}": { "get": { - "tags": ["v2", "admin", "store", "admin", "store", "admin"], + "tags": [ + "v2", + "admin", + "store", + "admin", + "store", + "admin" + ], "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", @@ -6034,7 +8608,11 @@ "responses": { "200": { "description": "Successful Response", - "content": { "application/json": { "schema": {} } } + "content": { + "application/json": { + "schema": {} + } + } }, "401": { "$ref": "#/components/responses/HTTP401NotAuthenticatedError" @@ -6043,7 +8621,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -6052,17 +8632,29 @@ }, "/api/store/admin/submissions/{store_listing_version_id}/review": { "post": { - "tags": ["v2", "admin", "store", "admin"], + "tags": [ + "v2", + "admin", + "store", + "admin" + ], "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 StoreSubmissionAdminView 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": { @@ -6093,7 +8685,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -6102,7 +8696,11 @@ }, "/api/store/agents": { "get": { - "tags": ["v2", "store", "public"], + "tags": [ + "v2", + "store", + "public" + ], "summary": "List store agents", "description": "Get a paginated list of agents from the marketplace,\nwith optional filtering and sorting.\n\nUsed for:\n- Home Page Featured Agents\n- Home Page Top Agents\n- Search Results\n- Agent Details - Other Agents By Creator\n- Agent Details - Similar Agents\n- Creator Details - Agents By Creator", "operationId": "getV2List store agents", @@ -6124,7 +8722,14 @@ "in": "query", "required": false, "schema": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "description": "Filter agents by creator username", "title": "Creator" }, @@ -6135,7 +8740,14 @@ "in": "query", "required": false, "schema": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "description": "Filter agents by category", "title": "Category" }, @@ -6146,7 +8758,14 @@ "in": "query", "required": false, "schema": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "description": "Literal + semantic search on names and descriptions", "title": "Search Query" }, @@ -6158,8 +8777,12 @@ "required": false, "schema": { "anyOf": [ - { "$ref": "#/components/schemas/StoreAgentsSortOptions" }, - { "type": "null" } + { + "$ref": "#/components/schemas/StoreAgentsSortOptions" + }, + { + "type": "null" + } ], "description": "Property to sort results by. Ignored if search_query is provided.", "title": "Sorted By" @@ -6194,7 +8817,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/StoreAgentsResponse" } + "schema": { + "$ref": "#/components/schemas/StoreAgentsResponse" + } } } }, @@ -6202,7 +8827,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -6211,7 +8838,11 @@ }, "/api/store/agents/{username}/{agent_name}": { "get": { - "tags": ["v2", "store", "public"], + "tags": [ + "v2", + "store", + "public" + ], "summary": "Get specific agent", "description": "Get details of a marketplace agent", "operationId": "getV2Get specific agent", @@ -6220,13 +8851,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", @@ -6244,7 +8881,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/StoreAgentDetails" } + "schema": { + "$ref": "#/components/schemas/StoreAgentDetails" + } } } }, @@ -6252,7 +8891,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -6261,30 +8902,45 @@ }, "/api/store/agents/{username}/{agent_name}/review": { "post": { - "tags": ["v2", "store"], + "tags": [ + "v2", + "store" + ], "summary": "Create agent review", "description": "Post a user review on a marketplace agent listing", "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" + } } } }, @@ -6293,7 +8949,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/StoreReview" } + "schema": { + "$ref": "#/components/schemas/StoreReview" + } } } }, @@ -6304,7 +8962,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -6313,7 +8973,11 @@ }, "/api/store/creators": { "get": { - "tags": ["v2", "store", "public"], + "tags": [ + "v2", + "store", + "public" + ], "summary": "List store creators", "description": "List or search marketplace creators", "operationId": "getV2List store creators", @@ -6335,7 +8999,14 @@ "in": "query", "required": false, "schema": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "description": "Literal + semantic search on names and descriptions", "title": "Search Query" }, @@ -6347,8 +9018,12 @@ "required": false, "schema": { "anyOf": [ - { "$ref": "#/components/schemas/StoreCreatorsSortOptions" }, - { "type": "null" } + { + "$ref": "#/components/schemas/StoreCreatorsSortOptions" + }, + { + "type": "null" + } ], "title": "Sorted By" } @@ -6381,7 +9056,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/CreatorsResponse" } + "schema": { + "$ref": "#/components/schemas/CreatorsResponse" + } } } }, @@ -6389,7 +9066,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -6398,7 +9077,11 @@ }, "/api/store/creators/{username}": { "get": { - "tags": ["v2", "store", "public"], + "tags": [ + "v2", + "store", + "public" + ], "summary": "Get creator details", "description": "Get details on a marketplace creator", "operationId": "getV2Get creator details", @@ -6407,7 +9090,10 @@ "name": "username", "in": "path", "required": true, - "schema": { "type": "string", "title": "Username" } + "schema": { + "type": "string", + "title": "Username" + } } ], "responses": { @@ -6415,7 +9101,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/CreatorDetails" } + "schema": { + "$ref": "#/components/schemas/CreatorDetails" + } } } }, @@ -6423,7 +9111,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -6432,16 +9122,26 @@ }, "/api/store/listings/versions/{store_listing_version_id}": { "get": { - "tags": ["v2", "store"], + "tags": [ + "v2", + "store" + ], "summary": "Get agent by version", "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": { @@ -6449,7 +9149,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/StoreAgentDetails" } + "schema": { + "$ref": "#/components/schemas/StoreAgentDetails" + } } } }, @@ -6460,7 +9162,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -6469,17 +9173,27 @@ }, "/api/store/listings/versions/{store_listing_version_id}/graph": { "get": { - "tags": ["v2", "store"], + "tags": [ + "v2", + "store" + ], "summary": "Get agent graph", "description": "Get outline of graph belonging to a specific marketplace listing version", "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": { @@ -6500,7 +9214,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -6509,7 +9225,11 @@ }, "/api/store/listings/versions/{store_listing_version_id}/graph/download": { "get": { - "tags": ["v2", "store", "public"], + "tags": [ + "v2", + "store", + "public" + ], "summary": "Download agent file", "description": "Download agent graph file for a specific marketplace listing version", "operationId": "getV2Download agent file", @@ -6518,19 +9238,28 @@ "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": { "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" + } } } } @@ -6539,25 +9268,43 @@ }, "/api/store/metrics/cache": { "get": { - "tags": ["v2", "store", "metrics"], + "tags": [ + "v2", + "store", + "metrics" + ], "summary": "Get cache metrics in Prometheus format", "description": "Get cache metrics in Prometheus text format.\n\nReturns Prometheus-compatible metrics for monitoring cache performance.\nMetrics include size, maxsize, TTL, and hit rate for each cache.\n\nReturns:\n str: Prometheus-formatted metrics text", "operationId": "getV2Get cache metrics in prometheus format", "responses": { "200": { "description": "Successful Response", - "content": { "text/plain": { "schema": { "type": "string" } } } + "content": { + "text/plain": { + "schema": { + "type": "string" + } + } + } } } } }, "/api/store/my-unpublished-agents": { "get": { - "tags": ["v2", "store", "private"], + "tags": [ + "v2", + "store", + "private" + ], "summary": "Get my agents", "description": "List the authenticated user's unpublished agents", "operationId": "getV2Get my agents", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "page", @@ -6600,7 +9347,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -6609,7 +9358,11 @@ }, "/api/store/profile": { "get": { - "tags": ["v2", "store", "private"], + "tags": [ + "v2", + "store", + "private" + ], "summary": "Get user profile", "description": "Get the profile details for the authenticated user.", "operationId": "getV2Get user profile", @@ -6618,7 +9371,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/ProfileDetails" } + "schema": { + "$ref": "#/components/schemas/ProfileDetails" + } } } }, @@ -6626,17 +9381,27 @@ "$ref": "#/components/responses/HTTP401NotAuthenticatedError" } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] }, "post": { - "tags": ["v2", "store", "private"], + "tags": [ + "v2", + "store", + "private" + ], "summary": "Update user profile", "description": "Update the store profile for the authenticated user.", "operationId": "postV2Update user profile", "requestBody": { "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/Profile" } + "schema": { + "$ref": "#/components/schemas/Profile" + } } }, "required": true @@ -6646,7 +9411,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/ProfileDetails" } + "schema": { + "$ref": "#/components/schemas/ProfileDetails" + } } } }, @@ -6657,27 +9424,44 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] } }, "/api/store/search": { "get": { - "tags": ["v2", "store", "public"], + "tags": [ + "v2", + "store", + "public" + ], "summary": "Unified search across all content types", "description": "Search across all content types (marketplace agents, blocks, documentation)\nusing hybrid search.\n\nCombines semantic (embedding-based) and lexical (text-based) search for best results.", "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", @@ -6687,9 +9471,13 @@ "anyOf": [ { "type": "array", - "items": { "$ref": "#/components/schemas/ContentType" } + "items": { + "$ref": "#/components/schemas/ContentType" + } }, - { "type": "null" } + { + "type": "null" + } ], "description": "Content types to search. If not specified, searches all.", "title": "Content Types" @@ -6734,7 +9522,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -6743,11 +9533,19 @@ }, "/api/store/submissions": { "get": { - "tags": ["v2", "store", "private"], + "tags": [ + "v2", + "store", + "private" + ], "summary": "List my submissions", "description": "List the authenticated user's marketplace listing submissions", "operationId": "getV2List my submissions", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "page", @@ -6790,18 +9588,28 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } } }, "post": { - "tags": ["v2", "store", "private"], + "tags": [ + "v2", + "store", + "private" + ], "summary": "Create store submission", "description": "Submit a new marketplace listing for review", "operationId": "postV2Create store submission", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "requestBody": { "required": true, "content": { @@ -6817,7 +9625,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/StoreSubmission" } + "schema": { + "$ref": "#/components/schemas/StoreSubmission" + } } } }, @@ -6828,7 +9638,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -6837,17 +9649,28 @@ }, "/api/store/submissions/generate_image": { "post": { - "tags": ["v2", "store", "private"], + "tags": [ + "v2", + "store", + "private" + ], "summary": "Generate submission image", "description": "Generate an image for a marketplace listing submission based on the properties\nof a given graph.", "operationId": "postV2Generate submission image", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "graph_id", "in": "query", "required": true, - "schema": { "type": "string", "title": "Graph Id" } + "schema": { + "type": "string", + "title": "Graph Id" + } } ], "responses": { @@ -6855,7 +9678,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/ImageURLResponse" } + "schema": { + "$ref": "#/components/schemas/ImageURLResponse" + } } } }, @@ -6866,7 +9691,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -6875,7 +9702,11 @@ }, "/api/store/submissions/media": { "post": { - "tags": ["v2", "store", "private"], + "tags": [ + "v2", + "store", + "private" + ], "summary": "Upload submission media", "description": "Upload media for a marketplace listing submission", "operationId": "postV2Upload submission media", @@ -6908,27 +9739,44 @@ "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}": { "put": { - "tags": ["v2", "store", "private"], + "tags": [ + "v2", + "store", + "private" + ], "summary": "Edit store submission", "description": "Update a pending marketplace listing 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": { @@ -6946,7 +9794,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/StoreSubmission" } + "schema": { + "$ref": "#/components/schemas/StoreSubmission" + } } } }, @@ -6957,7 +9807,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -6966,17 +9818,28 @@ }, "/api/store/submissions/{submission_id}": { "delete": { - "tags": ["v2", "store", "private"], + "tags": [ + "v2", + "store", + "private" + ], "summary": "Delete store submission", "description": "Delete a marketplace listing submission", "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": { @@ -6998,7 +9861,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -7007,18 +9872,31 @@ }, "/api/workspace/files/upload": { "post": { - "tags": ["workspace"], + "tags": [ + "workspace" + ], "summary": "Upload file to workspace", "description": "Upload a file to the user's workspace.\n\nFiles are stored in session-scoped paths when session_id is provided,\nso the agent's session-scoped tools can discover them automatically.", "operationId": "postWorkspaceUpload file to workspace", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "session_id", "in": "query", "required": false, "schema": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Session Id" } }, @@ -7061,7 +9939,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -7070,17 +9950,26 @@ }, "/api/workspace/files/{file_id}": { "delete": { - "tags": ["workspace"], + "tags": [ + "workspace" + ], "summary": "Delete a workspace file", "description": "Soft-delete a workspace file and attempt to remove it from storage.\n\nUsed when a user clears a file input in the builder.", "operationId": "deleteWorkspaceDelete a workspace file", - "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": { @@ -7088,7 +9977,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/DeleteFileResponse" } + "schema": { + "$ref": "#/components/schemas/DeleteFileResponse" + } } } }, @@ -7099,7 +9990,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -7108,23 +10001,36 @@ }, "/api/workspace/files/{file_id}/download": { "get": { - "tags": ["workspace"], + "tags": [ + "workspace" + ], "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" @@ -7133,7 +10039,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -7142,7 +10050,9 @@ }, "/api/workspace/storage/usage": { "get": { - "tags": ["workspace"], + "tags": [ + "workspace" + ], "summary": "Get workspace storage usage", "description": "Get storage usage information for the user's workspace.", "operationId": "getWorkspaceGet workspace storage usage", @@ -7161,18 +10071,28 @@ "$ref": "#/components/responses/HTTP401NotAuthenticatedError" } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] } }, "/health": { "get": { - "tags": ["health"], + "tags": [ + "health" + ], "summary": "Health", "operationId": "getHealthHealth", "responses": { "200": { "description": "Successful Response", - "content": { "application/json": { "schema": {} } } + "content": { + "application/json": { + "schema": {} + } + } } } } @@ -7182,10 +10102,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": { @@ -7201,20 +10134,35 @@ "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)" } }, "type": "object", - "required": ["provider", "api_key"], + "required": [ + "provider", + "api_key" + ], "title": "APIKeyCredentials" }, "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" }, @@ -7231,27 +10179,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", @@ -7262,9 +10231,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" } }, @@ -7301,19 +10279,42 @@ }, "APIKeyStatus": { "type": "string", - "enum": ["ACTIVE", "REVOKED", "SUSPENDED"], + "enum": [ + "ACTIVE", + "REVOKED", + "SUSPENDED" + ], "title": "APIKeyStatus" }, "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", @@ -7334,21 +10335,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" } }, @@ -7365,53 +10398,93 @@ }, "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" } }, "type": "object", - "required": ["latest_data", "alert"], + "required": [ + "latest_data", + "alert" + ], "title": "AccuracyTrendsResponse", "description": "Response model for accuracy trends and alerts." }, "ActiveStreamInfo": { "properties": { - "turn_id": { "type": "string", "title": "Turn Id" }, - "last_message_id": { "type": "string", "title": "Last Message Id" } + "turn_id": { + "type": "string", + "title": "Turn Id" + }, + "last_message_id": { + "type": "string", + "title": "Last Message Id" + } }, "type": "object", - "required": ["turn_id", "last_message_id"], + "required": [ + "turn_id", + "last_message_id" + ], "title": "ActiveStreamInfo", "description": "Information about an active stream for reconnection." }, "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"], + "required": [ + "new_balance", + "transaction_key" + ], "title": "AddUserCreditsResponse" }, "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", @@ -7424,7 +10497,9 @@ "default": {} }, "credentials": { - "items": { "$ref": "#/components/schemas/CredentialsMetaInput" }, + "items": { + "$ref": "#/components/schemas/CredentialsMetaInput" + }, "type": "array", "title": "Credentials", "default": [] @@ -7434,14 +10509,23 @@ }, "trigger_info": { "anyOf": [ - { "additionalProperties": true, "type": "object" }, - { "type": "null" } + { + "additionalProperties": true, + "type": "object" + }, + { + "type": "null" + } ], "title": "Trigger Info" } }, "type": "object", - "required": ["id", "name", "description"], + "required": [ + "id", + "name", + "description" + ], "title": "AgentDetails", "description": "Detailed agent information." }, @@ -7451,28 +10535,57 @@ "$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" } }, "type": "object", - "required": ["message", "agent"], + "required": [ + "message", + "agent" + ], "title": "AgentDetailsResponse", "description": "Response for get_details action." }, @@ -7491,9 +10604,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", @@ -7505,76 +10627,173 @@ "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" }, "graph_version": { - "anyOf": [{ "type": "integer" }, { "type": "null" }], + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], "title": "Graph Version" }, "input_schema": { "anyOf": [ - { "additionalProperties": true, "type": "object" }, - { "type": "null" } + { + "additionalProperties": true, + "type": "object" + }, + { + "type": "null" + } ], "title": "Input Schema", "description": "JSON Schema for the agent's inputs (for AgentExecutorBlock)" }, "output_schema": { "anyOf": [ - { "additionalProperties": true, "type": "object" }, - { "type": "null" } + { + "additionalProperties": true, + "type": "object" + }, + { + "type": "null" + } ], "title": "Output Schema", "description": "JSON Schema for the agent's outputs (for AgentExecutorBlock)" }, "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" } }, "type": "object", - "required": ["id", "name", "description", "source"], + "required": [ + "id", + "name", + "description", + "source" + ], "title": "AgentInfo", "description": "Information about an agent." }, @@ -7584,34 +10803,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" }, @@ -7622,7 +10880,11 @@ } }, "type": "object", - "required": ["message", "agent_name", "agent_id"], + "required": [ + "message", + "agent_name", + "agent_id" + ], "title": "AgentOutputResponse", "description": "Response for agent_output tool." }, @@ -7632,9 +10894,19 @@ "$ref": "#/components/schemas/ResponseType", "default": "agent_builder_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": { @@ -7642,9 +10914,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", @@ -7668,19 +10949,41 @@ "$ref": "#/components/schemas/ResponseType", "default": "agent_builder_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": [ @@ -7700,9 +11003,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": { @@ -7711,11 +11024,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", @@ -7723,22 +11041,38 @@ } }, "type": "object", - "required": ["message", "agents", "count"], + "required": [ + "message", + "agents", + "count" + ], "title": "AgentsFoundResponse", "description": "Response for find_agent tool." }, "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"], + "required": [ + "answer", + "documents", + "success" + ], "title": "ApiResponse" }, "AuthorizeRequest": { @@ -7754,7 +11088,9 @@ "description": "Redirect URI" }, "scopes": { - "items": { "type": "string" }, + "items": { + "type": "string" + }, "type": "array", "title": "Scopes", "description": "List of scopes" @@ -7777,7 +11113,10 @@ }, "code_challenge_method": { "type": "string", - "enum": ["S256", "plain"], + "enum": [ + "S256", + "plain" + ], "title": "Code Challenge Method", "description": "PKCE code challenge method (S256 recommended)", "default": "S256" @@ -7803,17 +11142,28 @@ } }, "type": "object", - "required": ["redirect_url"], + "required": [ + "redirect_url" + ], "title": "AuthorizeResponse", "description": "OAuth 2.0 authorization response with redirect URL" }, "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"], + "required": [ + "amount", + "threshold" + ], "title": "AutoTopUpConfig" }, "AyrshareSSOResponse": { @@ -7831,86 +11181,182 @@ } }, "type": "object", - "required": ["sso_url", "expires_at"], + "required": [ + "sso_url", + "expires_at" + ], "title": "AyrshareSSOResponse" }, "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" } }, "type": "object", - "required": ["name", "description"], + "required": [ + "name", + "description" + ], "title": "BaseGraph", "description": "Graph with nodes, links, and computed I/O schema fields.\n\nUsed to represent sub-graphs within a `Graph`. Contains the full graph\nstructure including nodes and links, plus computed fields for schemas\nand trigger info. Does NOT include user_id or created_at (see GraphModel)." }, "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" }, @@ -7943,8 +11389,12 @@ }, "trigger_setup_info": { "anyOf": [ - { "$ref": "#/components/schemas/GraphTriggerInfo" }, - { "type": "null" } + { + "$ref": "#/components/schemas/GraphTriggerInfo" + }, + { + "type": "null" + } ], "readOnly": true } @@ -7965,42 +11415,76 @@ }, "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" } }, "type": "object", - "required": ["name", "total_blocks", "blocks"], + "required": [ + "name", + "total_blocks", + "blocks" + ], "title": "BlockCategoryResponse" }, "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"], + "required": [ + "cost_amount", + "cost_filter", + "cost_type" + ], "title": "BlockCost" }, "BlockCostType": { "type": "string", - "enum": ["run", "byte", "second"], + "enum": [ + "run", + "byte", + "second" + ], "title": "BlockCostType" }, "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", @@ -8014,14 +11498,20 @@ "default": {} }, "credentials": { - "items": { "$ref": "#/components/schemas/CredentialsMetaInput" }, + "items": { + "$ref": "#/components/schemas/CredentialsMetaInput" + }, "type": "array", "title": "Credentials", "default": [] } }, "type": "object", - "required": ["id", "name", "description"], + "required": [ + "id", + "name", + "description" + ], "title": "BlockDetails", "description": "Detailed block information." }, @@ -8031,12 +11521,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", @@ -8044,14 +11546,23 @@ } }, "type": "object", - "required": ["message", "block"], + "required": [ + "message", + "block" + ], "title": "BlockDetailsResponse", "description": "Response for block details (first run_block attempt)." }, "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", @@ -8063,26 +11574,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": [ @@ -8101,11 +11628,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" }, @@ -8128,21 +11666,34 @@ "default": false }, "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" } }, "type": "object", - "required": ["id", "name", "description", "categories"], + "required": [ + "id", + "name", + "description", + "categories" + ], "title": "BlockInfoSummary", "description": "Summary of a block for search results." }, "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", @@ -8153,10 +11704,21 @@ "title": "Required", "default": false }, - "default": { "anyOf": [{}, { "type": "null" }], "title": "Default" } + "default": { + "anyOf": [ + {}, + { + "type": "null" + } + ], + "title": "Default" + } }, "type": "object", - "required": ["name", "type"], + "required": [ + "name", + "type" + ], "title": "BlockInputFieldInfo", "description": "Information about a block input field." }, @@ -8166,18 +11728,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", @@ -8185,7 +11765,12 @@ } }, "type": "object", - "required": ["message", "blocks", "count", "query"], + "required": [ + "message", + "blocks", + "count", + "query" + ], "title": "BlockListResponse", "description": "Response for find_block tool." }, @@ -8195,36 +11780,71 @@ "$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"], + "required": [ + "message", + "block_id", + "block_name", + "outputs" + ], "title": "BlockOutputResponse", "description": "Response for run_block tool." }, "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"], + "required": [ + "blocks", + "pagination" + ], "title": "BlockResponse" }, "Body_patchOauthUpdateAppStatus": { @@ -8236,12 +11856,17 @@ } }, "type": "object", - "required": ["is_active"], + "required": [ + "is_active" + ], "title": "Body_patchOauthUpdateAppStatus" }, "Body_postAnalyticsLogRawAnalytics": { "properties": { - "type": { "type": "string", "title": "Type" }, + "type": { + "type": "string", + "title": "Type" + }, "data": { "additionalProperties": true, "type": "object", @@ -8255,7 +11880,11 @@ } }, "type": "object", - "required": ["type", "data", "data_index"], + "required": [ + "type", + "data", + "data_index" + ], "title": "Body_postAnalyticsLogRawAnalytics" }, "Body_postOauthIntrospect": { @@ -8267,8 +11896,16 @@ }, "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')" @@ -8285,7 +11922,11 @@ } }, "type": "object", - "required": ["token", "client_id", "client_secret"], + "required": [ + "token", + "client_id", + "client_secret" + ], "title": "Body_postOauthIntrospect" }, "Body_postOauthRevoke": { @@ -8297,8 +11938,16 @@ }, "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')" @@ -8315,15 +11964,25 @@ } }, "type": "object", - "required": ["token", "client_id", "client_secret"], + "required": [ + "token", + "client_id", + "client_secret" + ], "title": "Body_postOauthRevoke" }, "Body_postOauthUploadAppLogo": { "properties": { - "file": { "type": "string", "format": "binary", "title": "File" } + "file": { + "type": "string", + "format": "binary", + "title": "File" + } }, "type": "object", - "required": ["file"], + "required": [ + "file" + ], "title": "Body_postOauthUploadAppLogo" }, "Body_postV1Exchange_oauth_code_for_tokens": { @@ -8332,10 +11991,16 @@ "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"], + "required": [ + "code", + "state_token" + ], "title": "Body_postV1Exchange oauth code for tokens" }, "Body_postV1Execute_graph_agent": { @@ -8356,9 +12021,15 @@ "anyOf": [ { "type": "string", - "enum": ["builder", "library", "onboarding"] + "enum": [ + "builder", + "library", + "onboarding" + ] }, - { "type": "null" } + { + "type": "null" + } ], "title": "Source" } @@ -8368,20 +12039,39 @@ }, "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"], + "required": [ + "file" + ], "title": "Body_postV1Upload file to cloud storage" }, "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"], + "required": [ + "user_id", + "amount", + "comments" + ], "title": "Body_postV2Add credits to user" }, "Body_postV2Add_marketplace_agent": { @@ -8392,13 +12082,18 @@ }, "source": { "type": "string", - "enum": ["onboarding", "marketplace"], + "enum": [ + "onboarding", + "marketplace" + ], "title": "Source", "default": "marketplace" } }, "type": "object", - "required": ["store_listing_version_id"], + "required": [ + "store_listing_version_id" + ], "title": "Body_postV2Add marketplace agent" }, "Body_postV2Execute_a_preset": { @@ -8421,81 +12116,149 @@ }, "Body_postV2Upload_submission_media": { "properties": { - "file": { "type": "string", "format": "binary", "title": "File" } + "file": { + "type": "string", + "format": "binary", + "title": "File" + } }, "type": "object", - "required": ["file"], + "required": [ + "file" + ], "title": "Body_postV2Upload submission media" }, "Body_postWorkspaceUpload_file_to_workspace": { "properties": { - "file": { "type": "string", "format": "binary", "title": "File" } + "file": { + "type": "string", + "format": "binary", + "title": "File" + } }, "type": "object", - "required": ["file"], + "required": [ + "file" + ], "title": "Body_postWorkspaceUpload file to workspace" }, "BulkMoveAgentsRequest": { "properties": { "agent_ids": { - "items": { "type": "string" }, + "items": { + "type": "string" + }, "type": "array", "title": "Agent Ids" }, "folder_id": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Folder Id" } }, "type": "object", - "required": ["agent_ids"], + "required": [ + "agent_ids" + ], "title": "BulkMoveAgentsRequest", "description": "Request model for moving multiple agents to a folder." }, "CancelSessionResponse": { "properties": { - "cancelled": { "type": "boolean", "title": "Cancelled" }, + "cancelled": { + "type": "boolean", + "title": "Cancelled" + }, "reason": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Reason" } }, "type": "object", - "required": ["cancelled"], + "required": [ + "cancelled" + ], "title": "CancelSessionResponse", "description": "Response model for the cancel session endpoint." }, "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"], + "required": [ + "version", + "changes_summary", + "date" + ], "title": "ChangelogEntry" }, "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" } }, "type": "object", - "required": ["query", "conversation_history", "message_id"], + "required": [ + "query", + "conversation_history", + "message_id" + ], "title": "ChatRequest" }, "ClarificationNeededResponse": { @@ -8504,43 +12267,80 @@ "$ref": "#/components/schemas/ResponseType", "default": "agent_builder_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" } }, "type": "object", - "required": ["message"], + "required": [ + "message" + ], "title": "ClarificationNeededResponse", "description": "Response when the LLM needs more information from the user." }, "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" } }, "type": "object", - "required": ["question", "keyword"], + "required": [ + "question", + "keyword" + ], "title": "ClarifyingQuestion", "description": "A question that needs user clarification." }, "CoPilotUsageStatus": { "properties": { - "daily": { "$ref": "#/components/schemas/UsageWindow" }, - "weekly": { "$ref": "#/components/schemas/UsageWindow" } + "daily": { + "$ref": "#/components/schemas/UsageWindow" + }, + "weekly": { + "$ref": "#/components/schemas/UsageWindow" + } }, "type": "object", - "required": ["daily", "weekly"], + "required": [ + "daily", + "weekly" + ], "title": "CoPilotUsageStatus", "description": "Current usage status for a user across all windows." }, @@ -8557,16 +12357,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": [ @@ -8582,43 +12400,78 @@ }, "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" } }, "type": "object", - "required": ["name", "permissions"], + "required": [ + "name", + "permissions" + ], "title": "CreateAPIKeyRequest" }, "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"], + "required": [ + "api_key", + "plain_text_key" + ], "title": "CreateAPIKeyResponse" }, "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" } }, "type": "object", - "required": ["graph"], + "required": [ + "graph" + ], "title": "CreateGraph" }, "CreateLlmModelRequest": { @@ -8634,7 +12487,14 @@ "description": "Human-readable model name" }, "description": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Description", "description": "Model description" }, @@ -8644,7 +12504,14 @@ "description": "Provider ID (UUID)" }, "creator_id": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Creator Id", "description": "Creator ID (UUID)" }, @@ -8656,8 +12523,13 @@ }, "max_output_tokens": { "anyOf": [ - { "type": "integer", "exclusiveMinimum": 0.0 }, - { "type": "null" } + { + "type": "integer", + "exclusiveMinimum": 0.0 + }, + { + "type": "null" + } ], "title": "Max Output Tokens", "description": "Maximum output tokens (None if unlimited)" @@ -8716,6 +12588,15 @@ "type": "object", "title": "Metadata", "description": "Additional metadata" + }, + "costs": { + "items": { + "additionalProperties": true, + "type": "object" + }, + "type": "array", + "title": "Costs", + "description": "Cost entries for the model" } }, "type": "object", @@ -8742,22 +12623,50 @@ "description": "Human-readable provider name" }, "description": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Description", "description": "Provider description" }, "default_credential_provider": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Default Credential Provider", "description": "Default credential system identifier" }, "default_credential_id": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Default Credential Id", "description": "Default credential ID" }, "default_credential_type": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Default Credential Type", "description": "Default credential type" }, @@ -8769,44 +12678,96 @@ } }, "type": "object", - "required": ["name", "display_name"], + "required": [ + "name", + "display_name" + ], "title": "CreateLlmProviderRequest", "description": "Request model for creating an LLM provider." }, "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" } }, "type": "object", - "required": ["id", "created_at", "user_id"], + "required": [ + "id", + "created_at", + "user_id" + ], "title": "CreateSessionResponse", "description": "Response model containing information on a newly created chat session." }, "CreatorDetails": { "properties": { - "username": { "type": "string", "title": "Username" }, - "name": { "type": "string", "title": "Name" }, - "description": { "type": "string", "title": "Description" }, + "username": { + "type": "string", + "title": "Username" + }, + "name": { + "type": "string", + "title": "Name" + }, + "description": { + "type": "string", + "title": "Description" + }, "avatar_url": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Avatar Url" }, "links": { - "items": { "type": "string" }, + "items": { + "type": "string" + }, "type": "array", "title": "Links" }, - "is_featured": { "type": "boolean", "title": "Is Featured" }, - "num_agents": { "type": "integer", "title": "Num Agents" }, - "agent_runs": { "type": "integer", "title": "Agent Runs" }, - "agent_rating": { "type": "number", "title": "Agent Rating" }, + "is_featured": { + "type": "boolean", + "title": "Is Featured" + }, + "num_agents": { + "type": "integer", + "title": "Num Agents" + }, + "agent_runs": { + "type": "integer", + "title": "Agent Runs" + }, + "agent_rating": { + "type": "number", + "title": "Agent Rating" + }, "top_categories": { - "items": { "type": "string" }, + "items": { + "type": "string" + }, "type": "array", "title": "Top Categories" } @@ -8830,14 +12791,21 @@ "CreatorsResponse": { "properties": { "creators": { - "items": { "$ref": "#/components/schemas/CreatorDetails" }, + "items": { + "$ref": "#/components/schemas/CreatorDetails" + }, "type": "array", "title": "Creators" }, - "pagination": { "$ref": "#/components/schemas/Pagination" } + "pagination": { + "$ref": "#/components/schemas/Pagination" + } }, "type": "object", - "required": ["creators", "pagination"], + "required": [ + "creators", + "pagination" + ], "title": "CreatorsResponse" }, "CredentialsDeletionNeedsConfirmationResponse": { @@ -8854,10 +12822,15 @@ "title": "Need Confirmation", "default": true }, - "message": { "type": "string", "title": "Message" } + "message": { + "type": "string", + "title": "Message" + } }, "type": "object", - "required": ["message"], + "required": [ + "message" + ], "title": "CredentialsDeletionNeedsConfirmationResponse" }, "CredentialsDeletionResponse": { @@ -8869,20 +12842,39 @@ "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." } }, "type": "object", - "required": ["revoked"], + "required": [ + "revoked" + ], "title": "CredentialsDeletionResponse" }, "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": { @@ -8892,67 +12884,140 @@ }, "type": { "type": "string", - "enum": ["api_key", "oauth2", "user_password", "host_scoped"], + "enum": [ + "api_key", + "oauth2", + "user_password", + "host_scoped" + ], "title": "Type" } }, "type": "object", - "required": ["id", "provider", "type"], + "required": [ + "id", + "provider", + "type" + ], "title": "CredentialsMetaInput", "credentials_provider": [], "credentials_types": [] }, "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"], + "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" } }, "type": "object", - "required": ["id", "provider", "type", "title", "scopes", "username"], + "required": [ + "id", + "provider", + "type", + "title", + "scopes", + "username" + ], "title": "CredentialsMetaResponse" }, "CreditTransactionType": { "type": "string", - "enum": ["TOP_UP", "USAGE", "GRANT", "REFUND", "CARD_CHECK"], + "enum": [ + "TOP_UP", + "USAGE", + "GRANT", + "REFUND", + "CARD_CHECK" + ], "title": "CreditTransactionType" }, "DeleteFileResponse": { - "properties": { "deleted": { "type": "boolean", "title": "Deleted" } }, + "properties": { + "deleted": { + "type": "boolean", + "title": "Deleted" + } + }, "type": "object", - "required": ["deleted"], + "required": [ + "deleted" + ], "title": "DeleteFileResponse" }, "DeleteGraphResponse": { "properties": { - "version_counts": { "type": "integer", "title": "Version Counts" } + "version_counts": { + "type": "integer", + "title": "Version Counts" + } }, "type": "object", - "required": ["version_counts"], + "required": [ + "version_counts" + ], "title": "DeleteGraphResponse" }, "DiscoverToolsRequest": { @@ -8963,34 +13028,61 @@ "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" } }, "type": "object", - "required": ["server_url"], + "required": [ + "server_url" + ], "title": "DiscoverToolsRequest", "description": "Request to discover tools on an MCP server." }, "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" } }, "type": "object", - "required": ["tools"], + "required": [ + "tools" + ], "title": "DiscoverToolsResponse", "description": "Response containing the list of tools available on an MCP server." }, @@ -9000,38 +13092,97 @@ "$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" } }, "type": "object", - "required": ["message", "title", "path", "content"], + "required": [ + "message", + "title", + "path", + "content" + ], "title": "DocPageResponse", "description": "Response for get_doc_page tool." }, "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" } }, "type": "object", - "required": ["title", "path", "section", "snippet", "score"], + "required": [ + "title", + "path", + "section", + "snippet", + "score" + ], "title": "DocSearchResult", "description": "A single documentation search result." }, @@ -9041,31 +13192,63 @@ "$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"], + "required": [ + "message", + "results", + "count", + "query" + ], "title": "DocSearchResultsResponse", "description": "Response for search_docs tool." }, "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"], + "required": [ + "url", + "relevance_score" + ], "title": "Document" }, "ErrorResponse": { @@ -9074,32 +13257,58 @@ "$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" } }, "type": "object", - "required": ["message"], + "required": [ + "message" + ], "title": "ErrorResponse", "description": "Response for errors." }, "ExecutionAnalyticsConfig": { "properties": { "available_models": { - "items": { "$ref": "#/components/schemas/ModelInfo" }, + "items": { + "$ref": "#/components/schemas/ModelInfo" + }, "type": "array", "title": "Available Models" }, @@ -9133,19 +13342,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" @@ -9165,12 +13393,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)" }, @@ -9182,7 +13424,9 @@ } }, "type": "object", - "required": ["graph_id"], + "required": [ + "graph_id" + ], "title": "ExecutionAnalyticsRequest" }, "ExecutionAnalyticsResponse": { @@ -9228,34 +13472,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" } @@ -9274,13 +13564,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", @@ -9288,37 +13586,65 @@ }, "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" } }, "type": "object", - "required": ["execution_id", "status", "outputs"], + "required": [ + "execution_id", + "status", + "outputs" + ], "title": "ExecutionOutputInfo", "description": "Summary of a single execution's outputs." }, @@ -9328,26 +13654,68 @@ "$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"], + "required": [ + "message", + "execution_id", + "graph_id", + "graph_name" + ], "title": "ExecutionStartedResponse", "description": "Response for run/schedule actions." }, @@ -9360,45 +13728,80 @@ "title": "Name" }, "icon": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Icon" }, "color": { "anyOf": [ - { "type": "string", "pattern": "^#[0-9A-Fa-f]{6}$" }, - { "type": "null" } + { + "type": "string", + "pattern": "^#[0-9A-Fa-f]{6}$" + }, + { + "type": "null" + } ], "title": "Color", "description": "Hex color code (#RRGGBB)" }, "parent_id": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Parent Id" } }, "type": "object", - "required": ["name"], + "required": [ + "name" + ], "title": "FolderCreateRequest", "description": "Request model for creating a folder." }, "FolderListResponse": { "properties": { "folders": { - "items": { "$ref": "#/components/schemas/LibraryFolder" }, + "items": { + "$ref": "#/components/schemas/LibraryFolder" + }, "type": "array", "title": "Folders" }, - "pagination": { "$ref": "#/components/schemas/Pagination" } + "pagination": { + "$ref": "#/components/schemas/Pagination" + } }, "type": "object", - "required": ["folders", "pagination"], + "required": [ + "folders", + "pagination" + ], "title": "FolderListResponse", "description": "Response schema for a list of folders." }, "FolderMoveRequest": { "properties": { "target_parent_id": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Target Parent Id" } }, @@ -9409,13 +13812,17 @@ "FolderTreeResponse": { "properties": { "tree": { - "items": { "$ref": "#/components/schemas/LibraryFolderTree" }, + "items": { + "$ref": "#/components/schemas/LibraryFolderTree" + }, "type": "array", "title": "Tree" } }, "type": "object", - "required": ["tree"], + "required": [ + "tree" + ], "title": "FolderTreeResponse", "description": "Response schema for folder tree structure." }, @@ -9423,17 +13830,37 @@ "properties": { "name": { "anyOf": [ - { "type": "string", "maxLength": 100, "minLength": 1 }, - { "type": "null" } + { + "type": "string", + "maxLength": 100, + "minLength": 1 + }, + { + "type": "null" + } ], "title": "Name" }, "icon": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Icon" }, "color": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Color" } }, @@ -9443,58 +13870,120 @@ }, "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" } }, "type": "object", - "required": ["name", "description"], + "required": [ + "name", + "description" + ], "title": "Graph", "description": "Creatable graph model used in API create/update endpoints." }, "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", @@ -9508,7 +13997,9 @@ }, "type": "object" }, - { "type": "null" } + { + "type": "null" + } ], "title": "Credential Inputs" }, @@ -9521,27 +14012,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)." @@ -9552,17 +14064,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" } @@ -9586,17 +14112,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", @@ -9609,9 +14161,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", @@ -9634,14 +14195,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" }, @@ -9653,7 +14231,9 @@ }, "type": "object" }, - { "type": "null" } + { + "type": "null" + } ], "title": "Credential Inputs" }, @@ -9666,27 +14246,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)." @@ -9697,13 +14298,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" + } ] } }, @@ -9724,10 +14336,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", @@ -9741,7 +14365,9 @@ }, "type": "object" }, - { "type": "null" } + { + "type": "null" + } ], "title": "Credential Inputs" }, @@ -9754,27 +14380,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)." @@ -9785,22 +14432,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" } @@ -9825,45 +14488,95 @@ "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"], + "required": [ + "executions", + "pagination" + ], "title": "GraphExecutionsPaginated", "description": "Response schema for paginated graph executions." }, "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", @@ -9884,49 +14597,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" }, @@ -9959,8 +14722,12 @@ }, "trigger_setup_info": { "anyOf": [ - { "$ref": "#/components/schemas/GraphTriggerInfo" }, - { "type": "null" } + { + "$ref": "#/components/schemas/GraphTriggerInfo" + }, + { + "type": "null" + } ], "readOnly": true }, @@ -9990,32 +14757,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", @@ -10050,8 +14861,12 @@ }, "trigger_setup_info": { "anyOf": [ - { "$ref": "#/components/schemas/GraphTriggerInfo" }, - { "type": "null" } + { + "$ref": "#/components/schemas/GraphTriggerInfo" + }, + { + "type": "null" + } ], "readOnly": true }, @@ -10109,18 +14924,31 @@ "description": "Input schema for the trigger block" }, "credentials_input_name": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Credentials Input Name" } }, "type": "object", - "required": ["provider", "config_schema", "credentials_input_name"], + "required": [ + "provider", + "config_schema", + "credentials_input_name" + ], "title": "GraphTriggerInfo" }, "HTTPValidationError": { "properties": { "detail": { - "items": { "$ref": "#/components/schemas/ValidationError" }, + "items": { + "$ref": "#/components/schemas/ValidationError" + }, "type": "array", "title": "Detail" } @@ -10130,10 +14958,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": { @@ -10159,15 +15000,31 @@ } }, "type": "object", - "required": ["provider", "host"], + "required": [ + "provider", + "host" + ], "title": "HostScopedCredentials" }, "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": { @@ -10182,22 +15039,32 @@ "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" } }, "type": "object", - "required": ["provider", "host"], + "required": [ + "provider", + "host" + ], "title": "HostScopedCredentials" }, "ImageURLResponse": { "properties": { - "image_url": { "type": "string", "title": "Image Url" } + "image_url": { + "type": "string", + "title": "Image Url" + } }, "type": "object", - "required": ["image_url"], + "required": [ + "image_url" + ], "title": "ImageURLResponse" }, "InputValidationErrorResponse": { @@ -10206,13 +15073,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" @@ -10224,34 +15103,73 @@ "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" } }, "type": "object", - "required": ["message", "unrecognized_fields", "inputs"], + "required": [ + "message", + "unrecognized_fields", + "inputs" + ], "title": "InputValidationErrorResponse", "description": "Response when run_agent receives unknown input fields." }, "LibraryAgent": { "properties": { - "id": { "type": "string", "title": "Id" }, - "graph_id": { "type": "string", "title": "Graph Id" }, - "graph_version": { "type": "integer", "title": "Graph Version" }, + "id": { + "type": "string", + "title": "Id" + }, + "graph_id": { + "type": "string", + "title": "Graph Id" + }, + "graph_version": { + "type": "integer", + "title": "Graph Version" + }, "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", @@ -10262,10 +15180,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": { @@ -10280,8 +15211,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" @@ -10303,26 +15239,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" @@ -10336,24 +15295,54 @@ "type": "boolean", "title": "Is Latest Version" }, - "is_favorite": { "type": "boolean", "title": "Is Favorite" }, + "is_favorite": { + "type": "boolean", + "title": "Is Favorite" + }, "folder_id": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Folder Id" }, "folder_name": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Folder Name" }, "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" + } ] } }, @@ -10386,8 +15375,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", @@ -10400,19 +15395,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", @@ -10425,8 +15439,12 @@ }, "webhook": { "anyOf": [ - { "$ref": "#/components/schemas/Webhook" }, - { "type": "null" } + { + "$ref": "#/components/schemas/Webhook" + }, + { + "type": "null" + } ] } }, @@ -10449,8 +15467,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", @@ -10463,15 +15487,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" } }, @@ -10493,8 +15530,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", @@ -10502,21 +15545,32 @@ } }, "type": "object", - "required": ["graph_execution_id", "name", "description"], + "required": [ + "graph_execution_id", + "name", + "description" + ], "title": "LibraryAgentPresetCreatableFromGraphExecution", "description": "Request model used when creating a new preset for a library agent." }, "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"], + "required": [ + "presets", + "pagination" + ], "title": "LibraryAgentPresetResponse", "description": "Response schema for a list of agent presets and pagination info." }, @@ -10524,8 +15578,13 @@ "properties": { "inputs": { "anyOf": [ - { "additionalProperties": true, "type": "object" }, - { "type": "null" } + { + "additionalProperties": true, + "type": "object" + }, + { + "type": "null" + } ], "title": "Inputs" }, @@ -10537,20 +15596,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" } }, @@ -10561,59 +15643,113 @@ "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"], + "required": [ + "agents", + "pagination" + ], "title": "LibraryAgentResponse", "description": "Response schema for a list of library agents and pagination info." }, "LibraryAgentSort": { "type": "string", - "enum": ["createdAt", "updatedAt"], + "enum": [ + "createdAt", + "updatedAt" + ], "title": "LibraryAgentSort", "description": "Possible sort options for sorting library agents." }, "LibraryAgentStatus": { "type": "string", - "enum": ["COMPLETED", "HEALTHY", "WAITING", "ERROR"], + "enum": [ + "COMPLETED", + "HEALTHY", + "WAITING", + "ERROR" + ], "title": "LibraryAgentStatus" }, "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" }, "folder_id": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Folder Id", "description": "Folder ID to move agent to (None to move to root)" } @@ -10624,19 +15760,49 @@ }, "LibraryFolder": { "properties": { - "id": { "type": "string", "title": "Id" }, - "user_id": { "type": "string", "title": "User Id" }, - "name": { "type": "string", "title": "Name" }, + "id": { + "type": "string", + "title": "Id" + }, + "user_id": { + "type": "string", + "title": "User Id" + }, + "name": { + "type": "string", + "title": "Name" + }, "icon": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Icon" }, "color": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Color" }, "parent_id": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Parent Id" }, "created_at": { @@ -10661,25 +15827,61 @@ } }, "type": "object", - "required": ["id", "user_id", "name", "created_at", "updated_at"], + "required": [ + "id", + "user_id", + "name", + "created_at", + "updated_at" + ], "title": "LibraryFolder", "description": "Represents a folder for organizing library agents." }, "LibraryFolderTree": { "properties": { - "id": { "type": "string", "title": "Id" }, - "user_id": { "type": "string", "title": "User Id" }, - "name": { "type": "string", "title": "Name" }, + "id": { + "type": "string", + "title": "Id" + }, + "user_id": { + "type": "string", + "title": "User Id" + }, + "name": { + "type": "string", + "title": "Name" + }, "icon": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Icon" }, "color": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Color" }, "parent_id": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Parent Id" }, "created_at": { @@ -10703,24 +15905,47 @@ "default": 0 }, "children": { - "items": { "$ref": "#/components/schemas/LibraryFolderTree" }, + "items": { + "$ref": "#/components/schemas/LibraryFolderTree" + }, "type": "array", "title": "Children", "default": [] } }, "type": "object", - "required": ["id", "user_id", "name", "created_at", "updated_at"], + "required": [ + "id", + "user_id", + "name", + "created_at", + "updated_at" + ], "title": "LibraryFolderTree", "description": "Folder with nested children for tree view." }, "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", @@ -10728,44 +15953,90 @@ } }, "type": "object", - "required": ["source_id", "sink_id", "source_name", "sink_name"], + "required": [ + "source_id", + "sink_id", + "source_name", + "sink_name" + ], "title": "Link" }, "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"], + "required": [ + "sessions", + "total" + ], "title": "ListSessionsResponse", "description": "Response model for listing chat sessions." }, "LlmModel": { "properties": { - "slug": { "type": "string", "title": "Slug" }, - "display_name": { "type": "string", "title": "Display Name" }, + "slug": { + "type": "string", + "title": "Slug" + }, + "display_name": { + "type": "string", + "title": "Display Name" + }, "description": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Description" }, - "provider_name": { "type": "string", "title": "Provider Name" }, + "provider_name": { + "type": "string", + "title": "Provider Name" + }, "creator": { "anyOf": [ - { "$ref": "#/components/schemas/LlmModelCreator" }, - { "type": "null" } + { + "$ref": "#/components/schemas/LlmModelCreator" + }, + { + "type": "null" + } ] }, - "context_window": { "type": "integer", "title": "Context Window" }, + "context_window": { + "type": "integer", + "title": "Context Window" + }, "max_output_tokens": { - "anyOf": [{ "type": "integer" }, { "type": "null" }], + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], "title": "Max Output Tokens" }, - "price_tier": { "type": "integer", "title": "Price Tier" }, + "price_tier": { + "type": "integer", + "title": "Price Tier" + }, "is_enabled": { "type": "boolean", "title": "Is Enabled", @@ -10782,7 +16053,9 @@ "title": "Capabilities" }, "costs": { - "items": { "$ref": "#/components/schemas/LlmModelCost" }, + "items": { + "$ref": "#/components/schemas/LlmModelCost" + }, "type": "array", "title": "Costs" } @@ -10800,7 +16073,10 @@ }, "LlmModelCost": { "properties": { - "unit": { "type": "string", "title": "Unit" }, + "unit": { + "type": "string", + "title": "Unit" + }, "credit_cost": { "type": "integer", "minimum": 0.0, @@ -10811,15 +16087,36 @@ "title": "Credential Provider" }, "credential_id": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Credential Id" }, "credential_type": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Credential Type" }, "currency": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Currency" }, "metadata": { @@ -10829,72 +16126,133 @@ } }, "type": "object", - "required": ["unit", "credit_cost", "credential_provider"], + "required": [ + "unit", + "credit_cost", + "credential_provider" + ], "title": "LlmModelCost", "description": "Cost configuration for an LLM model." }, "LlmModelCreator": { "properties": { - "id": { "type": "string", "title": "Id" }, - "name": { "type": "string", "title": "Name" }, - "display_name": { "type": "string", "title": "Display Name" }, + "id": { + "type": "string", + "title": "Id" + }, + "name": { + "type": "string", + "title": "Name" + }, + "display_name": { + "type": "string", + "title": "Display Name" + }, "description": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Description" }, "website_url": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Website Url" }, "logo_url": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Logo Url" } }, "type": "object", - "required": ["id", "name", "display_name"], + "required": [ + "id", + "name", + "display_name" + ], "title": "LlmModelCreator", "description": "Represents the organization that created/trained the model." }, "LlmModelsResponse": { "properties": { "models": { - "items": { "$ref": "#/components/schemas/LlmModel" }, + "items": { + "$ref": "#/components/schemas/LlmModel" + }, "type": "array", "title": "Models" }, - "total": { "type": "integer", "title": "Total" } + "total": { + "type": "integer", + "title": "Total" + } }, "type": "object", - "required": ["models", "total"], + "required": [ + "models", + "total" + ], "title": "LlmModelsResponse", "description": "Response for GET /llm/models." }, "LlmProvider": { "properties": { - "name": { "type": "string", "title": "Name" }, - "display_name": { "type": "string", "title": "Display Name" }, + "name": { + "type": "string", + "title": "Name" + }, + "display_name": { + "type": "string", + "title": "Display Name" + }, "models": { - "items": { "$ref": "#/components/schemas/LlmModel" }, + "items": { + "$ref": "#/components/schemas/LlmModel" + }, "type": "array", "title": "Models" } }, "type": "object", - "required": ["name", "display_name"], + "required": [ + "name", + "display_name" + ], "title": "LlmProvider", "description": "Provider with its enabled models." }, "LlmProvidersResponse": { "properties": { "providers": { - "items": { "$ref": "#/components/schemas/LlmProvider" }, + "items": { + "$ref": "#/components/schemas/LlmProvider" + }, "type": "array", "title": "Providers" } }, "type": "object", - "required": ["providers"], + "required": [ + "providers" + ], "title": "LlmProvidersResponse", "description": "Response for GET /llm/providers." }, @@ -10905,7 +16263,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, @@ -10913,16 +16274,29 @@ } }, "type": "object", - "required": ["metric_name", "metric_value", "data_string"], + "required": [ + "metric_name", + "metric_value", + "data_string" + ], "title": "LogRawMetricRequest" }, "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"], + "required": [ + "login_url", + "state_token" + ], "title": "LoginResponse" }, "MCPOAuthCallbackRequest": { @@ -10939,7 +16313,10 @@ } }, "type": "object", - "required": ["code", "state_token"], + "required": [ + "code", + "state_token" + ], "title": "MCPOAuthCallbackRequest", "description": "Request to exchange an OAuth code for tokens." }, @@ -10952,17 +16329,28 @@ } }, "type": "object", - "required": ["server_url"], + "required": [ + "server_url" + ], "title": "MCPOAuthLoginRequest", "description": "Request to start an OAuth flow for an MCP server." }, "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"], + "required": [ + "login_url", + "state_token" + ], "title": "MCPOAuthLoginResponse", "description": "Response with the OAuth login URL for the user to authenticate." }, @@ -10983,14 +16371,23 @@ } }, "type": "object", - "required": ["server_url", "token"], + "required": [ + "server_url", + "token" + ], "title": "MCPStoreTokenRequest", "description": "Request to store a bearer token for an MCP server that doesn't support OAuth." }, "MCPToolInfo": { "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", @@ -10998,7 +16395,11 @@ } }, "type": "object", - "required": ["name", "description", "input_schema"], + "required": [ + "name", + "description", + "input_schema" + ], "title": "MCPToolInfo", "description": "Information about a single MCP tool discovered from a server." }, @@ -11008,25 +16409,57 @@ "$ref": "#/components/schemas/ResponseType", "default": "mcp_tool_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" }, - "server_url": { "type": "string", "title": "Server Url" }, - "tool_name": { "type": "string", "title": "Tool Name" }, - "result": { "title": "Result" }, - "success": { "type": "boolean", "title": "Success", "default": true } + "server_url": { + "type": "string", + "title": "Server Url" + }, + "tool_name": { + "type": "string", + "title": "Tool Name" + }, + "result": { + "title": "Result" + }, + "success": { + "type": "boolean", + "title": "Success", + "default": true + } }, "type": "object", - "required": ["message", "server_url", "tool_name"], + "required": [ + "message", + "server_url", + "tool_name" + ], "title": "MCPToolOutputResponse", "description": "Response after executing an MCP tool." }, "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", @@ -11034,7 +16467,11 @@ } }, "type": "object", - "required": ["name", "description", "input_schema"], + "required": [ + "name", + "description", + "input_schema" + ], "title": "MCPToolResponse", "description": "A single MCP tool returned by discovery." }, @@ -11044,84 +16481,178 @@ "$ref": "#/components/schemas/ResponseType", "default": "mcp_tools_discovered" }, - "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" }, - "server_url": { "type": "string", "title": "Server Url" }, + "server_url": { + "type": "string", + "title": "Server Url" + }, "tools": { - "items": { "$ref": "#/components/schemas/MCPToolInfo" }, + "items": { + "$ref": "#/components/schemas/MCPToolInfo" + }, "type": "array", "title": "Tools" } }, "type": "object", - "required": ["message", "server_url", "tools"], + "required": [ + "message", + "server_url", + "tools" + ], "title": "MCPToolsDiscoveredResponse", "description": "Response when MCP tools are discovered from a server (agent-internal)." }, "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" } }, "type": "object", - "required": ["id", "name", "slug", "creator"], + "required": [ + "id", + "name", + "slug", + "creator" + ], "title": "MarketplaceListing", "description": "Marketplace listing information for a library agent." }, "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"], + "required": [ + "name", + "id", + "slug" + ], "title": "MarketplaceListingCreator", "description": "Creator information for a marketplace listing." }, "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"], + "required": [ + "query", + "response" + ], "title": "Message" }, "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"], + "required": [ + "value", + "label", + "provider" + ], "title": "ModelInfo" }, "MyUnpublishedAgent": { "properties": { - "graph_id": { "type": "string", "title": "Graph Id" }, - "graph_version": { "type": "integer", "title": "Graph Version" }, - "agent_name": { "type": "string", "title": "Agent Name" }, + "graph_id": { + "type": "string", + "title": "Graph Id" + }, + "graph_version": { + "type": "integer", + "title": "Graph 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" } }, @@ -11138,14 +16669,21 @@ "MyUnpublishedAgentsResponse": { "properties": { "agents": { - "items": { "$ref": "#/components/schemas/MyUnpublishedAgent" }, + "items": { + "$ref": "#/components/schemas/MyUnpublishedAgent" + }, "type": "array", "title": "Agents" }, - "pagination": { "$ref": "#/components/schemas/Pagination" } + "pagination": { + "$ref": "#/components/schemas/Pagination" + } }, "type": "object", - "required": ["agents", "pagination"], + "required": [ + "agents", + "pagination" + ], "title": "MyUnpublishedAgentsResponse" }, "NeedLoginResponse": { @@ -11154,21 +16692,38 @@ "$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" } }, "type": "object", - "required": ["message"], + "required": [ + "message" + ], "title": "NeedLoginResponse", "description": "Response when login is needed." }, @@ -11178,28 +16733,52 @@ "$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"], + "required": [ + "message" + ], "title": "NoResultsResponse", "description": "Response when no agents found." }, "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", @@ -11211,37 +16790,69 @@ "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" } }, "type": "object", - "required": ["block_id"], + "required": [ + "block_id" + ], "title": "Node" }, "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" }, @@ -11252,22 +16863,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" } @@ -11293,8 +16919,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", @@ -11306,32 +16938,62 @@ "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" } }, "type": "object", - "required": ["block_id", "graph_id", "graph_version"], + "required": [ + "block_id", + "graph_id", + "graph_version" + ], "title": "NodeModel" }, "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" }, @@ -11356,7 +17018,10 @@ } }, "type": "object", - "required": ["user_id", "email"], + "required": [ + "user_id", + "email" + ], "title": "NotificationPreference" }, "NotificationPreferenceDTO": { @@ -11368,7 +17033,9 @@ "description": "User's email address" }, "preferences": { - "additionalProperties": { "type": "boolean" }, + "additionalProperties": { + "type": "boolean" + }, "propertyNames": { "$ref": "#/components/schemas/NotificationType" }, @@ -11383,7 +17050,11 @@ } }, "type": "object", - "required": ["email", "preferences", "daily_limit"], + "required": [ + "email", + "preferences", + "daily_limit" + ], "title": "NotificationPreferenceDTO" }, "NotificationType": { @@ -11406,10 +17077,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": { @@ -11419,7 +17103,14 @@ "default": "oauth2" }, "username": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Username" }, "access_token": { @@ -11429,22 +17120,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" }, @@ -11455,39 +17168,78 @@ } }, "type": "object", - "required": ["provider", "access_token", "scopes"], + "required": [ + "provider", + "access_token", + "scopes" + ], "title": "OAuth2Credentials" }, "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", @@ -11517,23 +17269,45 @@ }, "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" } }, "type": "object", - "required": ["name", "scopes"], + "required": [ + "name", + "scopes" + ], "title": "OAuthApplicationPublicInfo", "description": "Public information about an OAuth application (for consent screen)" }, @@ -11543,10 +17317,16 @@ "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"], + "required": [ + "is_onboarding_enabled", + "is_chat_enabled" + ], "title": "OnboardingStatusResponse", "description": "Response for onboarding status check." }, @@ -11584,29 +17364,42 @@ "type": "integer", "title": "Total Items", "description": "Total number of items.", - "examples": [42] + "examples": [ + 42 + ] }, "total_pages": { "type": "integer", "title": "Total Pages", "description": "Total number of pages.", - "examples": [2] + "examples": [ + 2 + ] }, "current_page": { "type": "integer", "title": "Current Page", "description": "Current_page page number.", - "examples": [1] + "examples": [ + 1 + ] }, "page_size": { "type": "integer", "title": "Page Size", "description": "Number of items per page.", - "examples": [25] + "examples": [ + 25 + ] } }, "type": "object", - "required": ["total_items", "total_pages", "current_page", "page_size"], + "required": [ + "total_items", + "total_pages", + "current_page", + "page_size" + ], "title": "Pagination" }, "PendingHumanReviewModel": { @@ -11644,19 +17437,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" }, @@ -11670,12 +17486,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" }, @@ -11693,16 +17523,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" @@ -11726,8 +17566,28 @@ "PostmarkBounceEnum": { "type": "integer", "enum": [ - 1, 2, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, - 100000, 100001, 100002, 100003, 100006, 100007, 100008, 100009, 100010 + 1, + 2, + 16, + 32, + 64, + 128, + 256, + 512, + 1024, + 2048, + 4096, + 8192, + 16384, + 100000, + 100001, + 100002, + 100003, + 100006, + 100007, + 100008, + 100009, + 100010 ], "title": "PostmarkBounceEnum" }, @@ -11739,26 +17599,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" } @@ -11795,32 +17710,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" } @@ -11851,15 +17801,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" } @@ -11885,32 +17858,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" } @@ -11941,26 +17949,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" } @@ -11997,20 +18061,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" } @@ -12032,39 +18122,84 @@ }, "Profile": { "properties": { - "username": { "type": "string", "title": "Username" }, - "name": { "type": "string", "title": "Name" }, - "description": { "type": "string", "title": "Description" }, + "username": { + "type": "string", + "title": "Username" + }, + "name": { + "type": "string", + "title": "Name" + }, + "description": { + "type": "string", + "title": "Description" + }, "avatar_url": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Avatar Url" }, "links": { - "items": { "type": "string" }, + "items": { + "type": "string" + }, "type": "array", "title": "Links" } }, "type": "object", - "required": ["username", "name", "description", "avatar_url", "links"], + "required": [ + "username", + "name", + "description", + "avatar_url", + "links" + ], "title": "Profile", "description": "Marketplace user profile (only attributes that the user can update)" }, "ProfileDetails": { "properties": { - "username": { "type": "string", "title": "Username" }, - "name": { "type": "string", "title": "Name" }, - "description": { "type": "string", "title": "Description" }, + "username": { + "type": "string", + "title": "Username" + }, + "name": { + "type": "string", + "title": "Name" + }, + "description": { + "type": "string", + "title": "Description" + }, "avatar_url": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Avatar Url" }, "links": { - "items": { "type": "string" }, + "items": { + "type": "string" + }, "type": "array", "title": "Links" }, - "is_featured": { "type": "boolean", "title": "Is Featured" } + "is_featured": { + "type": "boolean", + "title": "Is Featured" + } }, "type": "object", "required": [ @@ -12085,20 +18220,29 @@ "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" } }, "type": "object", - "required": ["name", "description", "integration_count"], + "required": [ + "name", + "description", + "integration_count" + ], "title": "Provider" }, "ProviderConstants": { "properties": { "PROVIDER_NAMES": { - "additionalProperties": { "type": "string" }, + "additionalProperties": { + "type": "string" + }, "type": "object", "title": "Provider Names", "description": "All available provider names as a constant mapping", @@ -12126,14 +18270,18 @@ } }, "type": "object", - "required": ["provider"], + "required": [ + "provider" + ], "title": "ProviderEnumResponse", "description": "Response containing a provider from the enum." }, "ProviderNamesResponse": { "properties": { "providers": { - "items": { "type": "string" }, + "items": { + "type": "string" + }, "type": "array", "title": "Providers", "description": "List of all available provider names" @@ -12146,45 +18294,96 @@ "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"], + "required": [ + "providers", + "pagination" + ], "title": "ProviderResponse" }, "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" } }, "type": "object", - "required": ["status"], + "required": [ + "status" + ], "title": "RecentExecution", "description": "Summary of a recent execution for quality assessment.\n\nUsed by the LLM to understand the agent's recent performance with specific examples\nrather than just aggregate statistics." }, "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", @@ -12211,10 +18410,15 @@ }, "RequestTopUp": { "properties": { - "credit_amount": { "type": "integer", "title": "Credit Amount" } + "credit_amount": { + "type": "integer", + "title": "Credit Amount" + } }, "type": "object", - "required": ["credit_amount"], + "required": [ + "credit_amount" + ], "title": "RequestTopUp" }, "ResponseType": { @@ -12282,21 +18486,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)" @@ -12309,21 +18534,28 @@ } }, "type": "object", - "required": ["node_exec_id", "approved"], + "required": [ + "node_exec_id", + "approved" + ], "title": "ReviewItem", "description": "Single review item for processing." }, "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" } }, "type": "object", - "required": ["reviews"], + "required": [ + "reviews" + ], "title": "ReviewRequest", "description": "Request model for processing ALL pending reviews for an execution.\n\nThis request must include ALL pending reviews for a graph execution.\nEach review will be either approved (with optional data modifications)\nor rejected (data ignored). The execution will resume only after ALL reviews are processed.\n\nEach review item can individually specify whether to auto-approve future executions\nof the same block via the `auto_approve_future` field on ReviewItem." }, @@ -12345,19 +18577,34 @@ "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" } }, "type": "object", - "required": ["approved_count", "rejected_count", "failed_count"], + "required": [ + "approved_count", + "rejected_count", + "failed_count" + ], "title": "ReviewResponse", "description": "Response from review endpoint." }, "ReviewStatus": { "type": "string", - "enum": ["WAITING", "APPROVED", "REJECTED"], + "enum": [ + "WAITING", + "APPROVED", + "REJECTED" + ], "title": "ReviewStatus" }, "ReviewSubmissionRequest": { @@ -12366,25 +18613,55 @@ "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" } }, "type": "object", - "required": ["store_listing_version_id", "is_approved", "comments"], + "required": [ + "store_listing_version_id", + "is_approved", + "comments" + ], "title": "ReviewSubmissionRequest" }, "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", @@ -12398,19 +18675,37 @@ "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." } }, "type": "object", - "required": ["name", "cron", "inputs"], + "required": [ + "name", + "cron", + "inputs" + ], "title": "ScheduleCreationRequest" }, "SearchEntry": { "properties": { "search_query": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Search Query" }, "filter": { @@ -12427,19 +18722,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" } }, @@ -12451,17 +18762,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", @@ -12473,30 +18795,60 @@ "type": "object", "title": "Total Items" }, - "pagination": { "$ref": "#/components/schemas/Pagination" } + "pagination": { + "$ref": "#/components/schemas/Pagination" + } }, "type": "object", - "required": ["items", "search_id", "total_items", "pagination"], + "required": [ + "items", + "search_id", + "total_items", + "pagination" + ], "title": "SearchResponse" }, "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" + } ] }, "total_prompt_tokens": { @@ -12511,23 +18863,53 @@ } }, "type": "object", - "required": ["id", "created_at", "updated_at", "user_id", "messages"], + "required": [ + "id", + "created_at", + "updated_at", + "user_id", + "messages" + ], "title": "SessionDetailResponse", "description": "Response model providing complete details for a chat session, including messages." }, "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" }, - "is_processing": { "type": "boolean", "title": "Is Processing" } + "is_processing": { + "type": "boolean", + "title": "Is Processing" + } }, "type": "object", - "required": ["id", "created_at", "updated_at", "is_processing"], + "required": [ + "id", + "created_at", + "updated_at", + "is_processing" + ], "title": "SessionSummaryResponse", "description": "Response model for a session summary (without messages)." }, @@ -12539,22 +18921,38 @@ } }, "type": "object", - "required": ["active_graph_version"], + "required": [ + "active_graph_version" + ], "title": "SetGraphActiveVersion" }, "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"], + "required": [ + "agent_id", + "agent_name" + ], "title": "SetupInfo", "description": "Complete setup information." }, @@ -12564,23 +18962,52 @@ "$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" } }, "type": "object", - "required": ["message", "setup_info"], + "required": [ + "message", + "setup_info" + ], "title": "SetupRequirementsResponse", "description": "Response for validate action." }, @@ -12592,30 +19019,57 @@ }, "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"], + "required": [ + "share_url", + "share_token" + ], "title": "ShareResponse", "description": "Response from share endpoints." }, "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" } @@ -12677,17 +19131,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" } @@ -12698,27 +19173,74 @@ }, "StorageUsageResponse": { "properties": { - "used_bytes": { "type": "integer", "title": "Used Bytes" }, - "limit_bytes": { "type": "integer", "title": "Limit Bytes" }, - "used_percent": { "type": "number", "title": "Used Percent" }, - "file_count": { "type": "integer", "title": "File Count" } + "used_bytes": { + "type": "integer", + "title": "Used Bytes" + }, + "limit_bytes": { + "type": "integer", + "title": "Limit Bytes" + }, + "used_percent": { + "type": "number", + "title": "Used Percent" + }, + "file_count": { + "type": "integer", + "title": "File Count" + } }, "type": "object", - "required": ["used_bytes", "limit_bytes", "used_percent", "file_count"], + "required": [ + "used_bytes", + "limit_bytes", + "used_percent", + "file_count" + ], "title": "StorageUsageResponse" }, "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": [ @@ -12741,41 +19263,86 @@ "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" }, - "graph_id": { "type": "string", "title": "Graph Id" }, + "graph_id": { + "type": "string", + "title": "Graph Id" + }, "graph_versions": { - "items": { "type": "string" }, + "items": { + "type": "string" + }, "type": "array", "title": "Graph Versions" }, @@ -12785,7 +19352,14 @@ "title": "Last Updated" }, "recommended_schedule_cron": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Recommended Schedule Cron" }, "active_version_id": { @@ -12799,10 +19373,14 @@ "changelog": { "anyOf": [ { - "items": { "$ref": "#/components/schemas/ChangelogEntry" }, + "items": { + "$ref": "#/components/schemas/ChangelogEntry" + }, "type": "array" }, - { "type": "null" } + { + "type": "null" + } ], "title": "Changelog" } @@ -12834,33 +19412,65 @@ "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"], + "required": [ + "agents", + "pagination" + ], "title": "StoreAgentsResponse" }, "StoreAgentsSortOptions": { "type": "string", - "enum": ["rating", "runs", "name", "updated_at"], + "enum": [ + "rating", + "runs", + "name", + "updated_at" + ], "title": "StoreAgentsSortOptions" }, "StoreCreatorsSortOptions": { "type": "string", - "enum": ["agent_rating", "agent_runs", "num_agents"], + "enum": [ + "agent_rating", + "agent_runs", + "num_agents" + ], "title": "StoreCreatorsSortOptions" }, "StoreListingWithVersionsAdminView": { "properties": { - "listing_id": { "type": "string", "title": "Listing Id" }, - "graph_id": { "type": "string", "title": "Graph Id" }, - "slug": { "type": "string", "title": "Slug" }, + "listing_id": { + "type": "string", + "title": "Listing Id" + }, + "graph_id": { + "type": "string", + "title": "Graph Id" + }, + "slug": { + "type": "string", + "title": "Slug" + }, "active_listing_version_id": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Active Listing Version Id" }, "has_approved_version": { @@ -12869,13 +19479,24 @@ "default": false }, "creator_email": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Creator Email" }, "latest_version": { "anyOf": [ - { "$ref": "#/components/schemas/StoreSubmissionAdminView" }, - { "type": "null" } + { + "$ref": "#/components/schemas/StoreSubmissionAdminView" + }, + { + "type": "null" + } ] }, "versions": { @@ -12888,7 +19509,11 @@ } }, "type": "object", - "required": ["listing_id", "graph_id", "slug"], + "required": [ + "listing_id", + "graph_id", + "slug" + ], "title": "StoreListingWithVersionsAdminView", "description": "A store listing with its version history" }, @@ -12901,23 +19526,40 @@ "type": "array", "title": "Listings" }, - "pagination": { "$ref": "#/components/schemas/Pagination" } + "pagination": { + "$ref": "#/components/schemas/Pagination" + } }, "type": "object", - "required": ["listings", "pagination"], + "required": [ + "listings", + "pagination" + ], "title": "StoreListingsWithVersionsAdminViewResponse", "description": "Response model for listings with version history" }, "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" } }, "type": "object", - "required": ["score"], + "required": [ + "score" + ], "title": "StoreReview" }, "StoreReviewCreate": { @@ -12926,78 +19568,176 @@ "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" } }, "type": "object", - "required": ["store_listing_version_id", "score"], + "required": [ + "store_listing_version_id", + "score" + ], "title": "StoreReviewCreate" }, "StoreSubmission": { "properties": { - "listing_id": { "type": "string", "title": "Listing Id" }, - "user_id": { "type": "string", "title": "User Id" }, - "slug": { "type": "string", "title": "Slug" }, + "listing_id": { + "type": "string", + "title": "Listing Id" + }, + "user_id": { + "type": "string", + "title": "User Id" + }, + "slug": { + "type": "string", + "title": "Slug" + }, "listing_version_id": { "type": "string", "title": "Listing Version Id" }, - "listing_version": { "type": "integer", "title": "Listing Version" }, - "graph_id": { "type": "string", "title": "Graph Id" }, - "graph_version": { "type": "integer", "title": "Graph Version" }, - "name": { "type": "string", "title": "Name" }, - "sub_heading": { "type": "string", "title": "Sub Heading" }, - "description": { "type": "string", "title": "Description" }, + "listing_version": { + "type": "integer", + "title": "Listing Version" + }, + "graph_id": { + "type": "string", + "title": "Graph Id" + }, + "graph_version": { + "type": "integer", + "title": "Graph Version" + }, + "name": { + "type": "string", + "title": "Name" + }, + "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" }, "image_urls": { - "items": { "type": "string" }, + "items": { + "type": "string" + }, "type": "array", "title": "Image Urls" }, "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" }, "submitted_at": { "anyOf": [ - { "type": "string", "format": "date-time" }, - { "type": "null" } + { + "type": "string", + "format": "date-time" + }, + { + "type": "null" + } ], "title": "Submitted At" }, "changes_summary": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Changes Summary" }, - "status": { "$ref": "#/components/schemas/SubmissionStatus" }, + "status": { + "$ref": "#/components/schemas/SubmissionStatus" + }, "reviewed_at": { "anyOf": [ - { "type": "string", "format": "date-time" }, - { "type": "null" } + { + "type": "string", + "format": "date-time" + }, + { + "type": "null" + } ], "title": "Reviewed At" }, "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" }, "run_count": { @@ -13041,66 +19781,151 @@ }, "StoreSubmissionAdminView": { "properties": { - "listing_id": { "type": "string", "title": "Listing Id" }, - "user_id": { "type": "string", "title": "User Id" }, - "slug": { "type": "string", "title": "Slug" }, + "listing_id": { + "type": "string", + "title": "Listing Id" + }, + "user_id": { + "type": "string", + "title": "User Id" + }, + "slug": { + "type": "string", + "title": "Slug" + }, "listing_version_id": { "type": "string", "title": "Listing Version Id" }, - "listing_version": { "type": "integer", "title": "Listing Version" }, - "graph_id": { "type": "string", "title": "Graph Id" }, - "graph_version": { "type": "integer", "title": "Graph Version" }, - "name": { "type": "string", "title": "Name" }, - "sub_heading": { "type": "string", "title": "Sub Heading" }, - "description": { "type": "string", "title": "Description" }, + "listing_version": { + "type": "integer", + "title": "Listing Version" + }, + "graph_id": { + "type": "string", + "title": "Graph Id" + }, + "graph_version": { + "type": "integer", + "title": "Graph Version" + }, + "name": { + "type": "string", + "title": "Name" + }, + "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" }, "image_urls": { - "items": { "type": "string" }, + "items": { + "type": "string" + }, "type": "array", "title": "Image Urls" }, "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" }, "submitted_at": { "anyOf": [ - { "type": "string", "format": "date-time" }, - { "type": "null" } + { + "type": "string", + "format": "date-time" + }, + { + "type": "null" + } ], "title": "Submitted At" }, "changes_summary": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Changes Summary" }, - "status": { "$ref": "#/components/schemas/SubmissionStatus" }, + "status": { + "$ref": "#/components/schemas/SubmissionStatus" + }, "reviewed_at": { "anyOf": [ - { "type": "string", "format": "date-time" }, - { "type": "null" } + { + "type": "string", + "format": "date-time" + }, + { + "type": "null" + } ], "title": "Reviewed At" }, "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" }, "run_count": { @@ -13119,7 +19944,14 @@ "default": 0.0 }, "internal_comments": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Internal Comments" } }, @@ -13149,18 +19981,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": [] @@ -13171,26 +20025,52 @@ "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" } }, "type": "object", - "required": ["name", "sub_heading"], + "required": [ + "name", + "sub_heading" + ], "title": "StoreSubmissionEditRequest" }, "StoreSubmissionRequest": { @@ -13207,19 +20087,44 @@ "title": "Graph Version", "description": "Graph 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": [] @@ -13230,21 +20135,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" } }, @@ -13261,19 +20189,29 @@ "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"], + "required": [ + "submissions", + "pagination" + ], "title": "StoreSubmissionsResponse" }, "StreamChatRequest": { "properties": { - "message": { "type": "string", "title": "Message" }, + "message": { + "type": "string", + "title": "Message" + }, "is_user_message": { "type": "boolean", "title": "Is User Message", @@ -13282,33 +20220,48 @@ "context": { "anyOf": [ { - "additionalProperties": { "type": "string" }, + "additionalProperties": { + "type": "string" + }, "type": "object" }, - { "type": "null" } + { + "type": "null" + } ], "title": "Context" }, "file_ids": { "anyOf": [ { - "items": { "type": "string" }, + "items": { + "type": "string" + }, "type": "array", "maxItems": 20 }, - { "type": "null" } + { + "type": "null" + } ], "title": "File Ids" } }, "type": "object", - "required": ["message"], + "required": [ + "message" + ], "title": "StreamChatRequest", "description": "Request model for streaming chat with optional context." }, "SubmissionStatus": { "type": "string", - "enum": ["DRAFT", "PENDING", "APPROVED", "REJECTED"], + "enum": [ + "DRAFT", + "PENDING", + "APPROVED", + "REJECTED" + ], "title": "SubmissionStatus" }, "SuggestedGoalResponse": { @@ -13317,9 +20270,19 @@ "$ref": "#/components/schemas/ResponseType", "default": "suggested_goal" }, - "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" }, "suggested_goal": { @@ -13341,21 +20304,29 @@ }, "goal_type": { "type": "string", - "enum": ["vague", "unachievable"], + "enum": [ + "vague", + "unachievable" + ], "title": "Goal Type", "description": "Type: 'vague' or 'unachievable'", "default": "vague" } }, "type": "object", - "required": ["message", "suggested_goal"], + "required": [ + "message", + "suggested_goal" + ], "title": "SuggestedGoalResponse", "description": "Response when the goal needs refinement with a suggested alternative." }, "SuggestionsResponse": { "properties": { "recent_searches": { - "items": { "$ref": "#/components/schemas/SearchEntry" }, + "items": { + "$ref": "#/components/schemas/SearchEntry" + }, "type": "array", "title": "Recent Searches" }, @@ -13368,13 +20339,19 @@ "title": "Providers" }, "top_blocks": { - "items": { "$ref": "#/components/schemas/BlockInfo" }, + "items": { + "$ref": "#/components/schemas/BlockInfo" + }, "type": "array", "title": "Top Blocks" } }, "type": "object", - "required": ["recent_searches", "providers", "top_blocks"], + "required": [ + "recent_searches", + "providers", + "top_blocks" + ], "title": "SuggestionsResponse" }, "TimezoneResponse": { @@ -13984,47 +20961,92 @@ ], "minLength": 1 }, - { "type": "string" } + { + "type": "string" + } ], "title": "Timezone" } }, "type": "object", - "required": ["timezone"], + "required": [ + "timezone" + ], "title": "TimezoneResponse" }, "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" } }, "type": "object", - "required": ["active"], + "required": [ + "active" + ], "title": "TokenIntrospectionResult", "description": "Result of token introspection (RFC 7662)" }, @@ -14045,8 +21067,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", @@ -14071,9 +21099,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": [ @@ -14092,20 +21129,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" } @@ -14124,32 +21169,51 @@ "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" } }, "type": "object", - "required": ["transactions", "next_transaction_time"], + "required": [ + "transactions", + "next_transaction_time" + ], "title": "TransactionHistory" }, "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", @@ -14164,7 +21228,12 @@ } }, "type": "object", - "required": ["name", "graph_id", "graph_version", "trigger_config"], + "required": [ + "name", + "graph_id", + "graph_version", + "trigger_config" + ], "title": "TriggeredPresetSetupRequest" }, "UnderstandingUpdatedResponse": { @@ -14173,13 +21242,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" }, @@ -14190,58 +21271,111 @@ } }, "type": "object", - "required": ["message"], + "required": [ + "message" + ], "title": "UnderstandingUpdatedResponse", "description": "Response for add_understanding tool." }, "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"], + "required": [ + "results", + "pagination" + ], "title": "UnifiedSearchResponse", "description": "Response model for unified search across all content types." }, "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" } }, "type": "object", - "required": ["content_type", "content_id", "searchable_text"], + "required": [ + "content_type", + "content_id", + "searchable_text" + ], "title": "UnifiedSearchResult", "description": "A single result from unified hybrid search across all content types." }, @@ -14254,92 +21388,183 @@ } }, "type": "object", - "required": ["logo_url"], + "required": [ + "logo_url" + ], "title": "UpdateAppLogoRequest" }, "UpdateLlmModelRequest": { "properties": { "display_name": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Display Name", "description": "Human-readable model name" }, "description": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Description", "description": "Model description" }, "creator_id": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Creator Id", "description": "Creator ID (UUID)" }, "context_window": { "anyOf": [ - { "type": "integer", "exclusiveMinimum": 0.0 }, - { "type": "null" } + { + "type": "integer", + "exclusiveMinimum": 0.0 + }, + { + "type": "null" + } ], "title": "Context Window", "description": "Maximum context window in tokens" }, "max_output_tokens": { "anyOf": [ - { "type": "integer", "exclusiveMinimum": 0.0 }, - { "type": "null" } + { + "type": "integer", + "exclusiveMinimum": 0.0 + }, + { + "type": "null" + } ], "title": "Max Output Tokens", "description": "Maximum output tokens (None if unlimited)" }, "price_tier": { "anyOf": [ - { "type": "integer", "maximum": 3.0, "minimum": 1.0 }, - { "type": "null" } + { + "type": "integer", + "maximum": 3.0, + "minimum": 1.0 + }, + { + "type": "null" + } ], "title": "Price Tier", "description": "Price tier (1=cheapest, 2=medium, 3=expensive)" }, "is_enabled": { - "anyOf": [{ "type": "boolean" }, { "type": "null" }], + "anyOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ], "title": "Is Enabled", "description": "Whether the model is enabled" }, "is_recommended": { - "anyOf": [{ "type": "boolean" }, { "type": "null" }], + "anyOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ], "title": "Is Recommended", "description": "Whether the model is recommended" }, "supports_tools": { - "anyOf": [{ "type": "boolean" }, { "type": "null" }], + "anyOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ], "title": "Supports Tools", "description": "Supports function calling" }, "supports_json_output": { - "anyOf": [{ "type": "boolean" }, { "type": "null" }], + "anyOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ], "title": "Supports Json Output", "description": "Supports JSON output mode" }, "supports_reasoning": { - "anyOf": [{ "type": "boolean" }, { "type": "null" }], + "anyOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ], "title": "Supports Reasoning", "description": "Supports reasoning mode" }, "supports_parallel_tool_calls": { - "anyOf": [{ "type": "boolean" }, { "type": "null" }], + "anyOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ], "title": "Supports Parallel Tool Calls", "description": "Supports parallel tool calls" }, "capabilities": { "anyOf": [ - { "additionalProperties": true, "type": "object" }, - { "type": "null" } + { + "additionalProperties": true, + "type": "object" + }, + { + "type": "null" + } ], "title": "Capabilities", "description": "Additional capabilities" }, "metadata": { "anyOf": [ - { "additionalProperties": true, "type": "object" }, - { "type": "null" } + { + "additionalProperties": true, + "type": "object" + }, + { + "type": "null" + } ], "title": "Metadata", "description": "Additional metadata" @@ -14352,34 +21577,74 @@ "UpdateLlmProviderRequest": { "properties": { "display_name": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Display Name", "description": "Human-readable provider name" }, "description": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Description", "description": "Provider description" }, "default_credential_provider": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Default Credential Provider", "description": "Default credential system identifier" }, "default_credential_id": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Default Credential Id", "description": "Default credential ID" }, "default_credential_type": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Default Credential Type", "description": "Default credential type" }, "metadata": { "anyOf": [ - { "additionalProperties": true, "type": "object" }, - { "type": "null" } + { + "additionalProperties": true, + "type": "object" + }, + { + "type": "null" + } ], "title": "Metadata", "description": "Additional metadata" @@ -14392,19 +21657,30 @@ "UpdatePermissionsRequest": { "properties": { "permissions": { - "items": { "$ref": "#/components/schemas/APIKeyPermission" }, + "items": { + "$ref": "#/components/schemas/APIKeyPermission" + }, "type": "array", "title": "Permissions" } }, "type": "object", - "required": ["permissions"], + "required": [ + "permissions" + ], "title": "UpdatePermissionsRequest" }, "UpdateSessionTitleRequest": { - "properties": { "title": { "type": "string", "title": "Title" } }, + "properties": { + "title": { + "type": "string", + "title": "Title" + } + }, "type": "object", - "required": ["title"], + "required": [ + "title" + ], "title": "UpdateSessionTitleRequest", "description": "Request model for updating a session's title." }, @@ -15016,12 +22292,17 @@ } }, "type": "object", - "required": ["timezone"], + "required": [ + "timezone" + ], "title": "UpdateTimezoneRequest" }, "UsageWindow": { "properties": { - "used": { "type": "integer", "title": "Used" }, + "used": { + "type": "integer", + "title": "Used" + }, "limit": { "type": "integer", "title": "Limit", @@ -15034,76 +22315,142 @@ } }, "type": "object", - "required": ["used", "limit", "resets_at"], + "required": [ + "used", + "limit", + "resets_at" + ], "title": "UsageWindow", "description": "Usage within a single time window." }, "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"], + "required": [ + "history", + "pagination" + ], "title": "UserHistoryResponse", "description": "Response model for listings with version history" }, "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" }, @@ -15134,47 +22481,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" } }, @@ -15183,10 +22581,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": { @@ -15209,7 +22620,11 @@ } }, "type": "object", - "required": ["provider", "username", "password"], + "required": [ + "provider", + "username", + "password" + ], "title": "UserPasswordCredentials" }, "UserReadiness": { @@ -15252,7 +22667,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", @@ -15264,15 +22683,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": { @@ -15286,58 +22726,132 @@ "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" } }, "type": "object", - "required": ["user_id"], + "required": [ + "user_id" + ], "title": "UserTransaction" }, "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"], + "required": [ + "loc", + "msg", + "type" + ], "title": "ValidationError" }, "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" }, @@ -15346,12 +22860,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": [ @@ -15369,23 +22890,59 @@ }, "backend__api__features__workspace__routes__UploadFileResponse": { "properties": { - "file_id": { "type": "string", "title": "File Id" }, - "name": { "type": "string", "title": "Name" }, - "path": { "type": "string", "title": "Path" }, - "mime_type": { "type": "string", "title": "Mime Type" }, - "size_bytes": { "type": "integer", "title": "Size Bytes" } + "file_id": { + "type": "string", + "title": "File Id" + }, + "name": { + "type": "string", + "title": "Name" + }, + "path": { + "type": "string", + "title": "Path" + }, + "mime_type": { + "type": "string", + "title": "Mime Type" + }, + "size_bytes": { + "type": "integer", + "title": "Size Bytes" + } }, "type": "object", - "required": ["file_id", "name", "path", "mime_type", "size_bytes"], + "required": [ + "file_id", + "name", + "path", + "mime_type", + "size_bytes" + ], "title": "UploadFileResponse" }, "backend__api__model__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": [ @@ -15404,7 +22961,10 @@ "in": "header", "name": "X-Postmark-Webhook-Token" }, - "HTTPBearer": { "type": "http", "scheme": "bearer" }, + "HTTPBearer": { + "type": "http", + "scheme": "bearer" + }, "HTTPBearerJWT": { "type": "http", "scheme": "bearer", @@ -15418,11 +22978,15 @@ "application/json": { "schema": { "type": "object", - "properties": { "detail": { "type": "string" } } + "properties": { + "detail": { + "type": "string" + } + } } } } } } } -} +} \ No newline at end of file