From bd7db8ff03fc1d5d7065b8366b065e808b9ba132 Mon Sep 17 00:00:00 2001 From: majdyz Date: Mon, 13 Apr 2026 02:37:35 +0000 Subject: [PATCH] fix(openapi): move CostBucket schema to alphabetical position, fix cost_buckets field order --- .../frontend/src/app/api/openapi.json | 9498 ++++++++++++++--- 1 file changed, 7744 insertions(+), 1754 deletions(-) diff --git a/autogpt_platform/frontend/src/app/api/openapi.json b/autogpt_platform/frontend/src/app/api/openapi.json index 617fac5baa..e68b091b72 100644 --- a/autogpt_platform/frontend/src/app/api/openapi.json +++ b/autogpt_platform/frontend/src/app/api/openapi.json @@ -12,7 +12,11 @@ "tags": ["v2", "admin", "platform-cost", "admin"], "summary": "Get Platform Cost Dashboard", "operationId": "getV2Get platform cost dashboard", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "start", @@ -20,8 +24,13 @@ "required": false, "schema": { "anyOf": [ - { "type": "string", "format": "date-time" }, - { "type": "null" } + { + "type": "string", + "format": "date-time" + }, + { + "type": "null" + } ], "title": "Start" } @@ -32,8 +41,13 @@ "required": false, "schema": { "anyOf": [ - { "type": "string", "format": "date-time" }, - { "type": "null" } + { + "type": "string", + "format": "date-time" + }, + { + "type": "null" + } ], "title": "End" } @@ -43,7 +57,14 @@ "in": "query", "required": false, "schema": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Provider" } }, @@ -52,7 +73,14 @@ "in": "query", "required": false, "schema": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "User Id" } }, @@ -61,7 +89,14 @@ "in": "query", "required": false, "schema": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Model" } }, @@ -70,7 +105,14 @@ "in": "query", "required": false, "schema": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Block Name" } }, @@ -79,7 +121,14 @@ "in": "query", "required": false, "schema": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Tracking Type" } } @@ -102,7 +151,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -114,7 +165,11 @@ "tags": ["v2", "admin", "platform-cost", "admin"], "summary": "Get Platform Cost Logs", "operationId": "getV2Get platform cost logs", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "start", @@ -122,8 +177,13 @@ "required": false, "schema": { "anyOf": [ - { "type": "string", "format": "date-time" }, - { "type": "null" } + { + "type": "string", + "format": "date-time" + }, + { + "type": "null" + } ], "title": "Start" } @@ -134,8 +194,13 @@ "required": false, "schema": { "anyOf": [ - { "type": "string", "format": "date-time" }, - { "type": "null" } + { + "type": "string", + "format": "date-time" + }, + { + "type": "null" + } ], "title": "End" } @@ -145,7 +210,14 @@ "in": "query", "required": false, "schema": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Provider" } }, @@ -154,7 +226,14 @@ "in": "query", "required": false, "schema": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "User Id" } }, @@ -186,7 +265,14 @@ "in": "query", "required": false, "schema": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Model" } }, @@ -195,7 +281,14 @@ "in": "query", "required": false, "schema": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Block Name" } }, @@ -204,7 +297,14 @@ "in": "query", "required": false, "schema": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Tracking Type" } } @@ -227,7 +327,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -239,7 +341,11 @@ "tags": ["v2", "admin", "platform-cost", "admin"], "summary": "Export Platform Cost Logs", "operationId": "getV2Export platform cost logs", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "start", @@ -247,8 +353,13 @@ "required": false, "schema": { "anyOf": [ - { "type": "string", "format": "date-time" }, - { "type": "null" } + { + "type": "string", + "format": "date-time" + }, + { + "type": "null" + } ], "title": "Start" } @@ -259,8 +370,13 @@ "required": false, "schema": { "anyOf": [ - { "type": "string", "format": "date-time" }, - { "type": "null" } + { + "type": "string", + "format": "date-time" + }, + { + "type": "null" + } ], "title": "End" } @@ -270,7 +386,14 @@ "in": "query", "required": false, "schema": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Provider" } }, @@ -279,7 +402,14 @@ "in": "query", "required": false, "schema": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "User Id" } }, @@ -288,7 +418,14 @@ "in": "query", "required": false, "schema": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Model" } }, @@ -297,7 +434,14 @@ "in": "query", "required": false, "schema": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Block Name" } }, @@ -306,7 +450,14 @@ "in": "query", "required": false, "schema": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Tracking Type" } } @@ -329,7 +480,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -354,7 +507,11 @@ "responses": { "200": { "description": "Successful Response", - "content": { "application/json": { "schema": {} } } + "content": { + "application/json": { + "schema": {} + } + } }, "401": { "$ref": "#/components/responses/HTTP401NotAuthenticatedError" @@ -363,12 +520,18 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] } }, "/api/analytics/log_raw_metric": { @@ -379,7 +542,9 @@ "requestBody": { "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/LogRawMetricRequest" } + "schema": { + "$ref": "#/components/schemas/LogRawMetricRequest" + } } }, "required": true @@ -387,7 +552,11 @@ "responses": { "200": { "description": "Successful Response", - "content": { "application/json": { "schema": {} } } + "content": { + "application/json": { + "schema": {} + } + } }, "401": { "$ref": "#/components/responses/HTTP401NotAuthenticatedError" @@ -396,12 +565,18 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] } }, "/api/api-keys": { @@ -416,7 +591,9 @@ "content": { "application/json": { "schema": { - "items": { "$ref": "#/components/schemas/APIKeyInfo" }, + "items": { + "$ref": "#/components/schemas/APIKeyInfo" + }, "type": "array", "title": "Response Getv1List User Api Keys" } @@ -427,7 +604,11 @@ "$ref": "#/components/responses/HTTP401NotAuthenticatedError" } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] }, "post": { "tags": ["v1", "api-keys"], @@ -437,7 +618,9 @@ "requestBody": { "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/CreateAPIKeyRequest" } + "schema": { + "$ref": "#/components/schemas/CreateAPIKeyRequest" + } } }, "required": true @@ -460,12 +643,18 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] } }, "/api/api-keys/{key_id}": { @@ -474,13 +663,20 @@ "summary": "Revoke API key", "description": "Revoke an API key", "operationId": "deleteV1Revoke api key", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "key_id", "in": "path", "required": true, - "schema": { "type": "string", "title": "Key Id" } + "schema": { + "type": "string", + "title": "Key Id" + } } ], "responses": { @@ -488,7 +684,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/APIKeyInfo" } + "schema": { + "$ref": "#/components/schemas/APIKeyInfo" + } } } }, @@ -499,7 +697,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -510,13 +710,20 @@ "summary": "Get specific API key", "description": "Get a specific API key", "operationId": "getV1Get specific api key", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "key_id", "in": "path", "required": true, - "schema": { "type": "string", "title": "Key Id" } + "schema": { + "type": "string", + "title": "Key Id" + } } ], "responses": { @@ -524,7 +731,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/APIKeyInfo" } + "schema": { + "$ref": "#/components/schemas/APIKeyInfo" + } } } }, @@ -535,7 +744,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -548,13 +759,20 @@ "summary": "Update key permissions", "description": "Update API key permissions", "operationId": "putV1Update key permissions", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "key_id", "in": "path", "required": true, - "schema": { "type": "string", "title": "Key Id" } + "schema": { + "type": "string", + "title": "Key Id" + } } ], "requestBody": { @@ -572,7 +790,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/APIKeyInfo" } + "schema": { + "$ref": "#/components/schemas/APIKeyInfo" + } } } }, @@ -583,7 +803,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -596,13 +818,20 @@ "summary": "Suspend API key", "description": "Suspend an API key", "operationId": "postV1Suspend api key", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "key_id", "in": "path", "required": true, - "schema": { "type": "string", "title": "Key Id" } + "schema": { + "type": "string", + "title": "Key Id" + } } ], "responses": { @@ -610,7 +839,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/APIKeyInfo" } + "schema": { + "$ref": "#/components/schemas/APIKeyInfo" + } } } }, @@ -621,7 +852,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -636,13 +869,21 @@ "responses": { "200": { "description": "Successful Response", - "content": { "application/json": { "schema": {} } } + "content": { + "application/json": { + "schema": {} + } + } }, "401": { "$ref": "#/components/responses/HTTP401NotAuthenticatedError" } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] } }, "/api/auth/user/email": { @@ -653,7 +894,10 @@ "requestBody": { "content": { "application/json": { - "schema": { "type": "string", "title": "Email" } + "schema": { + "type": "string", + "title": "Email" + } } }, "required": true @@ -664,7 +908,9 @@ "content": { "application/json": { "schema": { - "additionalProperties": { "type": "string" }, + "additionalProperties": { + "type": "string" + }, "type": "object", "title": "Response Postv1Update User Email" } @@ -678,12 +924,18 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] } }, "/api/auth/user/preferences": { @@ -706,7 +958,11 @@ "$ref": "#/components/responses/HTTP401NotAuthenticatedError" } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] }, "post": { "tags": ["v1", "auth"], @@ -740,12 +996,18 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] } }, "/api/auth/user/timezone": { @@ -759,7 +1021,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/TimezoneResponse" } + "schema": { + "$ref": "#/components/schemas/TimezoneResponse" + } } } }, @@ -767,7 +1031,11 @@ "$ref": "#/components/responses/HTTP401NotAuthenticatedError" } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] }, "post": { "tags": ["v1", "auth"], @@ -777,7 +1045,9 @@ "requestBody": { "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/UpdateTimezoneRequest" } + "schema": { + "$ref": "#/components/schemas/UpdateTimezoneRequest" + } } }, "required": true @@ -787,7 +1057,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/TimezoneResponse" } + "schema": { + "$ref": "#/components/schemas/TimezoneResponse" + } } } }, @@ -798,12 +1070,18 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] } }, "/api/blocks": { @@ -817,7 +1095,10 @@ "content": { "application/json": { "schema": { - "items": { "additionalProperties": true, "type": "object" }, + "items": { + "additionalProperties": true, + "type": "object" + }, "type": "array", "title": "Response Getv1List Available Blocks" } @@ -828,7 +1109,11 @@ "$ref": "#/components/responses/HTTP401NotAuthenticatedError" } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] } }, "/api/blocks/{block_id}/execute": { @@ -836,13 +1121,20 @@ "tags": ["v1", "blocks"], "summary": "Execute graph block", "operationId": "postV1Execute graph block", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "block_id", "in": "path", "required": true, - "schema": { "type": "string", "title": "Block Id" } + "schema": { + "type": "string", + "title": "Block Id" + } } ], "requestBody": { @@ -864,7 +1156,10 @@ "application/json": { "schema": { "type": "object", - "additionalProperties": { "type": "array", "items": {} }, + "additionalProperties": { + "type": "array", + "items": {} + }, "title": "Response Postv1Execute Graph Block" } } @@ -877,7 +1172,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -890,14 +1187,25 @@ "summary": "Get Builder blocks", "description": "Get blocks based on either category, type, or provider.", "operationId": "getV2Get builder blocks", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "category", "in": "query", "required": false, "schema": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Category" } }, @@ -911,7 +1219,9 @@ "enum": ["all", "input", "action", "output"], "type": "string" }, - { "type": "null" } + { + "type": "null" + } ], "title": "Type" } @@ -926,7 +1236,9 @@ "type": "string", "description": "Provider name for integrations. Can be any string value, including custom provider names." }, - { "type": "null" } + { + "type": "null" + } ], "title": "Provider" } @@ -935,13 +1247,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": { @@ -949,7 +1269,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/BlockResponse" } + "schema": { + "$ref": "#/components/schemas/BlockResponse" + } } } }, @@ -960,7 +1282,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -973,7 +1297,11 @@ "summary": "Get specific blocks", "description": "Get specific blocks by their IDs.", "operationId": "getV2Get specific blocks", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "block_ids", @@ -981,7 +1309,9 @@ "required": true, "schema": { "type": "array", - "items": { "type": "string" }, + "items": { + "type": "string" + }, "title": "Block Ids" } } @@ -993,7 +1323,9 @@ "application/json": { "schema": { "type": "array", - "items": { "$ref": "#/components/schemas/BlockInfo" }, + "items": { + "$ref": "#/components/schemas/BlockInfo" + }, "title": "Response Getv2Get Specific Blocks" } } @@ -1006,7 +1338,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -1019,7 +1353,11 @@ "summary": "Get Builder block categories", "description": "Get all block categories with a specified number of blocks per category.", "operationId": "getV2Get builder block categories", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "blocks_per_category", @@ -1054,7 +1392,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -1072,7 +1412,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/CountResponse" } + "schema": { + "$ref": "#/components/schemas/CountResponse" + } } } }, @@ -1080,7 +1422,11 @@ "$ref": "#/components/responses/HTTP401NotAuthenticatedError" } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] } }, "/api/builder/providers": { @@ -1089,19 +1435,31 @@ "summary": "Get Builder integration providers", "description": "Get all integration providers with their block counts.", "operationId": "getV2Get builder integration providers", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "page", "in": "query", "required": false, - "schema": { "type": "integer", "default": 1, "title": "Page" } + "schema": { + "type": "integer", + "default": 1, + "title": "Page" + } }, { "name": "page_size", "in": "query", "required": false, - "schema": { "type": "integer", "default": 50, "title": "Page Size" } + "schema": { + "type": "integer", + "default": 50, + "title": "Page Size" + } } ], "responses": { @@ -1109,7 +1467,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/ProviderResponse" } + "schema": { + "$ref": "#/components/schemas/ProviderResponse" + } } } }, @@ -1120,7 +1480,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -1133,14 +1495,25 @@ "summary": "Builder search", "description": "Search for blocks (including integrations), marketplace agents, and user library agents.", "operationId": "getV2Builder search", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "search_query", "in": "query", "required": false, "schema": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Search Query" } }, @@ -1149,7 +1522,14 @@ "in": "query", "required": false, "schema": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Filter" } }, @@ -1158,7 +1538,14 @@ "in": "query", "required": false, "schema": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Search Id" } }, @@ -1168,8 +1555,15 @@ "required": false, "schema": { "anyOf": [ - { "type": "array", "items": { "type": "string" } }, - { "type": "null" } + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "null" + } ], "title": "By Creator" } @@ -1178,13 +1572,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": { @@ -1192,7 +1594,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/SearchResponse" } + "schema": { + "$ref": "#/components/schemas/SearchResponse" + } } } }, @@ -1203,7 +1607,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -1221,7 +1627,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/SuggestionsResponse" } + "schema": { + "$ref": "#/components/schemas/SuggestionsResponse" + } } } }, @@ -1229,7 +1637,11 @@ "$ref": "#/components/responses/HTTP401NotAuthenticatedError" } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] } }, "/api/chat/config/ttl": { @@ -1289,37 +1701,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" } @@ -1335,7 +1779,11 @@ "summary": "List Sessions", "description": "List chat sessions for the authenticated user.\n\nReturns a paginated list of chat sessions belonging to the current user,\nordered by most recently updated.\n\nArgs:\n user_id: The authenticated user's ID.\n limit: Maximum number of sessions to return (1-100).\n offset: Number of sessions to skip for pagination.\n\nReturns:\n ListSessionsResponse: List of session summaries and total count.", "operationId": "getV2ListSessions", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "limit", @@ -1379,7 +1827,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -1390,14 +1840,22 @@ "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 request: Optional request body. When provided, ``dry_run=True``\n forces run_block and run_agent calls to use dry-run simulation.\n\nReturns:\n CreateSessionResponse: Details of the created session.", "operationId": "postV2CreateSession", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "requestBody": { "content": { "application/json": { "schema": { "anyOf": [ - { "$ref": "#/components/schemas/CreateSessionRequest" }, - { "type": "null" } + { + "$ref": "#/components/schemas/CreateSessionRequest" + }, + { + "type": "null" + } ], "title": "Request" } @@ -1422,7 +1880,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -1435,26 +1895,39 @@ "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" + } } } } @@ -1465,13 +1938,20 @@ "summary": "Get Session", "description": "Retrieve the details of a specific chat session.\n\nSupports cursor-based pagination via ``limit`` and ``before_sequence``.\nWhen no pagination params are provided, returns the most recent messages.\n\nArgs:\n session_id: The unique identifier for the desired chat session.\n user_id: The authenticated user's ID.\n limit: Maximum number of messages to return (1-200, default 50).\n before_sequence: Return messages with sequence < this value (cursor).\n\nReturns:\n SessionDetailResponse: Details for the requested session, including\n active_stream info and pagination metadata.", "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" + } }, { "name": "limit", @@ -1491,8 +1971,13 @@ "required": false, "schema": { "anyOf": [ - { "type": "integer", "minimum": 0 }, - { "type": "null" } + { + "type": "integer", + "minimum": 0 + }, + { + "type": "null" + } ], "title": "Before Sequence" } @@ -1516,7 +2001,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -1529,13 +2016,20 @@ "summary": "Session Assign User", "description": "Assign an authenticated user to a chat session.\n\nUsed (typically post-login) to claim an existing anonymous session as the current authenticated user.\n\nArgs:\n session_id: The identifier for the (previously anonymous) session.\n user_id: The authenticated user's ID to associate with the session.\n\nReturns:\n dict: Status of the assignment.", "operationId": "patchV2SessionAssignUser", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "session_id", "in": "path", "required": true, - "schema": { "type": "string", "title": "Session Id" } + "schema": { + "type": "string", + "title": "Session Id" + } } ], "responses": { @@ -1558,7 +2052,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -1571,13 +2067,20 @@ "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": { @@ -1598,7 +2101,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -1611,19 +2116,30 @@ "summary": "Resume Session Stream", "description": "Resume an active stream for a session.\n\nCalled by the AI SDK's ``useChat(resume: true)`` on page load.\nChecks for an active (in-progress) task on the session and either replays\nthe full SSE stream or returns 204 No Content if nothing is running.\n\nArgs:\n session_id: The chat session identifier.\n user_id: Optional authenticated user ID.\n\nReturns:\n StreamingResponse (SSE) when an active stream exists,\n or 204 No Content when there is nothing to resume.", "operationId": "getV2ResumeSessionStream", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "session_id", "in": "path", "required": true, - "schema": { "type": "string", "title": "Session Id" } + "schema": { + "type": "string", + "title": "Session Id" + } } ], "responses": { "200": { "description": "Successful Response", - "content": { "application/json": { "schema": {} } } + "content": { + "application/json": { + "schema": {} + } + } }, "401": { "$ref": "#/components/responses/HTTP401NotAuthenticatedError" @@ -1632,7 +2148,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -1643,27 +2161,40 @@ "summary": "Stream Chat Post", "description": "Stream chat responses for a session (POST with context support).\n\nStreams the AI/completion responses in real time over Server-Sent Events (SSE), including:\n - Text fragments as they are generated\n - Tool call UI elements (if invoked)\n - Tool execution results\n\nThe AI generation runs in a background task that continues even if the client disconnects.\nAll chunks are written to 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" @@ -1672,7 +2203,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -1685,13 +2218,20 @@ "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": { @@ -1720,12 +2260,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" + } } } } @@ -1753,7 +2297,11 @@ "$ref": "#/components/responses/HTTP401NotAuthenticatedError" } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] } }, "/api/chat/usage": { @@ -1767,7 +2315,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/CoPilotUsageStatus" } + "schema": { + "$ref": "#/components/schemas/CoPilotUsageStatus" + } } } }, @@ -1775,7 +2325,11 @@ "$ref": "#/components/responses/HTTP401NotAuthenticatedError" } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] } }, "/api/chat/usage/reset": { @@ -1801,7 +2355,9 @@ "401": { "$ref": "#/components/responses/HTTP401NotAuthenticatedError" }, - "402": { "description": "Payment Required (insufficient credits)" }, + "402": { + "description": "Payment Required (insufficient credits)" + }, "429": { "description": "Too Many Requests (max daily resets exceeded or reset in progress)" }, @@ -1809,7 +2365,11 @@ "description": "Service Unavailable (Redis reset failed; credits refunded or support needed)" } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] } }, "/api/copilot/admin/rate_limit": { @@ -1818,14 +2378,25 @@ "summary": "Get User Rate Limit", "description": "Get a user's current usage and effective rate limits. Admin-only.\n\nAccepts either ``user_id`` or ``email`` as a query parameter.\nWhen ``email`` is provided the user is looked up by email first.", "operationId": "getV2Get user rate limit", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "user_id", "in": "query", "required": false, "schema": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "User Id" } }, @@ -1834,7 +2405,14 @@ "in": "query", "required": false, "schema": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Email" } } @@ -1857,7 +2435,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -1898,33 +2478,50 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] } }, "/api/copilot/admin/rate_limit/search_users": { "get": { "tags": ["v2", "admin", "copilot", "admin"], "summary": "Search Users by Name or Email", - "description": "Search users by partial email or name. Admin-only.\n\nQueries the User table directly — returns results even for users\nwithout credit transaction history.", + "description": "Search users by partial email or name. Admin-only.\n\nQueries the User table directly \u2014 returns results even for users\nwithout credit transaction history.", "operationId": "getV2Search users by name or email", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "query", "in": "query", "required": true, - "schema": { "type": "string", "title": "Query" } + "schema": { + "type": "string", + "title": "Query" + } }, { "name": "limit", "in": "query", "required": false, - "schema": { "type": "integer", "default": 20, "title": "Limit" } + "schema": { + "type": "integer", + "default": 20, + "title": "Limit" + } } ], "responses": { @@ -1934,7 +2531,9 @@ "application/json": { "schema": { "type": "array", - "items": { "$ref": "#/components/schemas/UserSearchResult" }, + "items": { + "$ref": "#/components/schemas/UserSearchResult" + }, "title": "Response Getv2Search Users By Name Or Email" } } @@ -1947,7 +2546,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -1960,13 +2561,20 @@ "summary": "Get User Rate Limit Tier", "description": "Get a user's current rate-limit tier. Admin-only.\n\nReturns 404 if the user does not exist in the database.", "operationId": "getV2Get user rate limit tier", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "user_id", "in": "query", "required": true, - "schema": { "type": "string", "title": "User Id" } + "schema": { + "type": "string", + "title": "User Id" + } } ], "responses": { @@ -1974,7 +2582,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/UserTierResponse" } + "schema": { + "$ref": "#/components/schemas/UserTierResponse" + } } } }, @@ -1985,7 +2595,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -1996,12 +2608,18 @@ "summary": "Set User Rate Limit Tier", "description": "Set a user's rate-limit tier. Admin-only.\n\nReturns 404 if the user does not exist in the database.", "operationId": "postV2Set user rate limit tier", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "requestBody": { "required": true, "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/SetUserTierRequest" } + "schema": { + "$ref": "#/components/schemas/SetUserTierRequest" + } } } }, @@ -2010,7 +2628,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/UserTierResponse" } + "schema": { + "$ref": "#/components/schemas/UserTierResponse" + } } } }, @@ -2021,7 +2641,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -2039,7 +2661,9 @@ "content": { "application/json": { "schema": { - "additionalProperties": { "type": "integer" }, + "additionalProperties": { + "type": "integer" + }, "type": "object", "title": "Response Getv1Get User Credits" } @@ -2050,7 +2674,11 @@ "$ref": "#/components/responses/HTTP401NotAuthenticatedError" } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] }, "patch": { "tags": ["v1", "credits"], @@ -2059,13 +2687,21 @@ "responses": { "200": { "description": "Successful Response", - "content": { "application/json": { "schema": {} } } + "content": { + "application/json": { + "schema": {} + } + } }, "401": { "$ref": "#/components/responses/HTTP401NotAuthenticatedError" } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] }, "post": { "tags": ["v1", "credits"], @@ -2074,7 +2710,9 @@ "requestBody": { "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/RequestTopUp" } + "schema": { + "$ref": "#/components/schemas/RequestTopUp" + } } }, "required": true @@ -2082,7 +2720,11 @@ "responses": { "200": { "description": "Successful Response", - "content": { "application/json": { "schema": {} } } + "content": { + "application/json": { + "schema": {} + } + } }, "401": { "$ref": "#/components/responses/HTTP401NotAuthenticatedError" @@ -2091,12 +2733,18 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] } }, "/api/credits/admin/add_credits": { @@ -2132,12 +2780,18 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] } }, "/api/credits/admin/users_history": { @@ -2145,14 +2799,25 @@ "tags": ["v2", "admin", "credits", "admin"], "summary": "Get All Users History", "operationId": "getV2Get all users history", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "search", "in": "query", "required": false, "schema": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Search" } }, @@ -2160,13 +2825,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", @@ -2174,8 +2847,12 @@ "required": false, "schema": { "anyOf": [ - { "$ref": "#/components/schemas/CreditTransactionType" }, - { "type": "null" } + { + "$ref": "#/components/schemas/CreditTransactionType" + }, + { + "type": "null" + } ], "title": "Transaction Filter" } @@ -2186,7 +2863,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/UserHistoryResponse" } + "schema": { + "$ref": "#/components/schemas/UserHistoryResponse" + } } } }, @@ -2197,7 +2876,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -2214,7 +2895,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/AutoTopUpConfig" } + "schema": { + "$ref": "#/components/schemas/AutoTopUpConfig" + } } } }, @@ -2222,7 +2905,11 @@ "$ref": "#/components/responses/HTTP401NotAuthenticatedError" } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] }, "post": { "tags": ["v1", "credits"], @@ -2232,7 +2919,9 @@ "requestBody": { "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/AutoTopUpConfig" } + "schema": { + "$ref": "#/components/schemas/AutoTopUpConfig" + } } }, "required": true @@ -2256,12 +2945,18 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] } }, "/api/credits/manage": { @@ -2275,7 +2970,9 @@ "content": { "application/json": { "schema": { - "additionalProperties": { "type": "string" }, + "additionalProperties": { + "type": "string" + }, "type": "object", "title": "Response Getv1Manage Payment Methods" } @@ -2286,7 +2983,11 @@ "$ref": "#/components/responses/HTTP401NotAuthenticatedError" } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] } }, "/api/credits/refunds": { @@ -2300,7 +3001,9 @@ "content": { "application/json": { "schema": { - "items": { "$ref": "#/components/schemas/RefundRequest" }, + "items": { + "$ref": "#/components/schemas/RefundRequest" + }, "type": "array", "title": "Response Getv1Get Refund Requests" } @@ -2311,7 +3014,11 @@ "$ref": "#/components/responses/HTTP401NotAuthenticatedError" } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] } }, "/api/credits/stripe_webhook": { @@ -2322,7 +3029,11 @@ "responses": { "200": { "description": "Successful Response", - "content": { "application/json": { "schema": {} } } + "content": { + "application/json": { + "schema": {} + } + } } } } @@ -2347,7 +3058,11 @@ "$ref": "#/components/responses/HTTP401NotAuthenticatedError" } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] }, "post": { "tags": ["v1", "credits"], @@ -2381,12 +3096,18 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] } }, "/api/credits/transactions": { @@ -2394,7 +3115,11 @@ "tags": ["v1", "credits"], "summary": "Get credit history", "operationId": "getV1Get credit history", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "transaction_time", @@ -2402,8 +3127,13 @@ "required": false, "schema": { "anyOf": [ - { "type": "string", "format": "date-time" }, - { "type": "null" } + { + "type": "string", + "format": "date-time" + }, + { + "type": "null" + } ], "title": "Transaction Time" } @@ -2413,7 +3143,14 @@ "in": "query", "required": false, "schema": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Transaction Type" } }, @@ -2433,7 +3170,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/TransactionHistory" } + "schema": { + "$ref": "#/components/schemas/TransactionHistory" + } } } }, @@ -2444,7 +3183,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -2456,13 +3197,20 @@ "tags": ["v1", "credits"], "summary": "Refund credit transaction", "operationId": "postV1Refund credit transaction", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "transaction_key", "in": "path", "required": true, - "schema": { "type": "string", "title": "Transaction Key" } + "schema": { + "type": "string", + "title": "Transaction Key" + } } ], "requestBody": { @@ -2471,7 +3219,9 @@ "application/json": { "schema": { "type": "object", - "additionalProperties": { "type": "string" }, + "additionalProperties": { + "type": "string" + }, "title": "Metadata" } } @@ -2496,7 +3246,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -2513,13 +3265,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" } @@ -2544,18 +3304,28 @@ "responses": { "200": { "description": "Successful Response", - "content": { "application/json": { "schema": {} } } + "content": { + "application/json": { + "schema": {} + } + } }, "422": { "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } }, - "security": [{ "APIKeyAuthenticator-X-Postmark-Webhook-Token": [] }] + "security": [ + { + "APIKeyAuthenticator-X-Postmark-Webhook-Token": [] + } + ] } }, "/api/email/unsubscribe": { @@ -2568,19 +3338,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" + } } } } @@ -2611,7 +3390,11 @@ "$ref": "#/components/responses/HTTP401NotAuthenticatedError" } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] } }, "/api/executions/admin/execution_accuracy_trends": { @@ -2620,20 +3403,34 @@ "summary": "Get Execution Accuracy Trends and Alerts", "description": "Get execution accuracy trends with moving averages and alert detection.\nSimple single-query approach.", "operationId": "getV2Get execution accuracy trends and alerts", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "graph_id", "in": "query", "required": true, - "schema": { "type": "string", "title": "Graph Id" } + "schema": { + "type": "string", + "title": "Graph Id" + } }, { "name": "user_id", "in": "query", "required": false, "schema": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "User Id" } }, @@ -2641,7 +3438,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", @@ -2682,7 +3483,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -2723,12 +3526,18 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] } }, "/api/executions/admin/execution_analytics/config": { @@ -2752,7 +3561,11 @@ "$ref": "#/components/responses/HTTP401NotAuthenticatedError" } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] } }, "/api/executions/{graph_exec_id}": { @@ -2760,17 +3573,26 @@ "tags": ["v1", "graphs"], "summary": "Delete graph execution", "operationId": "deleteV1Delete graph execution", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "graph_exec_id", "in": "path", "required": true, - "schema": { "type": "string", "title": "Graph Exec Id" } + "schema": { + "type": "string", + "title": "Graph Exec Id" + } } ], "responses": { - "204": { "description": "Successful Response" }, + "204": { + "description": "Successful Response" + }, "401": { "$ref": "#/components/responses/HTTP401NotAuthenticatedError" }, @@ -2778,7 +3600,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -2791,7 +3615,11 @@ "summary": "Upload file to cloud storage", "description": "Upload a file to cloud storage and return a storage key that can be used\nwith FileStoreBlock and AgentFileInputBlock.\n\nArgs:\n file: The file to upload\n user_id: The user ID\n provider: Cloud storage provider (\"gcs\", \"s3\", \"azure\")\n expiration_hours: Hours until file expires (1-48)\n\nReturns:\n Dict containing the cloud storage path and signed URL", "operationId": "postV1Upload file to cloud storage", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "expiration_hours", @@ -2832,7 +3660,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -2850,7 +3680,9 @@ "content": { "application/json": { "schema": { - "items": { "$ref": "#/components/schemas/GraphMeta" }, + "items": { + "$ref": "#/components/schemas/GraphMeta" + }, "type": "array", "title": "Response Getv1List User Graphs" } @@ -2861,7 +3693,11 @@ "$ref": "#/components/responses/HTTP401NotAuthenticatedError" } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] }, "post": { "tags": ["v1", "graphs"], @@ -2870,7 +3706,9 @@ "requestBody": { "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/CreateGraph" } + "schema": { + "$ref": "#/components/schemas/CreateGraph" + } } }, "required": true @@ -2880,7 +3718,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/GraphModel" } + "schema": { + "$ref": "#/components/schemas/GraphModel" + } } } }, @@ -2891,12 +3731,18 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] } }, "/api/graphs/{graph_id}": { @@ -2904,13 +3750,20 @@ "tags": ["v1", "graphs"], "summary": "Delete graph permanently", "operationId": "deleteV1Delete graph permanently", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "graph_id", "in": "path", "required": true, - "schema": { "type": "string", "title": "Graph Id" } + "schema": { + "type": "string", + "title": "Graph Id" + } } ], "responses": { @@ -2918,7 +3771,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/DeleteGraphResponse" } + "schema": { + "$ref": "#/components/schemas/DeleteGraphResponse" + } } } }, @@ -2929,7 +3784,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -2939,20 +3796,34 @@ "tags": ["v1", "graphs"], "summary": "Get specific graph", "operationId": "getV1Get specific graph", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "graph_id", "in": "path", "required": true, - "schema": { "type": "string", "title": "Graph Id" } + "schema": { + "type": "string", + "title": "Graph Id" + } }, { "name": "version", "in": "query", "required": false, "schema": { - "anyOf": [{ "type": "integer" }, { "type": "null" }], + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], "title": "Version" } }, @@ -2972,7 +3843,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/GraphModel" } + "schema": { + "$ref": "#/components/schemas/GraphModel" + } } } }, @@ -2983,7 +3856,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -2993,20 +3868,29 @@ "tags": ["v1", "graphs"], "summary": "Update graph version", "operationId": "putV1Update graph version", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "graph_id", "in": "path", "required": true, - "schema": { "type": "string", "title": "Graph Id" } + "schema": { + "type": "string", + "title": "Graph Id" + } } ], "requestBody": { "required": true, "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/Graph" } + "schema": { + "$ref": "#/components/schemas/Graph" + } } } }, @@ -3015,7 +3899,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/GraphModel" } + "schema": { + "$ref": "#/components/schemas/GraphModel" + } } } }, @@ -3026,7 +3912,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -3038,20 +3926,34 @@ "tags": ["v1", "graphs"], "summary": "Execute graph agent", "operationId": "postV1Execute graph agent", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "graph_id", "in": "path", "required": true, - "schema": { "type": "string", "title": "Graph Id" } + "schema": { + "type": "string", + "title": "Graph Id" + } }, { "name": "graph_version", "in": "path", "required": true, "schema": { - "anyOf": [{ "type": "integer" }, { "type": "null" }], + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], "title": "Graph Version" } }, @@ -3060,7 +3962,14 @@ "in": "query", "required": false, "schema": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Preset Id" } } @@ -3079,7 +3988,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/GraphExecutionMeta" } + "schema": { + "$ref": "#/components/schemas/GraphExecutionMeta" + } } } }, @@ -3090,7 +4001,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -3102,13 +4015,20 @@ "tags": ["v1", "graphs"], "summary": "List graph executions", "operationId": "getV1List graph executions", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "graph_id", "in": "path", "required": true, - "schema": { "type": "string", "title": "Graph Id" } + "schema": { + "type": "string", + "title": "Graph Id" + } }, { "name": "page", @@ -3156,7 +4076,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -3168,19 +4090,29 @@ "tags": ["v1", "graphs"], "summary": "Get execution details", "operationId": "getV1Get execution details", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "graph_id", "in": "path", "required": true, - "schema": { "type": "string", "title": "Graph Id" } + "schema": { + "type": "string", + "title": "Graph Id" + } }, { "name": "graph_exec_id", "in": "path", "required": true, - "schema": { "type": "string", "title": "Graph Exec Id" } + "schema": { + "type": "string", + "title": "Graph Exec Id" + } } ], "responses": { @@ -3190,8 +4122,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" } @@ -3205,7 +4141,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -3218,23 +4156,35 @@ "summary": "Disable Execution Sharing", "description": "Disable sharing for a graph execution.", "operationId": "deleteV1DisableExecutionSharing", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "graph_id", "in": "path", "required": true, - "schema": { "type": "string", "title": "Graph Id" } + "schema": { + "type": "string", + "title": "Graph Id" + } }, { "name": "graph_exec_id", "in": "path", "required": true, - "schema": { "type": "string", "title": "Graph Exec Id" } + "schema": { + "type": "string", + "title": "Graph Exec Id" + } } ], "responses": { - "204": { "description": "Successful Response" }, + "204": { + "description": "Successful Response" + }, "401": { "$ref": "#/components/responses/HTTP401NotAuthenticatedError" }, @@ -3242,7 +4192,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -3253,19 +4205,29 @@ "summary": "Enable Execution Sharing", "description": "Enable sharing for a graph execution.", "operationId": "postV1EnableExecutionSharing", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "graph_id", "in": "path", "required": true, - "schema": { "type": "string", "title": "Graph Id" } + "schema": { + "type": "string", + "title": "Graph Id" + } }, { "name": "graph_exec_id", "in": "path", "required": true, - "schema": { "type": "string", "title": "Graph Exec Id" } + "schema": { + "type": "string", + "title": "Graph Exec Id" + } } ], "requestBody": { @@ -3283,7 +4245,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/ShareResponse" } + "schema": { + "$ref": "#/components/schemas/ShareResponse" + } } } }, @@ -3294,7 +4258,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -3306,19 +4272,29 @@ "tags": ["v1", "graphs"], "summary": "Stop graph execution", "operationId": "postV1Stop graph execution", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "graph_id", "in": "path", "required": true, - "schema": { "type": "string", "title": "Graph Id" } + "schema": { + "type": "string", + "title": "Graph Id" + } }, { "name": "graph_exec_id", "in": "path", "required": true, - "schema": { "type": "string", "title": "Graph Exec Id" } + "schema": { + "type": "string", + "title": "Graph Exec Id" + } } ], "responses": { @@ -3328,8 +4304,12 @@ "application/json": { "schema": { "anyOf": [ - { "$ref": "#/components/schemas/GraphExecutionMeta" }, - { "type": "null" } + { + "$ref": "#/components/schemas/GraphExecutionMeta" + }, + { + "type": "null" + } ], "title": "Response Postv1Stop Graph Execution" } @@ -3343,7 +4323,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -3355,13 +4337,20 @@ "tags": ["v1", "schedules"], "summary": "List execution schedules for a graph", "operationId": "getV1List execution schedules for a graph", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "graph_id", "in": "path", "required": true, - "schema": { "type": "string", "title": "Graph Id" } + "schema": { + "type": "string", + "title": "Graph Id" + } } ], "responses": { @@ -3386,7 +4375,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -3396,7 +4387,11 @@ "tags": ["v1", "schedules"], "summary": "Create execution schedule", "operationId": "postV1Create execution schedule", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "graph_id", @@ -3438,7 +4433,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -3451,20 +4448,29 @@ "summary": "Update graph settings", "description": "Update graph settings for the user's library agent.", "operationId": "patchV1Update graph settings", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "graph_id", "in": "path", "required": true, - "schema": { "type": "string", "title": "Graph Id" } + "schema": { + "type": "string", + "title": "Graph Id" + } } ], "requestBody": { "required": true, "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/GraphSettings" } + "schema": { + "$ref": "#/components/schemas/GraphSettings" + } } } }, @@ -3473,7 +4479,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/GraphSettings" } + "schema": { + "$ref": "#/components/schemas/GraphSettings" + } } } }, @@ -3484,7 +4492,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -3496,13 +4506,20 @@ "tags": ["v1", "graphs"], "summary": "Get all graph versions", "operationId": "getV1Get all graph versions", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "graph_id", "in": "path", "required": true, - "schema": { "type": "string", "title": "Graph Id" } + "schema": { + "type": "string", + "title": "Graph Id" + } } ], "responses": { @@ -3512,7 +4529,9 @@ "application/json": { "schema": { "type": "array", - "items": { "$ref": "#/components/schemas/GraphModel" }, + "items": { + "$ref": "#/components/schemas/GraphModel" + }, "title": "Response Getv1Get All Graph Versions" } } @@ -3525,7 +4544,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -3537,27 +4558,40 @@ "tags": ["v1", "graphs"], "summary": "Set active graph version", "operationId": "putV1Set active graph version", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "graph_id", "in": "path", "required": true, - "schema": { "type": "string", "title": "Graph Id" } + "schema": { + "type": "string", + "title": "Graph Id" + } } ], "requestBody": { "required": true, "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/SetGraphActiveVersion" } + "schema": { + "$ref": "#/components/schemas/SetGraphActiveVersion" + } } } }, "responses": { "200": { "description": "Successful Response", - "content": { "application/json": { "schema": {} } } + "content": { + "application/json": { + "schema": {} + } + } }, "401": { "$ref": "#/components/responses/HTTP401NotAuthenticatedError" @@ -3566,7 +4600,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -3578,20 +4614,34 @@ "tags": ["v1", "graphs"], "summary": "Get graph version", "operationId": "getV1Get graph version", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "graph_id", "in": "path", "required": true, - "schema": { "type": "string", "title": "Graph Id" } + "schema": { + "type": "string", + "title": "Graph Id" + } }, { "name": "version", "in": "path", "required": true, "schema": { - "anyOf": [{ "type": "integer" }, { "type": "null" }], + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], "title": "Version" } }, @@ -3611,7 +4661,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/GraphModel" } + "schema": { + "$ref": "#/components/schemas/GraphModel" + } } } }, @@ -3622,7 +4674,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -3640,7 +4694,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/AyrshareSSOResponse" } + "schema": { + "$ref": "#/components/schemas/AyrshareSSOResponse" + } } } }, @@ -3648,7 +4704,11 @@ "$ref": "#/components/responses/HTTP401NotAuthenticatedError" } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] } }, "/api/integrations/credentials": { @@ -3675,7 +4735,11 @@ "$ref": "#/components/responses/HTTP401NotAuthenticatedError" } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] } }, "/api/integrations/providers": { @@ -3690,7 +4754,9 @@ "content": { "application/json": { "schema": { - "items": { "type": "string" }, + "items": { + "type": "string" + }, "type": "array", "title": "Response Getv1Listproviders" } @@ -3711,7 +4777,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/ProviderConstants" } + "schema": { + "$ref": "#/components/schemas/ProviderConstants" + } } } } @@ -3770,7 +4838,9 @@ "content": { "application/json": { "schema": { - "items": { "type": "string" }, + "items": { + "type": "string" + }, "type": "array", "title": "Response Getv1Listsystemproviders" } @@ -3785,19 +4855,30 @@ "tags": ["v1", "integrations"], "summary": "Webhook Ping", "operationId": "postV1WebhookPing", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "webhook_id", "in": "path", "required": true, - "schema": { "type": "string", "title": "Our ID for the webhook" } + "schema": { + "type": "string", + "title": "Our ID for the webhook" + } } ], "responses": { "200": { "description": "Successful Response", - "content": { "application/json": { "schema": {} } } + "content": { + "application/json": { + "schema": {} + } + } }, "401": { "$ref": "#/components/responses/HTTP401NotAuthenticatedError" @@ -3806,7 +4887,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -3818,7 +4901,11 @@ "tags": ["v1", "integrations"], "summary": "Exchange OAuth code for tokens", "operationId": "postV1Exchange oauth code for tokens", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "provider", @@ -3859,7 +4946,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -3871,7 +4960,11 @@ "tags": ["v1", "integrations"], "summary": "List Credentials By Provider", "operationId": "getV1ListCredentialsByProvider", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "provider", @@ -3906,7 +4999,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -3916,7 +5011,11 @@ "tags": ["v1", "integrations"], "summary": "Create Credentials", "operationId": "postV1Create credentials", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "provider", @@ -3935,10 +5034,18 @@ "application/json": { "schema": { "oneOf": [ - { "$ref": "#/components/schemas/OAuth2Credentials" }, - { "$ref": "#/components/schemas/APIKeyCredentials" }, - { "$ref": "#/components/schemas/UserPasswordCredentials" }, - { "$ref": "#/components/schemas/HostScopedCredentials" } + { + "$ref": "#/components/schemas/OAuth2Credentials" + }, + { + "$ref": "#/components/schemas/APIKeyCredentials" + }, + { + "$ref": "#/components/schemas/UserPasswordCredentials" + }, + { + "$ref": "#/components/schemas/HostScopedCredentials" + } ], "discriminator": { "propertyName": "type", @@ -3972,7 +5079,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -3984,7 +5093,11 @@ "tags": ["v1", "integrations"], "summary": "Delete Credentials", "operationId": "deleteV1DeleteCredentials", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "provider", @@ -4042,7 +5155,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -4052,7 +5167,11 @@ "tags": ["v1", "integrations"], "summary": "Get Specific Credential By ID", "operationId": "getV1Get specific credential by id", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "provider", @@ -4092,7 +5211,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -4104,7 +5225,11 @@ "tags": ["v1", "integrations"], "summary": "Initiate OAuth flow", "operationId": "getV1Initiate oauth flow", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "provider", @@ -4132,7 +5257,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/LoginResponse" } + "schema": { + "$ref": "#/components/schemas/LoginResponse" + } } } }, @@ -4143,7 +5270,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -4170,19 +5299,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" + } } } } @@ -4195,14 +5333,25 @@ "summary": "List Library Agents", "description": "Get all agents in the user's library (both created and saved).", "operationId": "getV2List library agents", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "search_term", "in": "query", "required": false, "schema": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "description": "Search term to filter agents", "title": "Search Term" }, @@ -4250,7 +5399,14 @@ "in": "query", "required": false, "schema": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "description": "Filter by folder ID", "title": "Folder Id" }, @@ -4287,7 +5443,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -4298,7 +5456,11 @@ "summary": "Add Marketplace Agent", "description": "Add an agent from the marketplace to the user's library.", "operationId": "postV2Add marketplace agent", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "requestBody": { "required": true, "content": { @@ -4314,7 +5476,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/LibraryAgent" } + "schema": { + "$ref": "#/components/schemas/LibraryAgent" + } } } }, @@ -4325,7 +5489,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -4337,20 +5503,34 @@ "tags": ["v2", "library", "private"], "summary": "Get Library Agent By Graph Id", "operationId": "getV2GetLibraryAgentByGraphId", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "graph_id", "in": "path", "required": true, - "schema": { "type": "string", "title": "Graph Id" } + "schema": { + "type": "string", + "title": "Graph Id" + } }, { "name": "version", "in": "query", "required": false, "schema": { - "anyOf": [{ "type": "integer" }, { "type": "null" }], + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], "title": "Version" } } @@ -4360,7 +5540,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/LibraryAgent" } + "schema": { + "$ref": "#/components/schemas/LibraryAgent" + } } } }, @@ -4371,7 +5553,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -4384,7 +5568,11 @@ "summary": "List Favorite Library Agents", "description": "Get all favorite agents in the user's library.", "operationId": "getV2List favorite library agents", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "page", @@ -4431,7 +5619,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -4444,13 +5634,20 @@ "summary": "Get Agent By Store ID", "description": "Get Library Agent from Store Listing Version ID.", "operationId": "getV2Get agent by store id", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "store_listing_version_id", "in": "path", "required": true, - "schema": { "type": "string", "title": "Store Listing Version Id" } + "schema": { + "type": "string", + "title": "Store Listing Version Id" + } } ], "responses": { @@ -4460,8 +5657,12 @@ "application/json": { "schema": { "anyOf": [ - { "$ref": "#/components/schemas/LibraryAgent" }, - { "type": "null" } + { + "$ref": "#/components/schemas/LibraryAgent" + }, + { + "type": "null" + } ], "title": "Response Getv2Get Agent By Store Id" } @@ -4475,7 +5676,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -4488,19 +5691,30 @@ "summary": "Delete Library Agent", "description": "Soft-delete the specified library agent.", "operationId": "deleteV2Delete library agent", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "library_agent_id", "in": "path", "required": true, - "schema": { "type": "string", "title": "Library Agent Id" } + "schema": { + "type": "string", + "title": "Library Agent Id" + } } ], "responses": { "200": { "description": "Successful Response", - "content": { "application/json": { "schema": {} } } + "content": { + "application/json": { + "schema": {} + } + } }, "401": { "$ref": "#/components/responses/HTTP401NotAuthenticatedError" @@ -4509,7 +5723,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -4519,13 +5735,20 @@ "tags": ["v2", "library", "private"], "summary": "Get Library Agent", "operationId": "getV2Get library agent", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "library_agent_id", "in": "path", "required": true, - "schema": { "type": "string", "title": "Library Agent Id" } + "schema": { + "type": "string", + "title": "Library Agent Id" + } } ], "responses": { @@ -4533,7 +5756,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/LibraryAgent" } + "schema": { + "$ref": "#/components/schemas/LibraryAgent" + } } } }, @@ -4544,7 +5769,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -4555,13 +5782,20 @@ "summary": "Update Library Agent", "description": "Update the library agent with the given fields.", "operationId": "patchV2Update library agent", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "library_agent_id", "in": "path", "required": true, - "schema": { "type": "string", "title": "Library Agent Id" } + "schema": { + "type": "string", + "title": "Library Agent Id" + } } ], "requestBody": { @@ -4579,7 +5813,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/LibraryAgent" } + "schema": { + "$ref": "#/components/schemas/LibraryAgent" + } } } }, @@ -4590,7 +5826,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -4602,13 +5840,20 @@ "tags": ["v2", "library", "private"], "summary": "Fork Library Agent", "operationId": "postV2Fork library agent", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "library_agent_id", "in": "path", "required": true, - "schema": { "type": "string", "title": "Library Agent Id" } + "schema": { + "type": "string", + "title": "Library Agent Id" + } } ], "responses": { @@ -4616,7 +5861,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/LibraryAgent" } + "schema": { + "$ref": "#/components/schemas/LibraryAgent" + } } } }, @@ -4627,7 +5874,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -4640,14 +5889,25 @@ "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" }, @@ -4671,7 +5931,9 @@ "description": "List of folders", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/FolderListResponse" } + "schema": { + "$ref": "#/components/schemas/FolderListResponse" + } } } }, @@ -4682,11 +5944,15 @@ "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": { @@ -4694,12 +5960,18 @@ "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" + } } } }, @@ -4708,25 +5980,37 @@ "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" + } } } }, @@ -4739,7 +6023,9 @@ "requestBody": { "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/BulkMoveAgentsRequest" } + "schema": { + "$ref": "#/components/schemas/BulkMoveAgentsRequest" + } } }, "required": true @@ -4750,7 +6036,9 @@ "content": { "application/json": { "schema": { - "items": { "$ref": "#/components/schemas/LibraryAgent" }, + "items": { + "$ref": "#/components/schemas/LibraryAgent" + }, "type": "array", "title": "Response Postv2Bulk Move Agents" } @@ -4760,18 +6048,28 @@ "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": { @@ -4785,16 +6083,24 @@ "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}": { @@ -4803,30 +6109,45 @@ "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": { @@ -4834,13 +6155,20 @@ "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": { @@ -4848,23 +6176,31 @@ "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": { @@ -4872,20 +6208,29 @@ "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" + } } } }, @@ -4894,25 +6239,37 @@ "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" + } } } }, @@ -4922,20 +6279,29 @@ "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" + } } } }, @@ -4944,25 +6310,37 @@ "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" + } } } }, @@ -4972,7 +6350,11 @@ "summary": "List presets", "description": "Retrieve a paginated list of presets for the current user.", "operationId": "getV2List presets", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "page", @@ -5001,7 +6383,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" }, @@ -5026,7 +6415,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -5037,7 +6428,11 @@ "summary": "Create a new preset", "description": "Create a new preset for the current user.", "operationId": "postV2Create a new preset", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "requestBody": { "required": true, "content": { @@ -5061,7 +6456,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/LibraryAgentPreset" } + "schema": { + "$ref": "#/components/schemas/LibraryAgentPreset" + } } } }, @@ -5072,7 +6469,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -5100,7 +6499,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/LibraryAgentPreset" } + "schema": { + "$ref": "#/components/schemas/LibraryAgentPreset" + } } } }, @@ -5111,12 +6512,18 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] } }, "/api/library/presets/{preset_id}": { @@ -5125,17 +6532,26 @@ "summary": "Delete a preset", "description": "Delete an existing preset by its ID.", "operationId": "deleteV2Delete a preset", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "preset_id", "in": "path", "required": true, - "schema": { "type": "string", "title": "Preset Id" } + "schema": { + "type": "string", + "title": "Preset Id" + } } ], "responses": { - "204": { "description": "Successful Response" }, + "204": { + "description": "Successful Response" + }, "401": { "$ref": "#/components/responses/HTTP401NotAuthenticatedError" }, @@ -5143,7 +6559,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -5154,13 +6572,20 @@ "summary": "Get a specific preset", "description": "Retrieve details for a specific preset by its ID.", "operationId": "getV2Get a specific preset", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "preset_id", "in": "path", "required": true, - "schema": { "type": "string", "title": "Preset Id" } + "schema": { + "type": "string", + "title": "Preset Id" + } } ], "responses": { @@ -5168,7 +6593,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/LibraryAgentPreset" } + "schema": { + "$ref": "#/components/schemas/LibraryAgentPreset" + } } } }, @@ -5179,7 +6606,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -5190,13 +6619,20 @@ "summary": "Update an existing preset", "description": "Update an existing preset by its ID.", "operationId": "patchV2Update an existing preset", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "preset_id", "in": "path", "required": true, - "schema": { "type": "string", "title": "Preset Id" } + "schema": { + "type": "string", + "title": "Preset Id" + } } ], "requestBody": { @@ -5214,7 +6650,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/LibraryAgentPreset" } + "schema": { + "$ref": "#/components/schemas/LibraryAgentPreset" + } } } }, @@ -5225,7 +6663,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -5238,13 +6678,20 @@ "summary": "Execute a preset", "description": "Execute a preset with the given graph and node input for the current user.", "operationId": "postV2Execute a preset", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "preset_id", "in": "path", "required": true, - "schema": { "type": "string", "title": "Preset Id" } + "schema": { + "type": "string", + "title": "Preset Id" + } } ], "requestBody": { @@ -5261,7 +6708,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/GraphExecutionMeta" } + "schema": { + "$ref": "#/components/schemas/GraphExecutionMeta" + } } } }, @@ -5272,7 +6721,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -5283,12 +6734,14 @@ "post": { "tags": ["v2", "mcp", "mcp"], "summary": "Discover available tools on an MCP server", - "description": "Connect to an MCP server and return its available tools.\n\nIf the user has a stored MCP credential for this server URL, it will be\nused automatically — no need to pass an explicit auth token.", + "description": "Connect to an MCP server and return its available tools.\n\nIf the user has a stored MCP credential for this server URL, it will be\nused automatically \u2014 no need to pass an explicit auth token.", "operationId": "postV2Discover available tools on an mcp server", "requestBody": { "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/DiscoverToolsRequest" } + "schema": { + "$ref": "#/components/schemas/DiscoverToolsRequest" + } } }, "required": true @@ -5311,12 +6764,18 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] } }, "/api/mcp/oauth/callback": { @@ -5353,12 +6812,18 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] } }, "/api/mcp/oauth/login": { @@ -5370,7 +6835,9 @@ "requestBody": { "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/MCPOAuthLoginRequest" } + "schema": { + "$ref": "#/components/schemas/MCPOAuthLoginRequest" + } } }, "required": true @@ -5393,12 +6860,18 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] } }, "/api/mcp/token": { @@ -5410,7 +6883,9 @@ "requestBody": { "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/MCPStoreTokenRequest" } + "schema": { + "$ref": "#/components/schemas/MCPStoreTokenRequest" + } } }, "required": true @@ -5433,12 +6908,18 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] } }, "/api/oauth/app/{client_id}": { @@ -5447,13 +6928,20 @@ "summary": "Get Oauth App Info", "description": "Get public information about an OAuth application.\n\nThis endpoint is used by the consent screen to display application details\nto the user before they authorize access.\n\nReturns:\n- name: Application name\n- description: Application description (if provided)\n- scopes: List of scopes the application is allowed to request", "operationId": "getOauthGetOauthAppInfo", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "client_id", "in": "path", "required": true, - "schema": { "type": "string", "title": "Client Id" } + "schema": { + "type": "string", + "title": "Client Id" + } } ], "responses": { @@ -5470,12 +6958,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" + } } } } @@ -5507,7 +6999,11 @@ "$ref": "#/components/responses/HTTP401NotAuthenticatedError" } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] } }, "/api/oauth/apps/{app_id}/logo": { @@ -5516,20 +7012,29 @@ "summary": "Update App Logo", "description": "Update the logo URL for an OAuth application.\n\nOnly the application owner can update the logo.\nThe logo should be uploaded first using the media upload endpoint,\nthen this endpoint is called with the resulting URL.\n\nLogo requirements:\n- Must be square (1:1 aspect ratio)\n- Minimum 512x512 pixels\n- Maximum 2048x2048 pixels\n\nReturns the updated application info.", "operationId": "patchOauthUpdateAppLogo", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "app_id", "in": "path", "required": true, - "schema": { "type": "string", "title": "App Id" } + "schema": { + "type": "string", + "title": "App Id" + } } ], "requestBody": { "required": true, "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/UpdateAppLogoRequest" } + "schema": { + "$ref": "#/components/schemas/UpdateAppLogoRequest" + } } } }, @@ -5551,7 +7056,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -5564,13 +7071,20 @@ "summary": "Upload App Logo", "description": "Upload a logo image for an OAuth application.\n\nRequirements:\n- Image must be square (1:1 aspect ratio)\n- Minimum 512x512 pixels\n- Maximum 2048x2048 pixels\n- Allowed formats: JPEG, PNG, WebP\n- Maximum file size: 3MB\n\nThe image is uploaded to cloud storage and the app's logoUrl is updated.\nReturns the updated application info.", "operationId": "postOauthUploadAppLogo", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "app_id", "in": "path", "required": true, - "schema": { "type": "string", "title": "App Id" } + "schema": { + "type": "string", + "title": "App Id" + } } ], "requestBody": { @@ -5601,7 +7115,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -5614,13 +7130,20 @@ "summary": "Update App Status", "description": "Enable or disable an OAuth application.\n\nOnly the application owner can update the status.\nWhen disabled, the application cannot be used for new authorizations\nand existing access tokens will fail validation.\n\nReturns the updated application info.", "operationId": "patchOauthUpdateAppStatus", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "app_id", "in": "path", "required": true, - "schema": { "type": "string", "title": "App Id" } + "schema": { + "type": "string", + "title": "App Id" + } } ], "requestBody": { @@ -5651,7 +7174,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -5667,7 +7192,9 @@ "requestBody": { "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/AuthorizeRequest" } + "schema": { + "$ref": "#/components/schemas/AuthorizeRequest" + } } }, "required": true @@ -5677,7 +7204,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/AuthorizeResponse" } + "schema": { + "$ref": "#/components/schemas/AuthorizeResponse" + } } } }, @@ -5688,12 +7217,18 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] } }, "/api/oauth/introspect": { @@ -5727,7 +7262,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -5743,7 +7280,9 @@ "requestBody": { "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/Body_postOauthRevoke" } + "schema": { + "$ref": "#/components/schemas/Body_postOauthRevoke" + } } }, "required": true @@ -5751,13 +7290,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" + } } } } @@ -5775,8 +7320,12 @@ "application/json": { "schema": { "anyOf": [ - { "$ref": "#/components/schemas/TokenRequestByCode" }, - { "$ref": "#/components/schemas/TokenRequestByRefreshToken" } + { + "$ref": "#/components/schemas/TokenRequestByCode" + }, + { + "$ref": "#/components/schemas/TokenRequestByRefreshToken" + } ], "title": "Request" } @@ -5789,7 +7338,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/TokenResponse" } + "schema": { + "$ref": "#/components/schemas/TokenResponse" + } } } }, @@ -5797,7 +7348,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -5814,7 +7367,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/UserOnboarding" } + "schema": { + "$ref": "#/components/schemas/UserOnboarding" + } } } }, @@ -5822,7 +7377,11 @@ "$ref": "#/components/responses/HTTP401NotAuthenticatedError" } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] }, "patch": { "tags": ["v1", "onboarding"], @@ -5831,7 +7390,9 @@ "requestBody": { "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/UserOnboardingUpdate" } + "schema": { + "$ref": "#/components/schemas/UserOnboardingUpdate" + } } }, "required": true @@ -5841,7 +7402,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/UserOnboarding" } + "schema": { + "$ref": "#/components/schemas/UserOnboarding" + } } } }, @@ -5852,12 +7415,18 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] } }, "/api/onboarding/agents": { @@ -5871,7 +7440,9 @@ "content": { "application/json": { "schema": { - "items": { "$ref": "#/components/schemas/StoreAgentDetails" }, + "items": { + "$ref": "#/components/schemas/StoreAgentDetails" + }, "type": "array", "title": "Response Getv1Recommended Onboarding Agents" } @@ -5882,7 +7453,11 @@ "$ref": "#/components/responses/HTTP401NotAuthenticatedError" } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] } }, "/api/onboarding/completed": { @@ -5905,7 +7480,11 @@ "$ref": "#/components/responses/HTTP401NotAuthenticatedError" } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] } }, "/api/onboarding/profile": { @@ -5926,7 +7505,11 @@ "responses": { "200": { "description": "Successful Response", - "content": { "application/json": { "schema": {} } } + "content": { + "application/json": { + "schema": {} + } + } }, "401": { "$ref": "#/components/responses/HTTP401NotAuthenticatedError" @@ -5935,12 +7518,18 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] } }, "/api/onboarding/reset": { @@ -5953,7 +7542,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/UserOnboarding" } + "schema": { + "$ref": "#/components/schemas/UserOnboarding" + } } } }, @@ -5961,7 +7552,11 @@ "$ref": "#/components/responses/HTTP401NotAuthenticatedError" } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] } }, "/api/onboarding/step": { @@ -5969,7 +7564,11 @@ "tags": ["v1", "onboarding"], "summary": "Complete onboarding step", "operationId": "postV1Complete onboarding step", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "step", @@ -5996,7 +7595,11 @@ "responses": { "200": { "description": "Successful Response", - "content": { "application/json": { "schema": {} } } + "content": { + "application/json": { + "schema": {} + } + } }, "401": { "$ref": "#/components/responses/HTTP401NotAuthenticatedError" @@ -6005,7 +7608,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -6021,7 +7626,9 @@ "requestBody": { "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/ChatRequest" } + "schema": { + "$ref": "#/components/schemas/ChatRequest" + } } }, "required": true @@ -6031,7 +7638,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/ApiResponse" } + "schema": { + "$ref": "#/components/schemas/ApiResponse" + } } } }, @@ -6042,12 +7651,18 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] } }, "/api/public/shared/{share_token}": { @@ -6083,7 +7698,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -6099,7 +7716,9 @@ "requestBody": { "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/ReviewRequest" } + "schema": { + "$ref": "#/components/schemas/ReviewRequest" + } } }, "required": true @@ -6109,7 +7728,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/ReviewResponse" } + "schema": { + "$ref": "#/components/schemas/ReviewResponse" + } } } }, @@ -6120,12 +7741,18 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] } }, "/api/review/execution/{graph_exec_id}": { @@ -6134,13 +7761,20 @@ "summary": "Get Pending Reviews for Execution", "description": "Get all pending reviews for a specific graph execution.\n\nRetrieves all reviews with status \"WAITING\" for the specified graph execution\nthat belong to the authenticated user. Results are ordered by creation time\n(oldest first) to preserve review order within the execution.\n\nArgs:\n graph_exec_id: ID of the graph execution to get reviews for\n user_id: Authenticated user ID from security dependency\n\nReturns:\n List of pending review objects for the specified execution\n\nRaises:\n HTTPException:\n - 404: If the graph execution doesn't exist or isn't owned by this user\n - 500: If authentication fails or database error occurs\n\nNote:\n Only returns reviews owned by the authenticated user for security.\n Reviews with invalid status are excluded with warning logs.", "operationId": "getV2Get pending reviews for execution", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "graph_exec_id", "in": "path", "required": true, - "schema": { "type": "string", "title": "Graph Exec Id" } + "schema": { + "type": "string", + "title": "Graph Exec Id" + } } ], "responses": { @@ -6161,18 +7795,24 @@ "401": { "$ref": "#/components/responses/HTTP401NotAuthenticatedError" }, - "404": { "description": "Graph execution not found" }, + "404": { + "description": "Graph execution not found" + }, "422": { "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } }, "500": { "description": "Server error", - "content": { "application/json": {} } + "content": { + "application/json": {} + } } } } @@ -6183,7 +7823,11 @@ "summary": "Get Pending Reviews", "description": "Get all pending reviews for the current user.\n\nRetrieves all reviews with status \"WAITING\" that belong to the authenticated user.\nResults are ordered by creation time (newest first).\n\nArgs:\n user_id: Authenticated user ID from security dependency\n\nReturns:\n List of pending review objects with status converted to typed literals\n\nRaises:\n HTTPException: If authentication fails or database error occurs\n\nNote:\n Reviews with invalid status values are logged as warnings but excluded\n from results rather than failing the entire request.", "operationId": "getV2Get pending reviews", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "page", @@ -6235,13 +7879,17 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } }, "500": { "description": "Server error", - "content": { "application/json": {} } + "content": { + "application/json": {} + } } } } @@ -6270,7 +7918,11 @@ "$ref": "#/components/responses/HTTP401NotAuthenticatedError" } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] } }, "/api/schedules/{schedule_id}": { @@ -6278,7 +7930,11 @@ "tags": ["v1", "schedules"], "summary": "Delete execution schedule", "operationId": "deleteV1Delete execution schedule", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "schedule_id", @@ -6312,7 +7968,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -6325,7 +7983,11 @@ "summary": "Get Admin Listings History", "description": "Get store listings with their version history for admins.\n\nThis provides a consolidated view of listings with their versions,\nallowing for an expandable UI in the admin dashboard.\n\nArgs:\n status: Filter by submission status (PENDING, APPROVED, REJECTED)\n search: Search by name, description, or user email\n page: Page number for pagination\n page_size: Number of items per page\n\nReturns:\n Paginated listings with their versions", "operationId": "getV2Get admin listings history", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "status", @@ -6333,8 +7995,12 @@ "required": false, "schema": { "anyOf": [ - { "$ref": "#/components/schemas/SubmissionStatus" }, - { "type": "null" } + { + "$ref": "#/components/schemas/SubmissionStatus" + }, + { + "type": "null" + } ], "title": "Status" } @@ -6344,7 +8010,14 @@ "in": "query", "required": false, "schema": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Search" } }, @@ -6352,13 +8025,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": { @@ -6379,7 +8060,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -6392,7 +8075,11 @@ "summary": "Admin Download Agent File", "description": "Download the agent file by streaming its content.\n\nArgs:\n store_listing_version_id (str): The ID of the agent to download\n\nReturns:\n StreamingResponse: A streaming response containing the agent's graph data.\n\nRaises:\n HTTPException: If the agent is not found or an unexpected error occurs.", "operationId": "getV2Admin download agent file", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "store_listing_version_id", @@ -6409,7 +8096,11 @@ "responses": { "200": { "description": "Successful Response", - "content": { "application/json": { "schema": {} } } + "content": { + "application/json": { + "schema": {} + } + } }, "401": { "$ref": "#/components/responses/HTTP401NotAuthenticatedError" @@ -6418,7 +8109,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -6431,13 +8124,20 @@ "summary": "Admin Add Pending Agent to Library", "description": "Add a pending marketplace agent to the admin's library for review.\nUses admin-level access to bypass marketplace APPROVED-only checks.\n\nThe builder can load the graph because get_graph() checks library\nmembership as a fallback: \"you added it, you keep it.\"", "operationId": "postV2Admin add pending agent to library", - "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": { @@ -6445,7 +8145,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/LibraryAgent" } + "schema": { + "$ref": "#/components/schemas/LibraryAgent" + } } } }, @@ -6456,7 +8158,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -6469,13 +8173,20 @@ "summary": "Admin Preview Submission Listing", "description": "Preview a marketplace submission as it would appear on the listing page.\nBypasses the APPROVED-only StoreAgent view so admins can preview pending\nsubmissions before approving.", "operationId": "getV2Admin preview submission listing", - "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": { @@ -6483,7 +8194,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/StoreAgentDetails" } + "schema": { + "$ref": "#/components/schemas/StoreAgentDetails" + } } } }, @@ -6494,7 +8207,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -6507,13 +8222,20 @@ "summary": "Review Store Submission", "description": "Review a store listing submission.\n\nArgs:\n store_listing_version_id: ID of the submission to review\n request: Review details including approval status and comments\n user_id: Authenticated admin user performing the review\n\nReturns:\n 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": { @@ -6544,7 +8266,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -6575,7 +8299,14 @@ "in": "query", "required": false, "schema": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "description": "Filter agents by creator username", "title": "Creator" }, @@ -6586,7 +8317,14 @@ "in": "query", "required": false, "schema": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "description": "Filter agents by category", "title": "Category" }, @@ -6597,7 +8335,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" }, @@ -6609,8 +8354,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" @@ -6645,7 +8394,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/StoreAgentsResponse" } + "schema": { + "$ref": "#/components/schemas/StoreAgentsResponse" + } } } }, @@ -6653,7 +8404,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -6671,13 +8424,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", @@ -6695,7 +8454,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/StoreAgentDetails" } + "schema": { + "$ref": "#/components/schemas/StoreAgentDetails" + } } } }, @@ -6703,7 +8464,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -6716,26 +8479,38 @@ "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" + } } } }, @@ -6744,7 +8519,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/StoreReview" } + "schema": { + "$ref": "#/components/schemas/StoreReview" + } } } }, @@ -6755,7 +8532,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -6786,7 +8565,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" }, @@ -6798,8 +8584,12 @@ "required": false, "schema": { "anyOf": [ - { "$ref": "#/components/schemas/StoreCreatorsSortOptions" }, - { "type": "null" } + { + "$ref": "#/components/schemas/StoreCreatorsSortOptions" + }, + { + "type": "null" + } ], "title": "Sorted By" } @@ -6832,7 +8622,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/CreatorsResponse" } + "schema": { + "$ref": "#/components/schemas/CreatorsResponse" + } } } }, @@ -6840,7 +8632,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -6858,7 +8652,10 @@ "name": "username", "in": "path", "required": true, - "schema": { "type": "string", "title": "Username" } + "schema": { + "type": "string", + "title": "Username" + } } ], "responses": { @@ -6866,7 +8663,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/CreatorDetails" } + "schema": { + "$ref": "#/components/schemas/CreatorDetails" + } } } }, @@ -6874,7 +8673,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -6886,13 +8687,20 @@ "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": { @@ -6900,7 +8708,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/StoreAgentDetails" } + "schema": { + "$ref": "#/components/schemas/StoreAgentDetails" + } } } }, @@ -6911,7 +8721,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -6924,13 +8736,20 @@ "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": { @@ -6951,7 +8770,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -6969,19 +8790,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" + } } } } @@ -6997,7 +8827,13 @@ "responses": { "200": { "description": "Successful Response", - "content": { "text/plain": { "schema": { "type": "string" } } } + "content": { + "text/plain": { + "schema": { + "type": "string" + } + } + } } } } @@ -7008,7 +8844,11 @@ "summary": "Get my agents", "description": "List the authenticated user's unpublished agents", "operationId": "getV2Get my agents", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "page", @@ -7051,7 +8891,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -7069,7 +8911,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/ProfileDetails" } + "schema": { + "$ref": "#/components/schemas/ProfileDetails" + } } } }, @@ -7077,7 +8921,11 @@ "$ref": "#/components/responses/HTTP401NotAuthenticatedError" } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] }, "post": { "tags": ["v2", "store", "private"], @@ -7087,7 +8935,9 @@ "requestBody": { "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/Profile" } + "schema": { + "$ref": "#/components/schemas/Profile" + } } }, "required": true @@ -7097,7 +8947,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/ProfileDetails" } + "schema": { + "$ref": "#/components/schemas/ProfileDetails" + } } } }, @@ -7108,12 +8960,18 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] } }, "/api/store/search": { @@ -7122,13 +8980,20 @@ "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", @@ -7138,9 +9003,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" @@ -7185,7 +9054,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -7198,7 +9069,11 @@ "summary": "List my submissions", "description": "List the authenticated user's marketplace listing submissions", "operationId": "getV2List my submissions", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "parameters": [ { "name": "page", @@ -7241,7 +9116,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -7252,7 +9129,11 @@ "summary": "Create store submission", "description": "Submit a new marketplace listing for review", "operationId": "postV2Create store submission", - "security": [{ "HTTPBearerJWT": [] }], + "security": [ + { + "HTTPBearerJWT": [] + } + ], "requestBody": { "required": true, "content": { @@ -7268,7 +9149,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/StoreSubmission" } + "schema": { + "$ref": "#/components/schemas/StoreSubmission" + } } } }, @@ -7279,7 +9162,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -7292,13 +9177,20 @@ "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": { @@ -7306,7 +9198,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/ImageURLResponse" } + "schema": { + "$ref": "#/components/schemas/ImageURLResponse" + } } } }, @@ -7317,7 +9211,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -7359,12 +9255,18 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] } }, "/api/store/submissions/{store_listing_version_id}": { @@ -7373,13 +9275,20 @@ "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": { @@ -7397,7 +9306,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/StoreSubmission" } + "schema": { + "$ref": "#/components/schemas/StoreSubmission" + } } } }, @@ -7408,7 +9319,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -7421,13 +9334,20 @@ "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": { @@ -7449,7 +9369,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -7462,14 +9384,25 @@ "summary": "List workspace files", "description": "List files in the user's workspace.\n\nWhen session_id is provided, only files for that session are returned.\nOtherwise, all files across sessions are listed. Results are paginated\nvia `limit`/`offset`; `has_more` indicates whether additional pages exist.", "operationId": "listWorkspaceFiles", - "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" } }, @@ -7502,7 +9435,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/ListFilesResponse" } + "schema": { + "$ref": "#/components/schemas/ListFilesResponse" + } } } }, @@ -7513,7 +9448,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -7526,14 +9463,25 @@ "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": "uploadWorkspaceFile", - "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" } }, @@ -7576,7 +9524,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -7589,13 +9539,20 @@ "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": "deleteWorkspaceFile", - "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": { @@ -7603,7 +9560,9 @@ "description": "Successful Response", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/DeleteFileResponse" } + "schema": { + "$ref": "#/components/schemas/DeleteFileResponse" + } } } }, @@ -7614,7 +9573,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -7627,19 +9588,30 @@ "summary": "Download file by ID", "description": "Download a file by its ID.\n\nReturns the file content directly or redirects to a signed URL for GCS.", "operationId": "getWorkspaceDownloadFileById", - "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" @@ -7648,7 +9620,9 @@ "description": "Validation Error", "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } } } @@ -7676,7 +9650,11 @@ "$ref": "#/components/responses/HTTP401NotAuthenticatedError" } }, - "security": [{ "HTTPBearerJWT": [] }] + "security": [ + { + "HTTPBearerJWT": [] + } + ] } }, "/health": { @@ -7687,7 +9665,11 @@ "responses": { "200": { "description": "Successful Response", - "content": { "application/json": { "schema": {} } } + "content": { + "application/json": { + "schema": {} + } + } } } } @@ -7697,10 +9679,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" }, "is_managed": { @@ -7726,7 +9721,14 @@ "writeOnly": true }, "expires_at": { - "anyOf": [{ "type": "integer" }, { "type": "null" }], + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], "title": "Expires At", "description": "Unix timestamp (seconds) indicating when the API key expires (if at all)" } @@ -7737,9 +9739,14 @@ }, "APIKeyInfo": { "properties": { - "user_id": { "type": "string", "title": "User Id" }, + "user_id": { + "type": "string", + "title": "User Id" + }, "scopes": { - "items": { "$ref": "#/components/schemas/APIKeyPermission" }, + "items": { + "$ref": "#/components/schemas/APIKeyPermission" + }, "type": "array", "title": "Scopes" }, @@ -7756,27 +9763,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", @@ -7787,9 +9815,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" } }, @@ -7831,14 +9868,33 @@ }, "AccuracyAlertData": { "properties": { - "graph_id": { "type": "string", "title": "Graph Id" }, + "graph_id": { + "type": "string", + "title": "Graph Id" + }, "user_id": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "User Id" }, - "drop_percent": { "type": "number", "title": "Drop Percent" }, - "three_day_avg": { "type": "number", "title": "Three Day Avg" }, - "seven_day_avg": { "type": "number", "title": "Seven Day Avg" }, + "drop_percent": { + "type": "number", + "title": "Drop Percent" + }, + "three_day_avg": { + "type": "number", + "title": "Three Day Avg" + }, + "seven_day_avg": { + "type": "number", + "title": "Seven Day Avg" + }, "detected_at": { "type": "string", "format": "date-time", @@ -7859,21 +9915,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" } }, @@ -7890,20 +9978,30 @@ }, "AccuracyTrendsResponse": { "properties": { - "latest_data": { "$ref": "#/components/schemas/AccuracyLatestData" }, + "latest_data": { + "$ref": "#/components/schemas/AccuracyLatestData" + }, "alert": { "anyOf": [ - { "$ref": "#/components/schemas/AccuracyAlertData" }, - { "type": "null" } + { + "$ref": "#/components/schemas/AccuracyAlertData" + }, + { + "type": "null" + } ] }, "historical_data": { "anyOf": [ { - "items": { "$ref": "#/components/schemas/AccuracyLatestData" }, + "items": { + "$ref": "#/components/schemas/AccuracyLatestData" + }, "type": "array" }, - { "type": "null" } + { + "type": "null" + } ], "title": "Historical Data" } @@ -7915,8 +10013,14 @@ }, "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"], @@ -7925,8 +10029,14 @@ }, "AddUserCreditsResponse": { "properties": { - "new_balance": { "type": "integer", "title": "New Balance" }, - "transaction_key": { "type": "string", "title": "Transaction Key" } + "new_balance": { + "type": "integer", + "title": "New Balance" + }, + "transaction_key": { + "type": "string", + "title": "Transaction Key" + } }, "type": "object", "required": ["new_balance", "transaction_key"], @@ -7934,9 +10044,18 @@ }, "AgentDetails": { "properties": { - "id": { "type": "string", "title": "Id" }, - "name": { "type": "string", "title": "Name" }, - "description": { "type": "string", "title": "Description" }, + "id": { + "type": "string", + "title": "Id" + }, + "name": { + "type": "string", + "title": "Name" + }, + "description": { + "type": "string", + "title": "Description" + }, "in_library": { "type": "boolean", "title": "In Library", @@ -7949,7 +10068,9 @@ "default": {} }, "credentials": { - "items": { "$ref": "#/components/schemas/CredentialsMetaInput" }, + "items": { + "$ref": "#/components/schemas/CredentialsMetaInput" + }, "type": "array", "title": "Credentials", "default": [] @@ -7959,8 +10080,13 @@ }, "trigger_info": { "anyOf": [ - { "additionalProperties": true, "type": "object" }, - { "type": "null" } + { + "additionalProperties": true, + "type": "object" + }, + { + "type": "null" + } ], "title": "Trigger Info" } @@ -7976,23 +10102,49 @@ "$ref": "#/components/schemas/ResponseType", "default": "agent_details" }, - "message": { "type": "string", "title": "Message" }, + "message": { + "type": "string", + "title": "Message" + }, "session_id": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Session Id" }, - "agent": { "$ref": "#/components/schemas/AgentDetails" }, + "agent": { + "$ref": "#/components/schemas/AgentDetails" + }, "user_authenticated": { "type": "boolean", "title": "User Authenticated", "default": false }, "graph_id": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Graph Id" }, "graph_version": { - "anyOf": [{ "type": "integer" }, { "type": "null" }], + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], "title": "Graph Version" } }, @@ -8016,9 +10168,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", @@ -8030,77 +10191,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" }, "graph": { "anyOf": [ - { "$ref": "#/components/schemas/BaseGraph-Output" }, - { "type": "null" } + { + "$ref": "#/components/schemas/BaseGraph-Output" + }, + { + "type": "null" + } ], "description": "Full graph structure (nodes + links) when include_graph is requested" } @@ -8116,34 +10373,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" }, @@ -8164,9 +10460,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": { @@ -8174,9 +10480,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", @@ -8200,19 +10515,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": [ @@ -8232,9 +10569,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": { @@ -8243,11 +10590,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", @@ -8261,13 +10613,21 @@ }, "ApiResponse": { "properties": { - "answer": { "type": "string", "title": "Answer" }, + "answer": { + "type": "string", + "title": "Answer" + }, "documents": { - "items": { "$ref": "#/components/schemas/Document" }, + "items": { + "$ref": "#/components/schemas/Document" + }, "type": "array", "title": "Documents" }, - "success": { "type": "boolean", "title": "Success" } + "success": { + "type": "boolean", + "title": "Success" + } }, "type": "object", "required": ["answer", "documents", "success"], @@ -8286,7 +10646,9 @@ "description": "Redirect URI" }, "scopes": { - "items": { "type": "string" }, + "items": { + "type": "string" + }, "type": "array", "title": "Scopes", "description": "List of scopes" @@ -8341,8 +10703,14 @@ }, "AutoTopUpConfig": { "properties": { - "amount": { "type": "integer", "title": "Amount" }, - "threshold": { "type": "integer", "title": "Threshold" } + "amount": { + "type": "integer", + "title": "Amount" + }, + "threshold": { + "type": "integer", + "title": "Threshold" + } }, "type": "object", "required": ["amount", "threshold"], @@ -8368,38 +10736,83 @@ }, "BaseGraph-Input": { "properties": { - "id": { "type": "string", "title": "Id" }, - "version": { "type": "integer", "title": "Version", "default": 1 }, + "id": { + "type": "string", + "title": "Id" + }, + "version": { + "type": "integer", + "title": "Version", + "default": 1 + }, "is_active": { "type": "boolean", "title": "Is Active", "default": true }, - "name": { "type": "string", "title": "Name" }, - "description": { "type": "string", "title": "Description" }, + "name": { + "type": "string", + "title": "Name" + }, + "description": { + "type": "string", + "title": "Description" + }, "instructions": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Instructions" }, "recommended_schedule_cron": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Recommended Schedule Cron" }, "forked_from_id": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Forked From Id" }, "forked_from_version": { - "anyOf": [{ "type": "integer" }, { "type": "null" }], + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], "title": "Forked From Version" }, "nodes": { - "items": { "$ref": "#/components/schemas/Node" }, + "items": { + "$ref": "#/components/schemas/Node" + }, "type": "array", "title": "Nodes" }, "links": { - "items": { "$ref": "#/components/schemas/Link" }, + "items": { + "$ref": "#/components/schemas/Link" + }, "type": "array", "title": "Links" } @@ -8411,38 +10824,83 @@ }, "BaseGraph-Output": { "properties": { - "id": { "type": "string", "title": "Id" }, - "version": { "type": "integer", "title": "Version", "default": 1 }, + "id": { + "type": "string", + "title": "Id" + }, + "version": { + "type": "integer", + "title": "Version", + "default": 1 + }, "is_active": { "type": "boolean", "title": "Is Active", "default": true }, - "name": { "type": "string", "title": "Name" }, - "description": { "type": "string", "title": "Description" }, + "name": { + "type": "string", + "title": "Name" + }, + "description": { + "type": "string", + "title": "Description" + }, "instructions": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Instructions" }, "recommended_schedule_cron": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Recommended Schedule Cron" }, "forked_from_id": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Forked From Id" }, "forked_from_version": { - "anyOf": [{ "type": "integer" }, { "type": "null" }], + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], "title": "Forked From Version" }, "nodes": { - "items": { "$ref": "#/components/schemas/Node" }, + "items": { + "$ref": "#/components/schemas/Node" + }, "type": "array", "title": "Nodes" }, "links": { - "items": { "$ref": "#/components/schemas/Link" }, + "items": { + "$ref": "#/components/schemas/Link" + }, "type": "array", "title": "Links" }, @@ -8475,8 +10933,12 @@ }, "trigger_setup_info": { "anyOf": [ - { "$ref": "#/components/schemas/GraphTriggerInfo" }, - { "type": "null" } + { + "$ref": "#/components/schemas/GraphTriggerInfo" + }, + { + "type": "null" + } ], "readOnly": true } @@ -8497,10 +10959,18 @@ }, "BlockCategoryResponse": { "properties": { - "name": { "type": "string", "title": "Name" }, - "total_blocks": { "type": "integer", "title": "Total Blocks" }, + "name": { + "type": "string", + "title": "Name" + }, + "total_blocks": { + "type": "integer", + "title": "Total Blocks" + }, "blocks": { - "items": { "$ref": "#/components/schemas/BlockInfo" }, + "items": { + "$ref": "#/components/schemas/BlockInfo" + }, "type": "array", "title": "Blocks" } @@ -8511,13 +10981,18 @@ }, "BlockCost": { "properties": { - "cost_amount": { "type": "integer", "title": "Cost Amount" }, + "cost_amount": { + "type": "integer", + "title": "Cost Amount" + }, "cost_filter": { "additionalProperties": true, "type": "object", "title": "Cost Filter" }, - "cost_type": { "$ref": "#/components/schemas/BlockCostType" } + "cost_type": { + "$ref": "#/components/schemas/BlockCostType" + } }, "type": "object", "required": ["cost_amount", "cost_filter", "cost_type"], @@ -8530,9 +11005,18 @@ }, "BlockDetails": { "properties": { - "id": { "type": "string", "title": "Id" }, - "name": { "type": "string", "title": "Name" }, - "description": { "type": "string", "title": "Description" }, + "id": { + "type": "string", + "title": "Id" + }, + "name": { + "type": "string", + "title": "Name" + }, + "description": { + "type": "string", + "title": "Description" + }, "inputs": { "additionalProperties": true, "type": "object", @@ -8546,7 +11030,9 @@ "default": {} }, "credentials": { - "items": { "$ref": "#/components/schemas/CredentialsMetaInput" }, + "items": { + "$ref": "#/components/schemas/CredentialsMetaInput" + }, "type": "array", "title": "Credentials", "default": [] @@ -8563,12 +11049,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", @@ -8582,8 +11080,14 @@ }, "BlockInfo": { "properties": { - "id": { "type": "string", "title": "Id" }, - "name": { "type": "string", "title": "Name" }, + "id": { + "type": "string", + "title": "Id" + }, + "name": { + "type": "string", + "title": "Name" + }, "inputSchema": { "additionalProperties": true, "type": "object", @@ -8595,26 +11099,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": [ @@ -8633,11 +11153,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" }, @@ -8660,7 +11191,9 @@ "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" @@ -8673,8 +11206,14 @@ }, "BlockInputFieldInfo": { "properties": { - "name": { "type": "string", "title": "Name" }, - "type": { "type": "string", "title": "Type" }, + "name": { + "type": "string", + "title": "Name" + }, + "type": { + "type": "string", + "title": "Type" + }, "description": { "type": "string", "title": "Description", @@ -8685,7 +11224,15 @@ "title": "Required", "default": false }, - "default": { "anyOf": [{}, { "type": "null" }], "title": "Default" } + "default": { + "anyOf": [ + {}, + { + "type": "null" + } + ], + "title": "Default" + } }, "type": "object", "required": ["name", "type"], @@ -8698,18 +11245,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", @@ -8727,21 +11292,51 @@ "$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 + }, "is_dry_run": { - "anyOf": [{ "type": "boolean" }, { "type": "null" }], + "anyOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ], "title": "Is Dry Run" } }, @@ -8753,11 +11348,15 @@ "BlockResponse": { "properties": { "blocks": { - "items": { "$ref": "#/components/schemas/BlockInfo" }, + "items": { + "$ref": "#/components/schemas/BlockInfo" + }, "type": "array", "title": "Blocks" }, - "pagination": { "$ref": "#/components/schemas/Pagination" } + "pagination": { + "$ref": "#/components/schemas/Pagination" + } }, "type": "object", "required": ["blocks", "pagination"], @@ -8777,7 +11376,10 @@ }, "Body_postAnalyticsLogRawAnalytics": { "properties": { - "type": { "type": "string", "title": "Type" }, + "type": { + "type": "string", + "title": "Type" + }, "data": { "additionalProperties": true, "type": "object", @@ -8803,8 +11405,13 @@ }, "token_type_hint": { "anyOf": [ - { "type": "string", "enum": ["access_token", "refresh_token"] }, - { "type": "null" } + { + "type": "string", + "enum": ["access_token", "refresh_token"] + }, + { + "type": "null" + } ], "title": "Token Type Hint", "description": "Hint about token type ('access_token' or 'refresh_token')" @@ -8833,8 +11440,13 @@ }, "token_type_hint": { "anyOf": [ - { "type": "string", "enum": ["access_token", "refresh_token"] }, - { "type": "null" } + { + "type": "string", + "enum": ["access_token", "refresh_token"] + }, + { + "type": "null" + } ], "title": "Token Type Hint", "description": "Hint about token type ('access_token' or 'refresh_token')" @@ -8856,7 +11468,11 @@ }, "Body_postOauthUploadAppLogo": { "properties": { - "file": { "type": "string", "format": "binary", "title": "File" } + "file": { + "type": "string", + "format": "binary", + "title": "File" + } }, "type": "object", "required": ["file"], @@ -8868,7 +11484,10 @@ "type": "string", "title": "Authorization code acquired by user login" }, - "state_token": { "type": "string", "title": "Anti-CSRF nonce" } + "state_token": { + "type": "string", + "title": "Anti-CSRF nonce" + } }, "type": "object", "required": ["code", "state_token"], @@ -8894,18 +11513,28 @@ "type": "string", "enum": ["builder", "library", "onboarding"] }, - { "type": "null" } + { + "type": "null" + } ], "title": "Source" }, - "dry_run": { "type": "boolean", "title": "Dry Run", "default": false } + "dry_run": { + "type": "boolean", + "title": "Dry Run", + "default": false + } }, "type": "object", "title": "Body_postV1Execute graph agent" }, "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"], @@ -8913,9 +11542,18 @@ }, "Body_postV2Add_credits_to_user": { "properties": { - "user_id": { "type": "string", "title": "User Id" }, - "amount": { "type": "integer", "title": "Amount" }, - "comments": { "type": "string", "title": "Comments" } + "user_id": { + "type": "string", + "title": "User Id" + }, + "amount": { + "type": "integer", + "title": "Amount" + }, + "comments": { + "type": "string", + "title": "Comments" + } }, "type": "object", "required": ["user_id", "amount", "comments"], @@ -8958,7 +11596,10 @@ }, "Body_postV2Reset_user_rate_limit_usage": { "properties": { - "user_id": { "type": "string", "title": "User Id" }, + "user_id": { + "type": "string", + "title": "User Id" + }, "reset_weekly": { "type": "boolean", "title": "Reset Weekly", @@ -8971,7 +11612,11 @@ }, "Body_postV2Upload_submission_media": { "properties": { - "file": { "type": "string", "format": "binary", "title": "File" } + "file": { + "type": "string", + "format": "binary", + "title": "File" + } }, "type": "object", "required": ["file"], @@ -8979,7 +11624,11 @@ }, "Body_uploadWorkspaceFile": { "properties": { - "file": { "type": "string", "format": "binary", "title": "File" } + "file": { + "type": "string", + "format": "binary", + "title": "File" + } }, "type": "object", "required": ["file"], @@ -8988,12 +11637,21 @@ "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" } }, @@ -9004,9 +11662,19 @@ }, "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" } }, @@ -9017,9 +11685,19 @@ }, "ChangelogEntry": { "properties": { - "version": { "type": "string", "title": "Version" }, - "changes_summary": { "type": "string", "title": "Changes Summary" }, - "date": { "type": "string", "format": "date-time", "title": "Date" } + "version": { + "type": "string", + "title": "Version" + }, + "changes_summary": { + "type": "string", + "title": "Changes Summary" + }, + "date": { + "type": "string", + "format": "date-time", + "title": "Date" + } }, "type": "object", "required": ["version", "changes_summary", "date"], @@ -9027,20 +11705,35 @@ }, "ChatRequest": { "properties": { - "query": { "type": "string", "title": "Query" }, + "query": { + "type": "string", + "title": "Query" + }, "conversation_history": { - "items": { "$ref": "#/components/schemas/Message" }, + "items": { + "$ref": "#/components/schemas/Message" + }, "type": "array", "title": "Conversation History" }, - "message_id": { "type": "string", "title": "Message Id" }, + "message_id": { + "type": "string", + "title": "Message Id" + }, "include_graph_data": { "type": "boolean", "title": "Include Graph Data", "default": false }, "graph_id": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Graph Id" } }, @@ -9050,11 +11743,15 @@ }, "ChatSessionMetadata": { "properties": { - "dry_run": { "type": "boolean", "title": "Dry Run", "default": false } + "dry_run": { + "type": "boolean", + "title": "Dry Run", + "default": false + } }, "type": "object", "title": "ChatSessionMetadata", - "description": "Typed metadata stored in the ``metadata`` JSON column of ChatSession.\n\nAdd new session-level flags here instead of adding DB columns —\nno migration required for new fields as long as a default is provided." + "description": "Typed metadata stored in the ``metadata`` JSON column of ChatSession.\n\nAdd new session-level flags here instead of adding DB columns \u2014\nno migration required for new fields as long as a default is provided." }, "ClarificationNeededResponse": { "properties": { @@ -9062,13 +11759,25 @@ "$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" } @@ -9080,10 +11789,23 @@ }, "ClarifyingQuestion": { "properties": { - "question": { "type": "string", "title": "Question" }, - "keyword": { "type": "string", "title": "Keyword" }, + "question": { + "type": "string", + "title": "Question" + }, + "keyword": { + "type": "string", + "title": "Keyword" + }, "example": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Example" } }, @@ -9094,8 +11816,12 @@ }, "CoPilotUsageStatus": { "properties": { - "daily": { "$ref": "#/components/schemas/UsageWindow" }, - "weekly": { "$ref": "#/components/schemas/UsageWindow" }, + "daily": { + "$ref": "#/components/schemas/UsageWindow" + }, + "weekly": { + "$ref": "#/components/schemas/UsageWindow" + }, "tier": { "$ref": "#/components/schemas/SubscriptionTier", "default": "FREE" @@ -9123,62 +11849,170 @@ ], "title": "ContentType" }, + "CostBucket": { + "properties": { + "bucket": { + "type": "string", + "title": "Bucket" + }, + "count": { + "type": "integer", + "title": "Count" + } + }, + "type": "object", + "required": ["bucket", "count"], + "title": "CostBucket" + }, "CostLogRow": { "properties": { - "id": { "type": "string", "title": "Id" }, + "id": { + "type": "string", + "title": "Id" + }, "created_at": { "type": "string", "format": "date-time", "title": "Created At" }, "user_id": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "User Id" }, "email": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Email" }, "graph_exec_id": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Graph Exec Id" }, "node_exec_id": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Node Exec Id" }, - "block_name": { "type": "string", "title": "Block Name" }, - "provider": { "type": "string", "title": "Provider" }, + "block_name": { + "type": "string", + "title": "Block Name" + }, + "provider": { + "type": "string", + "title": "Provider" + }, "tracking_type": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Tracking Type" }, "cost_microdollars": { - "anyOf": [{ "type": "integer" }, { "type": "null" }], + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], "title": "Cost Microdollars" }, "input_tokens": { - "anyOf": [{ "type": "integer" }, { "type": "null" }], + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], "title": "Input Tokens" }, "output_tokens": { - "anyOf": [{ "type": "integer" }, { "type": "null" }], + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], "title": "Output Tokens" }, "duration": { - "anyOf": [{ "type": "number" }, { "type": "null" }], + "anyOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ], "title": "Duration" }, "model": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Model" }, "cache_read_tokens": { - "anyOf": [{ "type": "integer" }, { "type": "null" }], + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], "title": "Cache Read Tokens" }, "cache_creation_tokens": { - "anyOf": [{ "type": "integer" }, { "type": "null" }], + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], "title": "Cache Creation Tokens" } }, @@ -9188,16 +12022,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": [ @@ -9213,14 +12065,26 @@ }, "CreateAPIKeyRequest": { "properties": { - "name": { "type": "string", "title": "Name" }, + "name": { + "type": "string", + "title": "Name" + }, "permissions": { - "items": { "$ref": "#/components/schemas/APIKeyPermission" }, + "items": { + "$ref": "#/components/schemas/APIKeyPermission" + }, "type": "array", "title": "Permissions" }, "description": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Description" } }, @@ -9230,8 +12094,13 @@ }, "CreateAPIKeyResponse": { "properties": { - "api_key": { "$ref": "#/components/schemas/APIKeyInfo" }, - "plain_text_key": { "type": "string", "title": "Plain Text Key" } + "api_key": { + "$ref": "#/components/schemas/APIKeyInfo" + }, + "plain_text_key": { + "type": "string", + "title": "Plain Text Key" + } }, "type": "object", "required": ["api_key", "plain_text_key"], @@ -9239,11 +12108,18 @@ }, "CreateGraph": { "properties": { - "graph": { "$ref": "#/components/schemas/Graph" }, + "graph": { + "$ref": "#/components/schemas/Graph" + }, "source": { "anyOf": [ - { "type": "string", "enum": ["builder", "upload"] }, - { "type": "null" } + { + "type": "string", + "enum": ["builder", "upload"] + }, + { + "type": "null" + } ], "title": "Source" } @@ -9254,24 +12130,43 @@ }, "CreateSessionRequest": { "properties": { - "dry_run": { "type": "boolean", "title": "Dry Run", "default": false } + "dry_run": { + "type": "boolean", + "title": "Dry Run", + "default": false + } }, "additionalProperties": false, "type": "object", "title": "CreateSessionRequest", - "description": "Request model for creating a new chat session.\n\n``dry_run`` is a **top-level** field — do not nest it inside ``metadata``.\nExtra/unknown fields are rejected (422) to prevent silent mis-use." + "description": "Request model for creating a new chat session.\n\n``dry_run`` is a **top-level** field \u2014 do not nest it inside ``metadata``.\nExtra/unknown fields are rejected (422) to prevent silent mis-use." }, "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" }, "metadata": { "$ref": "#/components/schemas/ChatSessionMetadata", - "default": { "dry_run": false } + "default": { + "dry_run": false + } } }, "type": "object", @@ -9281,24 +12176,56 @@ }, "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" } @@ -9322,11 +12249,15 @@ "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"], @@ -9346,7 +12277,10 @@ "title": "Need Confirmation", "default": true }, - "message": { "type": "string", "title": "Message" } + "message": { + "type": "string", + "title": "Message" + } }, "type": "object", "required": ["message"], @@ -9361,7 +12295,14 @@ "default": true }, "revoked": { - "anyOf": [{ "type": "boolean" }, { "type": "null" }], + "anyOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ], "title": "Revoked", "description": "Indicates whether the credentials were also revoked by their provider. `None`/`null` if not applicable, e.g. when deleting non-revocable credentials such as API keys." } @@ -9372,9 +12313,19 @@ }, "CredentialsMetaInput": { "properties": { - "id": { "type": "string", "title": "Id" }, + "id": { + "type": "string", + "title": "Id" + }, "title": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Title" }, "provider": { @@ -9396,30 +12347,64 @@ }, "CredentialsMetaResponse": { "properties": { - "id": { "type": "string", "title": "Id" }, - "provider": { "type": "string", "title": "Provider" }, + "id": { + "type": "string", + "title": "Id" + }, + "provider": { + "type": "string", + "title": "Provider" + }, "type": { "type": "string", "enum": ["api_key", "oauth2", "user_password", "host_scoped"], "title": "Type" }, "title": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Title" }, "scopes": { "anyOf": [ - { "items": { "type": "string" }, "type": "array" }, - { "type": "null" } + { + "items": { + "type": "string" + }, + "type": "array" + }, + { + "type": "null" + } ], "title": "Scopes" }, "username": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Username" }, "host": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Host", "description": "Host pattern for host-scoped or MCP server URL for MCP credentials" }, @@ -9446,14 +12431,22 @@ "title": "CreditTransactionType" }, "DeleteFileResponse": { - "properties": { "deleted": { "type": "boolean", "title": "Deleted" } }, + "properties": { + "deleted": { + "type": "boolean", + "title": "Deleted" + } + }, "type": "object", "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"], @@ -9467,7 +12460,14 @@ "description": "URL of the MCP server" }, "auth_token": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Auth Token", "description": "Optional Bearer token for authenticated MCP servers" } @@ -9480,16 +12480,32 @@ "DiscoverToolsResponse": { "properties": { "tools": { - "items": { "$ref": "#/components/schemas/MCPToolResponse" }, + "items": { + "$ref": "#/components/schemas/MCPToolResponse" + }, "type": "array", "title": "Tools" }, "server_name": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Server Name" }, "protocol_version": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Protocol Version" } }, @@ -9504,16 +12520,42 @@ "$ref": "#/components/schemas/ResponseType", "default": "doc_page" }, - "message": { "type": "string", "title": "Message" }, + "message": { + "type": "string", + "title": "Message" + }, "session_id": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Session Id" }, - "title": { "type": "string", "title": "Title" }, - "path": { "type": "string", "title": "Path" }, - "content": { "type": "string", "title": "Content" }, + "title": { + "type": "string", + "title": "Title" + }, + "path": { + "type": "string", + "title": "Path" + }, + "content": { + "type": "string", + "title": "Content" + }, "doc_url": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Doc Url" } }, @@ -9524,13 +12566,35 @@ }, "DocSearchResult": { "properties": { - "title": { "type": "string", "title": "Title" }, - "path": { "type": "string", "title": "Path" }, - "section": { "type": "string", "title": "Section" }, - "snippet": { "type": "string", "title": "Snippet" }, - "score": { "type": "number", "title": "Score" }, + "title": { + "type": "string", + "title": "Title" + }, + "path": { + "type": "string", + "title": "Path" + }, + "section": { + "type": "string", + "title": "Section" + }, + "snippet": { + "type": "string", + "title": "Snippet" + }, + "score": { + "type": "number", + "title": "Score" + }, "doc_url": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Doc Url" } }, @@ -9545,18 +12609,36 @@ "$ref": "#/components/schemas/ResponseType", "default": "doc_search_results" }, - "message": { "type": "string", "title": "Message" }, + "message": { + "type": "string", + "title": "Message" + }, "session_id": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Session Id" }, "results": { - "items": { "$ref": "#/components/schemas/DocSearchResult" }, + "items": { + "$ref": "#/components/schemas/DocSearchResult" + }, "type": "array", "title": "Results" }, - "count": { "type": "integer", "title": "Count" }, - "query": { "type": "string", "title": "Query" } + "count": { + "type": "integer", + "title": "Count" + }, + "query": { + "type": "string", + "title": "Query" + } }, "type": "object", "required": ["message", "results", "count", "query"], @@ -9565,8 +12647,14 @@ }, "Document": { "properties": { - "url": { "type": "string", "title": "Url" }, - "relevance_score": { "type": "number", "title": "Relevance Score" } + "url": { + "type": "string", + "title": "Url" + }, + "relevance_score": { + "type": "number", + "title": "Relevance Score" + } }, "type": "object", "required": ["url", "relevance_score"], @@ -9578,19 +12666,41 @@ "$ref": "#/components/schemas/ResponseType", "default": "error" }, - "message": { "type": "string", "title": "Message" }, + "message": { + "type": "string", + "title": "Message" + }, "session_id": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Session Id" }, "error": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Error" }, "details": { "anyOf": [ - { "additionalProperties": true, "type": "object" }, - { "type": "null" } + { + "additionalProperties": true, + "type": "object" + }, + { + "type": "null" + } ], "title": "Details" } @@ -9603,7 +12713,9 @@ "ExecutionAnalyticsConfig": { "properties": { "available_models": { - "items": { "$ref": "#/components/schemas/ModelInfo" }, + "items": { + "$ref": "#/components/schemas/ModelInfo" + }, "type": "array", "title": "Available Models" }, @@ -9637,19 +12749,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" @@ -9669,12 +12800,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)" }, @@ -9732,34 +12877,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" } @@ -9778,13 +12969,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", @@ -9792,41 +12991,70 @@ }, "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" }, "node_executions": { "anyOf": [ { - "items": { "additionalProperties": true, "type": "object" }, + "items": { + "additionalProperties": true, + "type": "object" + }, "type": "array" }, - { "type": "null" } + { + "type": "null" + } ], "title": "Node Executions" } @@ -9842,23 +13070,60 @@ "$ref": "#/components/schemas/ResponseType", "default": "execution_started" }, - "message": { "type": "string", "title": "Message" }, + "message": { + "type": "string", + "title": "Message" + }, "session_id": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Session Id" }, - "execution_id": { "type": "string", "title": "Execution Id" }, - "graph_id": { "type": "string", "title": "Graph Id" }, - "graph_name": { "type": "string", "title": "Graph Name" }, + "execution_id": { + "type": "string", + "title": "Execution Id" + }, + "graph_id": { + "type": "string", + "title": "Graph Id" + }, + "graph_name": { + "type": "string", + "title": "Graph Name" + }, "library_agent_id": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Library Agent Id" }, "library_agent_link": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Library Agent Link" }, - "status": { "type": "string", "title": "Status", "default": "QUEUED" } + "status": { + "type": "string", + "title": "Status", + "default": "QUEUED" + } }, "type": "object", "required": ["message", "execution_id", "graph_id", "graph_name"], @@ -9874,19 +13139,38 @@ "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" } }, @@ -9898,11 +13182,15 @@ "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"], @@ -9912,7 +13200,14 @@ "FolderMoveRequest": { "properties": { "target_parent_id": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Target Parent Id" } }, @@ -9923,7 +13218,9 @@ "FolderTreeResponse": { "properties": { "tree": { - "items": { "$ref": "#/components/schemas/LibraryFolderTree" }, + "items": { + "$ref": "#/components/schemas/LibraryFolderTree" + }, "type": "array", "title": "Tree" } @@ -9937,17 +13234,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" } }, @@ -9957,43 +13274,90 @@ }, "Graph": { "properties": { - "id": { "type": "string", "title": "Id" }, - "version": { "type": "integer", "title": "Version", "default": 1 }, + "id": { + "type": "string", + "title": "Id" + }, + "version": { + "type": "integer", + "title": "Version", + "default": 1 + }, "is_active": { "type": "boolean", "title": "Is Active", "default": true }, - "name": { "type": "string", "title": "Name" }, - "description": { "type": "string", "title": "Description" }, + "name": { + "type": "string", + "title": "Name" + }, + "description": { + "type": "string", + "title": "Description" + }, "instructions": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Instructions" }, "recommended_schedule_cron": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Recommended Schedule Cron" }, "forked_from_id": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Forked From Id" }, "forked_from_version": { - "anyOf": [{ "type": "integer" }, { "type": "null" }], + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], "title": "Forked From Version" }, "nodes": { - "items": { "$ref": "#/components/schemas/Node" }, + "items": { + "$ref": "#/components/schemas/Node" + }, "type": "array", "title": "Nodes" }, "links": { - "items": { "$ref": "#/components/schemas/Link" }, + "items": { + "$ref": "#/components/schemas/Link" + }, "type": "array", "title": "Links" }, "sub_graphs": { - "items": { "$ref": "#/components/schemas/BaseGraph-Input" }, + "items": { + "$ref": "#/components/schemas/BaseGraph-Input" + }, "type": "array", "title": "Sub Graphs" } @@ -10005,10 +13369,22 @@ }, "GraphExecution": { "properties": { - "id": { "type": "string", "title": "Id" }, - "user_id": { "type": "string", "title": "User Id" }, - "graph_id": { "type": "string", "title": "Graph Id" }, - "graph_version": { "type": "integer", "title": "Graph Version" }, + "id": { + "type": "string", + "title": "Id" + }, + "user_id": { + "type": "string", + "title": "User Id" + }, + "graph_id": { + "type": "string", + "title": "Graph Id" + }, + "graph_version": { + "type": "integer", + "title": "Graph Version" + }, "inputs": { "additionalProperties": true, "type": "object", @@ -10022,7 +13398,9 @@ }, "type": "object" }, - { "type": "null" } + { + "type": "null" + } ], "title": "Credential Inputs" }, @@ -10035,27 +13413,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)." @@ -10066,7 +13465,14 @@ "default": false }, "share_token": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Share Token" }, "is_dry_run": { @@ -10076,12 +13482,19 @@ }, "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" } @@ -10105,17 +13518,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", @@ -10128,9 +13567,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", @@ -10153,14 +13601,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" }, @@ -10172,7 +13637,9 @@ }, "type": "object" }, - { "type": "null" } + { + "type": "null" + } ], "title": "Credential Inputs" }, @@ -10185,27 +13652,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)." @@ -10216,7 +13704,14 @@ "default": false }, "share_token": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Share Token" }, "is_dry_run": { @@ -10226,8 +13721,12 @@ }, "stats": { "anyOf": [ - { "$ref": "#/components/schemas/Stats" }, - { "type": "null" } + { + "$ref": "#/components/schemas/Stats" + }, + { + "type": "null" + } ] } }, @@ -10248,10 +13747,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", @@ -10265,7 +13776,9 @@ }, "type": "object" }, - { "type": "null" } + { + "type": "null" + } ], "title": "Credential Inputs" }, @@ -10278,27 +13791,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)." @@ -10309,7 +13843,14 @@ "default": false }, "share_token": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Share Token" }, "is_dry_run": { @@ -10319,17 +13860,26 @@ }, "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" } @@ -10354,11 +13904,15 @@ "GraphExecutionsPaginated": { "properties": { "executions": { - "items": { "$ref": "#/components/schemas/GraphExecutionMeta" }, + "items": { + "$ref": "#/components/schemas/GraphExecutionMeta" + }, "type": "array", "title": "Executions" }, - "pagination": { "$ref": "#/components/schemas/Pagination" } + "pagination": { + "$ref": "#/components/schemas/Pagination" + } }, "type": "object", "required": ["executions", "pagination"], @@ -10367,32 +13921,75 @@ }, "GraphMeta": { "properties": { - "id": { "type": "string", "title": "Id" }, - "version": { "type": "integer", "title": "Version" }, + "id": { + "type": "string", + "title": "Id" + }, + "version": { + "type": "integer", + "title": "Version" + }, "is_active": { "type": "boolean", "title": "Is Active", "default": true }, - "name": { "type": "string", "title": "Name" }, - "description": { "type": "string", "title": "Description" }, + "name": { + "type": "string", + "title": "Name" + }, + "description": { + "type": "string", + "title": "Description" + }, "instructions": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Instructions" }, "recommended_schedule_cron": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Recommended Schedule Cron" }, "forked_from_id": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Forked From Id" }, "forked_from_version": { - "anyOf": [{ "type": "integer" }, { "type": "null" }], + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], "title": "Forked From Version" }, - "user_id": { "type": "string", "title": "User Id" }, + "user_id": { + "type": "string", + "title": "User Id" + }, "created_at": { "type": "string", "format": "date-time", @@ -10413,49 +14010,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" }, @@ -10488,8 +14135,12 @@ }, "trigger_setup_info": { "anyOf": [ - { "$ref": "#/components/schemas/GraphTriggerInfo" }, - { "type": "null" } + { + "$ref": "#/components/schemas/GraphTriggerInfo" + }, + { + "type": "null" + } ], "readOnly": true }, @@ -10519,32 +14170,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", @@ -10579,8 +14274,12 @@ }, "trigger_setup_info": { "anyOf": [ - { "$ref": "#/components/schemas/GraphTriggerInfo" }, - { "type": "null" } + { + "$ref": "#/components/schemas/GraphTriggerInfo" + }, + { + "type": "null" + } ], "readOnly": true }, @@ -10638,7 +14337,14 @@ "description": "Input schema for the trigger block" }, "credentials_input_name": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Credentials Input Name" } }, @@ -10649,7 +14355,9 @@ "HTTPValidationError": { "properties": { "detail": { - "items": { "$ref": "#/components/schemas/ValidationError" }, + "items": { + "$ref": "#/components/schemas/ValidationError" + }, "type": "array", "title": "Detail" } @@ -10659,10 +14367,23 @@ }, "HostScopedCredentials": { "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" }, "is_managed": { @@ -10703,7 +14424,10 @@ }, "ImageURLResponse": { "properties": { - "image_url": { "type": "string", "title": "Image Url" } + "image_url": { + "type": "string", + "title": "Image Url" + } }, "type": "object", "required": ["image_url"], @@ -10715,13 +14439,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" @@ -10733,11 +14469,25 @@ "description": "The agent's valid input schema for reference" }, "graph_id": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Graph Id" }, "graph_version": { - "anyOf": [{ "type": "integer" }, { "type": "null" }], + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], "title": "Graph Version" } }, @@ -10748,19 +14498,40 @@ }, "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", @@ -10771,10 +14542,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": { @@ -10789,8 +14573,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" @@ -10812,26 +14601,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" @@ -10845,24 +14657,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" + } ] } }, @@ -10895,8 +14737,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", @@ -10909,19 +14757,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", @@ -10934,8 +14801,12 @@ }, "webhook": { "anyOf": [ - { "$ref": "#/components/schemas/Webhook" }, - { "type": "null" } + { + "$ref": "#/components/schemas/Webhook" + }, + { + "type": "null" + } ] } }, @@ -10958,8 +14829,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", @@ -10972,15 +14849,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" } }, @@ -11002,8 +14892,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", @@ -11018,11 +14914,15 @@ "LibraryAgentPresetResponse": { "properties": { "presets": { - "items": { "$ref": "#/components/schemas/LibraryAgentPreset" }, + "items": { + "$ref": "#/components/schemas/LibraryAgentPreset" + }, "type": "array", "title": "Presets" }, - "pagination": { "$ref": "#/components/schemas/Pagination" } + "pagination": { + "$ref": "#/components/schemas/Pagination" + } }, "type": "object", "required": ["presets", "pagination"], @@ -11033,8 +14933,13 @@ "properties": { "inputs": { "anyOf": [ - { "additionalProperties": true, "type": "object" }, - { "type": "null" } + { + "additionalProperties": true, + "type": "object" + }, + { + "type": "null" + } ], "title": "Inputs" }, @@ -11046,20 +14951,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" } }, @@ -11070,11 +14998,15 @@ "LibraryAgentResponse": { "properties": { "agents": { - "items": { "$ref": "#/components/schemas/LibraryAgent" }, + "items": { + "$ref": "#/components/schemas/LibraryAgent" + }, "type": "array", "title": "Agents" }, - "pagination": { "$ref": "#/components/schemas/Pagination" } + "pagination": { + "$ref": "#/components/schemas/Pagination" + } }, "type": "object", "required": ["agents", "pagination"], @@ -11095,34 +15027,73 @@ "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)" } @@ -11133,19 +15104,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": { @@ -11176,19 +15177,49 @@ }, "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": { @@ -11212,7 +15243,9 @@ "default": 0 }, "children": { - "items": { "$ref": "#/components/schemas/LibraryFolderTree" }, + "items": { + "$ref": "#/components/schemas/LibraryFolderTree" + }, "type": "array", "title": "Children", "default": [] @@ -11225,11 +15258,26 @@ }, "Link": { "properties": { - "id": { "type": "string", "title": "Id" }, - "source_id": { "type": "string", "title": "Source Id" }, - "sink_id": { "type": "string", "title": "Sink Id" }, - "source_name": { "type": "string", "title": "Source Name" }, - "sink_name": { "type": "string", "title": "Sink Name" }, + "id": { + "type": "string", + "title": "Id" + }, + "source_id": { + "type": "string", + "title": "Source Id" + }, + "sink_id": { + "type": "string", + "title": "Sink Id" + }, + "source_name": { + "type": "string", + "title": "Source Name" + }, + "sink_name": { + "type": "string", + "title": "Sink Name" + }, "is_static": { "type": "boolean", "title": "Is Static", @@ -11243,11 +15291,17 @@ "ListFilesResponse": { "properties": { "files": { - "items": { "$ref": "#/components/schemas/WorkspaceFileItem" }, + "items": { + "$ref": "#/components/schemas/WorkspaceFileItem" + }, "type": "array", "title": "Files" }, - "offset": { "type": "integer", "title": "Offset", "default": 0 }, + "offset": { + "type": "integer", + "title": "Offset", + "default": 0 + }, "has_more": { "type": "boolean", "title": "Has More", @@ -11261,11 +15315,16 @@ "ListSessionsResponse": { "properties": { "sessions": { - "items": { "$ref": "#/components/schemas/SessionSummaryResponse" }, + "items": { + "$ref": "#/components/schemas/SessionSummaryResponse" + }, "type": "array", "title": "Sessions" }, - "total": { "type": "integer", "title": "Total" } + "total": { + "type": "integer", + "title": "Total" + } }, "type": "object", "required": ["sessions", "total"], @@ -11279,7 +15338,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, @@ -11292,8 +15354,14 @@ }, "LoginResponse": { "properties": { - "login_url": { "type": "string", "title": "Login Url" }, - "state_token": { "type": "string", "title": "State Token" } + "login_url": { + "type": "string", + "title": "Login Url" + }, + "state_token": { + "type": "string", + "title": "State Token" + } }, "type": "object", "required": ["login_url", "state_token"], @@ -11332,8 +15400,14 @@ }, "MCPOAuthLoginResponse": { "properties": { - "login_url": { "type": "string", "title": "Login Url" }, - "state_token": { "type": "string", "title": "State Token" } + "login_url": { + "type": "string", + "title": "Login Url" + }, + "state_token": { + "type": "string", + "title": "State Token" + } }, "type": "object", "required": ["login_url", "state_token"], @@ -11363,8 +15437,14 @@ }, "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", @@ -11382,15 +15462,37 @@ "$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"], @@ -11399,8 +15501,14 @@ }, "MCPToolResponse": { "properties": { - "name": { "type": "string", "title": "Name" }, - "description": { "type": "string", "title": "Description" }, + "name": { + "type": "string", + "title": "Name" + }, + "description": { + "type": "string", + "title": "Description" + }, "input_schema": { "additionalProperties": true, "type": "object", @@ -11418,14 +15526,29 @@ "$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" } @@ -11437,9 +15560,18 @@ }, "MarketplaceListing": { "properties": { - "id": { "type": "string", "title": "Id" }, - "name": { "type": "string", "title": "Name" }, - "slug": { "type": "string", "title": "Slug" }, + "id": { + "type": "string", + "title": "Id" + }, + "name": { + "type": "string", + "title": "Name" + }, + "slug": { + "type": "string", + "title": "Slug" + }, "creator": { "$ref": "#/components/schemas/MarketplaceListingCreator" } @@ -11451,9 +15583,18 @@ }, "MarketplaceListingCreator": { "properties": { - "name": { "type": "string", "title": "Name" }, - "id": { "type": "string", "title": "Id" }, - "slug": { "type": "string", "title": "Slug" } + "name": { + "type": "string", + "title": "Name" + }, + "id": { + "type": "string", + "title": "Id" + }, + "slug": { + "type": "string", + "title": "Slug" + } }, "type": "object", "required": ["name", "id", "slug"], @@ -11462,8 +15603,14 @@ }, "Message": { "properties": { - "query": { "type": "string", "title": "Query" }, - "response": { "type": "string", "title": "Response" } + "query": { + "type": "string", + "title": "Query" + }, + "response": { + "type": "string", + "title": "Response" + } }, "type": "object", "required": ["query", "response"], @@ -11471,9 +15618,18 @@ }, "ModelInfo": { "properties": { - "value": { "type": "string", "title": "Value" }, - "label": { "type": "string", "title": "Label" }, - "provider": { "type": "string", "title": "Provider" } + "value": { + "type": "string", + "title": "Value" + }, + "label": { + "type": "string", + "title": "Label" + }, + "provider": { + "type": "string", + "title": "Provider" + } }, "type": "object", "required": ["value", "label", "provider"], @@ -11481,21 +15637,47 @@ }, "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" } }, @@ -11512,11 +15694,15 @@ "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"], @@ -11528,15 +15714,30 @@ "$ref": "#/components/schemas/ResponseType", "default": "need_login" }, - "message": { "type": "string", "title": "Message" }, + "message": { + "type": "string", + "title": "Message" + }, "session_id": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Session Id" }, "agent_info": { "anyOf": [ - { "additionalProperties": true, "type": "object" }, - { "type": "null" } + { + "additionalProperties": true, + "type": "object" + }, + { + "type": "null" + } ], "title": "Agent Info" } @@ -11552,18 +15753,34 @@ "$ref": "#/components/schemas/ResponseType", "default": "no_results" }, - "message": { "type": "string", "title": "Message" }, + "message": { + "type": "string", + "title": "Message" + }, "session_id": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Session Id" }, "suggestions": { - "items": { "type": "string" }, + "items": { + "type": "string" + }, "type": "array", "title": "Suggestions", "default": [] }, - "name": { "type": "string", "title": "Name", "default": "no_results" } + "name": { + "type": "string", + "title": "Name", + "default": "no_results" + } }, "type": "object", "required": ["message"], @@ -11572,8 +15789,14 @@ }, "Node": { "properties": { - "id": { "type": "string", "title": "Id" }, - "block_id": { "type": "string", "title": "Block Id" }, + "id": { + "type": "string", + "title": "Id" + }, + "block_id": { + "type": "string", + "title": "Block Id" + }, "input_default": { "additionalProperties": true, "type": "object", @@ -11585,12 +15808,16 @@ "title": "Metadata" }, "input_links": { - "items": { "$ref": "#/components/schemas/Link" }, + "items": { + "$ref": "#/components/schemas/Link" + }, "type": "array", "title": "Input Links" }, "output_links": { - "items": { "$ref": "#/components/schemas/Link" }, + "items": { + "$ref": "#/components/schemas/Link" + }, "type": "array", "title": "Output Links" } @@ -11601,21 +15828,47 @@ }, "NodeExecutionResult": { "properties": { - "user_id": { "type": "string", "title": "User Id" }, - "graph_id": { "type": "string", "title": "Graph Id" }, - "graph_version": { "type": "integer", "title": "Graph Version" }, - "graph_exec_id": { "type": "string", "title": "Graph Exec Id" }, - "node_exec_id": { "type": "string", "title": "Node Exec Id" }, - "node_id": { "type": "string", "title": "Node Id" }, - "block_id": { "type": "string", "title": "Block Id" }, - "status": { "$ref": "#/components/schemas/AgentExecutionStatus" }, + "user_id": { + "type": "string", + "title": "User Id" + }, + "graph_id": { + "type": "string", + "title": "Graph Id" + }, + "graph_version": { + "type": "integer", + "title": "Graph Version" + }, + "graph_exec_id": { + "type": "string", + "title": "Graph Exec Id" + }, + "node_exec_id": { + "type": "string", + "title": "Node Exec Id" + }, + "node_id": { + "type": "string", + "title": "Node Id" + }, + "block_id": { + "type": "string", + "title": "Block Id" + }, + "status": { + "$ref": "#/components/schemas/AgentExecutionStatus" + }, "input_data": { "additionalProperties": true, "type": "object", "title": "Input Data" }, "output_data": { - "additionalProperties": { "items": {}, "type": "array" }, + "additionalProperties": { + "items": {}, + "type": "array" + }, "type": "object", "title": "Output Data" }, @@ -11626,22 +15879,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" } @@ -11667,8 +15935,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", @@ -11680,19 +15954,36 @@ "title": "Metadata" }, "input_links": { - "items": { "$ref": "#/components/schemas/Link" }, + "items": { + "$ref": "#/components/schemas/Link" + }, "type": "array", "title": "Input Links" }, "output_links": { - "items": { "$ref": "#/components/schemas/Link" }, + "items": { + "$ref": "#/components/schemas/Link" + }, "type": "array", "title": "Output Links" }, - "graph_id": { "type": "string", "title": "Graph Id" }, - "graph_version": { "type": "integer", "title": "Graph Version" }, + "graph_id": { + "type": "string", + "title": "Graph Id" + }, + "graph_version": { + "type": "integer", + "title": "Graph Version" + }, "webhook_id": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Webhook Id" } }, @@ -11702,10 +15993,19 @@ }, "NotificationPreference": { "properties": { - "user_id": { "type": "string", "title": "User Id" }, - "email": { "type": "string", "format": "email", "title": "Email" }, + "user_id": { + "type": "string", + "title": "User Id" + }, + "email": { + "type": "string", + "format": "email", + "title": "Email" + }, "preferences": { - "additionalProperties": { "type": "boolean" }, + "additionalProperties": { + "type": "boolean" + }, "propertyNames": { "$ref": "#/components/schemas/NotificationType" }, @@ -11742,7 +16042,9 @@ "description": "User's email address" }, "preferences": { - "additionalProperties": { "type": "boolean" }, + "additionalProperties": { + "type": "boolean" + }, "propertyNames": { "$ref": "#/components/schemas/NotificationType" }, @@ -11780,10 +16082,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" }, "is_managed": { @@ -11803,7 +16118,14 @@ "default": "oauth2" }, "username": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Username" }, "access_token": { @@ -11813,22 +16135,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" } @@ -11839,34 +16183,69 @@ }, "OAuthApplicationInfo": { "properties": { - "id": { "type": "string", "title": "Id" }, - "name": { "type": "string", "title": "Name" }, + "id": { + "type": "string", + "title": "Id" + }, + "name": { + "type": "string", + "title": "Name" + }, "description": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Description" }, "logo_url": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Logo Url" }, - "client_id": { "type": "string", "title": "Client Id" }, + "client_id": { + "type": "string", + "title": "Client Id" + }, "redirect_uris": { - "items": { "type": "string" }, + "items": { + "type": "string" + }, "type": "array", "title": "Redirect Uris" }, "grant_types": { - "items": { "type": "string" }, + "items": { + "type": "string" + }, "type": "array", "title": "Grant Types" }, "scopes": { - "items": { "$ref": "#/components/schemas/APIKeyPermission" }, + "items": { + "$ref": "#/components/schemas/APIKeyPermission" + }, "type": "array", "title": "Scopes" }, - "owner_id": { "type": "string", "title": "Owner Id" }, - "is_active": { "type": "boolean", "title": "Is Active" }, + "owner_id": { + "type": "string", + "title": "Owner Id" + }, + "is_active": { + "type": "boolean", + "title": "Is Active" + }, "created_at": { "type": "string", "format": "date-time", @@ -11896,17 +16275,36 @@ }, "OAuthApplicationPublicInfo": { "properties": { - "name": { "type": "string", "title": "Name" }, + "name": { + "type": "string", + "title": "Name" + }, "description": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Description" }, "logo_url": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Logo Url" }, "scopes": { - "items": { "type": "string" }, + "items": { + "type": "string" + }, "type": "array", "title": "Scopes" } @@ -11931,7 +16329,9 @@ "title": "User Role" }, "pain_points": { - "items": { "type": "string" }, + "items": { + "type": "string" + }, "type": "array", "maxItems": 20, "title": "Pain Points" @@ -11944,7 +16344,10 @@ }, "OnboardingStatusResponse": { "properties": { - "is_completed": { "type": "boolean", "title": "Is Completed" } + "is_completed": { + "type": "boolean", + "title": "Is Completed" + } }, "type": "object", "required": ["is_completed"], @@ -12045,19 +16448,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" }, @@ -12071,12 +16497,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" }, @@ -12094,16 +16534,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" @@ -12127,12 +16577,16 @@ "PlatformCostDashboard": { "properties": { "by_provider": { - "items": { "$ref": "#/components/schemas/ProviderCostSummary" }, + "items": { + "$ref": "#/components/schemas/ProviderCostSummary" + }, "type": "array", "title": "By Provider" }, "by_user": { - "items": { "$ref": "#/components/schemas/UserCostSummary" }, + "items": { + "$ref": "#/components/schemas/UserCostSummary" + }, "type": "array", "title": "By User" }, @@ -12140,8 +16594,14 @@ "type": "integer", "title": "Total Cost Microdollars" }, - "total_requests": { "type": "integer", "title": "Total Requests" }, - "total_users": { "type": "integer", "title": "Total Users" }, + "total_requests": { + "type": "integer", + "title": "Total Requests" + }, + "total_users": { + "type": "integer", + "title": "Total Users" + }, "total_input_tokens": { "type": "integer", "title": "Total Input Tokens", @@ -12188,8 +16648,10 @@ "default": 0.0 }, "cost_buckets": { + "items": { + "$ref": "#/components/schemas/CostBucket" + }, "type": "array", - "items": { "$ref": "#/components/schemas/CostBucket" }, "title": "Cost Buckets", "default": [] } @@ -12207,12 +16669,20 @@ "PlatformCostExportResponse": { "properties": { "logs": { - "items": { "$ref": "#/components/schemas/CostLogRow" }, + "items": { + "$ref": "#/components/schemas/CostLogRow" + }, "type": "array", "title": "Logs" }, - "total_rows": { "type": "integer", "title": "Total Rows" }, - "truncated": { "type": "boolean", "title": "Truncated" } + "total_rows": { + "type": "integer", + "title": "Total Rows" + }, + "truncated": { + "type": "boolean", + "title": "Truncated" + } }, "type": "object", "required": ["logs", "total_rows", "truncated"], @@ -12221,11 +16691,15 @@ "PlatformCostLogsResponse": { "properties": { "logs": { - "items": { "$ref": "#/components/schemas/CostLogRow" }, + "items": { + "$ref": "#/components/schemas/CostLogRow" + }, "type": "array", "title": "Logs" }, - "pagination": { "$ref": "#/components/schemas/Pagination" } + "pagination": { + "$ref": "#/components/schemas/Pagination" + } }, "type": "object", "required": ["logs", "pagination"], @@ -12247,26 +16721,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" } @@ -12303,32 +16832,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" } @@ -12359,15 +16923,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" } @@ -12393,32 +16980,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" } @@ -12449,26 +17071,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" } @@ -12505,20 +17183,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" } @@ -12540,15 +17244,33 @@ }, "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" } @@ -12560,19 +17282,40 @@ }, "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": [ @@ -12593,7 +17336,10 @@ "title": "Name", "description": "Provider name for integrations. Can be any string value, including custom provider names." }, - "description": { "type": "string", "title": "Description" }, + "description": { + "type": "string", + "title": "Description" + }, "integration_count": { "type": "integer", "title": "Integration Count" @@ -12606,7 +17352,9 @@ "ProviderConstants": { "properties": { "PROVIDER_NAMES": { - "additionalProperties": { "type": "string" }, + "additionalProperties": { + "type": "string" + }, "type": "object", "title": "Provider Names", "description": "All available provider names as a constant mapping", @@ -12625,24 +17373,32 @@ "title": "ProviderConstants", "description": "Model that exposes all provider names as a constant in the OpenAPI schema.\nThis is designed to be converted by Orval into a TypeScript constant." }, - "CostBucket": { - "properties": { - "bucket": { "type": "string", "title": "Bucket" }, - "count": { "type": "integer", "title": "Count" } - }, - "type": "object", - "required": ["bucket", "count"], - "title": "CostBucket" - }, "ProviderCostSummary": { "properties": { - "provider": { "type": "string", "title": "Provider" }, + "provider": { + "type": "string", + "title": "Provider" + }, "tracking_type": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Tracking Type" }, "model": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Model" }, "total_cost_microdollars": { @@ -12677,7 +17433,10 @@ "title": "Total Tracking Amount", "default": 0.0 }, - "request_count": { "type": "integer", "title": "Request Count" } + "request_count": { + "type": "integer", + "title": "Request Count" + } }, "type": "object", "required": [ @@ -12705,7 +17464,9 @@ "ProviderNamesResponse": { "properties": { "providers": { - "items": { "type": "string" }, + "items": { + "type": "string" + }, "type": "array", "title": "Providers", "description": "List of all available provider names" @@ -12718,11 +17479,15 @@ "ProviderResponse": { "properties": { "providers": { - "items": { "$ref": "#/components/schemas/Provider" }, + "items": { + "$ref": "#/components/schemas/Provider" + }, "type": "array", "title": "Providers" }, - "pagination": { "$ref": "#/components/schemas/Pagination" } + "pagination": { + "$ref": "#/components/schemas/Pagination" + } }, "type": "object", "required": ["providers", "pagination"], @@ -12730,7 +17495,10 @@ }, "RateLimitResetResponse": { "properties": { - "success": { "type": "boolean", "title": "Success" }, + "success": { + "type": "boolean", + "title": "Success" + }, "credits_charged": { "type": "integer", "title": "Credits Charged", @@ -12758,13 +17526,30 @@ }, "RecentExecution": { "properties": { - "status": { "type": "string", "title": "Status" }, + "status": { + "type": "string", + "title": "Status" + }, "correctness_score": { - "anyOf": [{ "type": "number" }, { "type": "null" }], + "anyOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ], "title": "Correctness Score" }, "activity_summary": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Activity Summary" } }, @@ -12775,16 +17560,41 @@ }, "RefundRequest": { "properties": { - "id": { "type": "string", "title": "Id" }, - "user_id": { "type": "string", "title": "User Id" }, - "transaction_key": { "type": "string", "title": "Transaction Key" }, - "amount": { "type": "integer", "title": "Amount" }, - "reason": { "type": "string", "title": "Reason" }, + "id": { + "type": "string", + "title": "Id" + }, + "user_id": { + "type": "string", + "title": "User Id" + }, + "transaction_key": { + "type": "string", + "title": "Transaction Key" + }, + "amount": { + "type": "integer", + "title": "Amount" + }, + "reason": { + "type": "string", + "title": "Reason" + }, "result": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Result" }, - "status": { "type": "string", "title": "Status" }, + "status": { + "type": "string", + "title": "Status" + }, "created_at": { "type": "string", "format": "date-time", @@ -12811,7 +17621,10 @@ }, "RequestTopUp": { "properties": { - "credit_amount": { "type": "integer", "title": "Credit Amount" } + "credit_amount": { + "type": "integer", + "title": "Credit Amount" + } }, "type": "object", "required": ["credit_amount"], @@ -12884,21 +17697,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)" @@ -12918,7 +17752,9 @@ "ReviewRequest": { "properties": { "reviews": { - "items": { "$ref": "#/components/schemas/ReviewItem" }, + "items": { + "$ref": "#/components/schemas/ReviewItem" + }, "type": "array", "title": "Reviews", "description": "All reviews with their approval status, data, and messages" @@ -12947,7 +17783,14 @@ "description": "Number of reviews that failed processing" }, "error": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Error", "description": "Error message if operation failed" } @@ -12968,10 +17811,23 @@ "type": "string", "title": "Store Listing Version Id" }, - "is_approved": { "type": "boolean", "title": "Is Approved" }, - "comments": { "type": "string", "title": "Comments" }, + "is_approved": { + "type": "boolean", + "title": "Is Approved" + }, + "comments": { + "type": "string", + "title": "Comments" + }, "internal_comments": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Internal Comments" } }, @@ -12982,11 +17838,24 @@ "ScheduleCreationRequest": { "properties": { "graph_version": { - "anyOf": [{ "type": "integer" }, { "type": "null" }], + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], "title": "Graph Version" }, - "name": { "type": "string", "title": "Name" }, - "cron": { "type": "string", "title": "Cron" }, + "name": { + "type": "string", + "title": "Name" + }, + "cron": { + "type": "string", + "title": "Cron" + }, "inputs": { "additionalProperties": true, "type": "object", @@ -13000,7 +17869,14 @@ "title": "Credentials" }, "timezone": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Timezone", "description": "User's timezone for scheduling (e.g., 'America/New_York'). If not provided, will use user's saved timezone or UTC." } @@ -13012,7 +17888,14 @@ "SearchEntry": { "properties": { "search_query": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Search Query" }, "filter": { @@ -13029,19 +17912,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" } }, @@ -13053,17 +17952,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", @@ -13075,7 +17985,9 @@ "type": "object", "title": "Total Items" }, - "pagination": { "$ref": "#/components/schemas/Pagination" } + "pagination": { + "$ref": "#/components/schemas/Pagination" + } }, "type": "object", "required": ["items", "search_id", "total_items", "pagination"], @@ -13083,22 +17995,45 @@ }, "SessionDetailResponse": { "properties": { - "id": { "type": "string", "title": "Id" }, - "created_at": { "type": "string", "title": "Created At" }, - "updated_at": { "type": "string", "title": "Updated At" }, + "id": { + "type": "string", + "title": "Id" + }, + "created_at": { + "type": "string", + "title": "Created At" + }, + "updated_at": { + "type": "string", + "title": "Updated At" + }, "user_id": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "User Id" }, "messages": { - "items": { "additionalProperties": true, "type": "object" }, + "items": { + "additionalProperties": true, + "type": "object" + }, "type": "array", "title": "Messages" }, "active_stream": { "anyOf": [ - { "$ref": "#/components/schemas/ActiveStreamInfo" }, - { "type": "null" } + { + "$ref": "#/components/schemas/ActiveStreamInfo" + }, + { + "type": "null" + } ] }, "has_more_messages": { @@ -13107,7 +18042,14 @@ "default": false }, "oldest_sequence": { - "anyOf": [{ "type": "integer" }, { "type": "null" }], + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], "title": "Oldest Sequence" }, "total_prompt_tokens": { @@ -13122,7 +18064,9 @@ }, "metadata": { "$ref": "#/components/schemas/ChatSessionMetadata", - "default": { "dry_run": false } + "default": { + "dry_run": false + } } }, "type": "object", @@ -13132,14 +18076,33 @@ }, "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"], @@ -13159,8 +18122,13 @@ }, "SetUserTierRequest": { "properties": { - "user_id": { "type": "string", "title": "User Id" }, - "tier": { "$ref": "#/components/schemas/SubscriptionTier" } + "user_id": { + "type": "string", + "title": "User Id" + }, + "tier": { + "$ref": "#/components/schemas/SubscriptionTier" + } }, "type": "object", "required": ["user_id", "tier"], @@ -13168,14 +18136,25 @@ }, "SetupInfo": { "properties": { - "agent_id": { "type": "string", "title": "Agent Id" }, - "agent_name": { "type": "string", "title": "Agent Name" }, + "agent_id": { + "type": "string", + "title": "Agent Id" + }, + "agent_name": { + "type": "string", + "title": "Agent Name" + }, "requirements": { - "additionalProperties": { "items": {}, "type": "array" }, + "additionalProperties": { + "items": {}, + "type": "array" + }, "type": "object", "title": "Requirements" }, - "user_readiness": { "$ref": "#/components/schemas/UserReadiness" } + "user_readiness": { + "$ref": "#/components/schemas/UserReadiness" + } }, "type": "object", "required": ["agent_id", "agent_name"], @@ -13188,18 +18167,44 @@ "$ref": "#/components/schemas/ResponseType", "default": "setup_requirements" }, - "message": { "type": "string", "title": "Message" }, + "message": { + "type": "string", + "title": "Message" + }, "session_id": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Session Id" }, - "setup_info": { "$ref": "#/components/schemas/SetupInfo" }, + "setup_info": { + "$ref": "#/components/schemas/SetupInfo" + }, "graph_id": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Graph Id" }, "graph_version": { - "anyOf": [{ "type": "integer" }, { "type": "null" }], + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], "title": "Graph Version" } }, @@ -13216,8 +18221,14 @@ }, "ShareResponse": { "properties": { - "share_url": { "type": "string", "title": "Share Url" }, - "share_token": { "type": "string", "title": "Share Token" } + "share_url": { + "type": "string", + "title": "Share Url" + }, + "share_token": { + "type": "string", + "title": "Share Token" + } }, "type": "object", "required": ["share_url", "share_token"], @@ -13226,20 +18237,38 @@ }, "SharedExecutionResponse": { "properties": { - "id": { "type": "string", "title": "Id" }, - "graph_name": { "type": "string", "title": "Graph Name" }, + "id": { + "type": "string", + "title": "Id" + }, + "graph_name": { + "type": "string", + "title": "Graph Name" + }, "graph_description": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Graph Description" }, - "status": { "$ref": "#/components/schemas/AgentExecutionStatus" }, + "status": { + "$ref": "#/components/schemas/AgentExecutionStatus" + }, "created_at": { "type": "string", "format": "date-time", "title": "Created At" }, "outputs": { - "additionalProperties": { "items": {}, "type": "array" }, + "additionalProperties": { + "items": {}, + "type": "array" + }, "type": "object", "title": "Outputs" } @@ -13301,17 +18330,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" } @@ -13322,10 +18372,22 @@ }, "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"], @@ -13333,16 +18395,46 @@ }, "StoreAgent": { "properties": { - "slug": { "type": "string", "title": "Slug" }, - "agent_name": { "type": "string", "title": "Agent Name" }, - "agent_image": { "type": "string", "title": "Agent Image" }, - "creator": { "type": "string", "title": "Creator" }, - "creator_avatar": { "type": "string", "title": "Creator Avatar" }, - "sub_heading": { "type": "string", "title": "Sub Heading" }, - "description": { "type": "string", "title": "Description" }, - "runs": { "type": "integer", "title": "Runs" }, - "rating": { "type": "number", "title": "Rating" }, - "agent_graph_id": { "type": "string", "title": "Agent Graph Id" } + "slug": { + "type": "string", + "title": "Slug" + }, + "agent_name": { + "type": "string", + "title": "Agent Name" + }, + "agent_image": { + "type": "string", + "title": "Agent Image" + }, + "creator": { + "type": "string", + "title": "Creator" + }, + "creator_avatar": { + "type": "string", + "title": "Creator Avatar" + }, + "sub_heading": { + "type": "string", + "title": "Sub Heading" + }, + "description": { + "type": "string", + "title": "Description" + }, + "runs": { + "type": "integer", + "title": "Runs" + }, + "rating": { + "type": "number", + "title": "Rating" + }, + "agent_graph_id": { + "type": "string", + "title": "Agent Graph Id" + } }, "type": "object", "required": [ @@ -13365,41 +18457,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" }, @@ -13409,7 +18546,14 @@ "title": "Last Updated" }, "recommended_schedule_cron": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Recommended Schedule Cron" }, "active_version_id": { @@ -13423,10 +18567,14 @@ "changelog": { "anyOf": [ { - "items": { "$ref": "#/components/schemas/ChangelogEntry" }, + "items": { + "$ref": "#/components/schemas/ChangelogEntry" + }, "type": "array" }, - { "type": "null" } + { + "type": "null" + } ], "title": "Changelog" } @@ -13458,11 +18606,15 @@ "StoreAgentsResponse": { "properties": { "agents": { - "items": { "$ref": "#/components/schemas/StoreAgent" }, + "items": { + "$ref": "#/components/schemas/StoreAgent" + }, "type": "array", "title": "Agents" }, - "pagination": { "$ref": "#/components/schemas/Pagination" } + "pagination": { + "$ref": "#/components/schemas/Pagination" + } }, "type": "object", "required": ["agents", "pagination"], @@ -13480,11 +18632,27 @@ }, "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": { @@ -13493,13 +18661,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": { @@ -13525,7 +18704,9 @@ "type": "array", "title": "Listings" }, - "pagination": { "$ref": "#/components/schemas/Pagination" } + "pagination": { + "$ref": "#/components/schemas/Pagination" + } }, "type": "object", "required": ["listings", "pagination"], @@ -13534,9 +18715,19 @@ }, "StoreReview": { "properties": { - "score": { "type": "integer", "title": "Score" }, + "score": { + "type": "integer", + "title": "Score" + }, "comments": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Comments" } }, @@ -13550,9 +18741,19 @@ "type": "string", "title": "Store Listing Version Id" }, - "score": { "type": "integer", "title": "Score" }, + "score": { + "type": "integer", + "title": "Score" + }, "comments": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Comments" } }, @@ -13562,66 +18763,151 @@ }, "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": { @@ -13665,66 +18951,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": { @@ -13743,7 +19114,14 @@ "default": 0.0 }, "internal_comments": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Internal Comments" } }, @@ -13773,18 +19151,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": [] @@ -13795,21 +19195,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" } }, @@ -13831,19 +19254,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": [] @@ -13854,21 +19302,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" } }, @@ -13885,11 +19356,15 @@ "StoreSubmissionsResponse": { "properties": { "submissions": { - "items": { "$ref": "#/components/schemas/StoreSubmission" }, + "items": { + "$ref": "#/components/schemas/StoreSubmission" + }, "type": "array", "title": "Submissions" }, - "pagination": { "$ref": "#/components/schemas/Pagination" } + "pagination": { + "$ref": "#/components/schemas/Pagination" + } }, "type": "object", "required": ["submissions", "pagination"], @@ -13897,7 +19372,10 @@ }, "StreamChatRequest": { "properties": { - "message": { "type": "string", "title": "Message" }, + "message": { + "type": "string", + "title": "Message" + }, "is_user_message": { "type": "boolean", "title": "Is User Message", @@ -13906,28 +19384,41 @@ "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" }, "mode": { "anyOf": [ - { "type": "string", "enum": ["fast", "extended_thinking"] }, - { "type": "null" } + { + "type": "string", + "enum": ["fast", "extended_thinking"] + }, + { + "type": "null" + } ], "title": "Mode", "description": "Autopilot mode: 'fast' for baseline LLM, 'extended_thinking' for Claude Agent SDK. If None, uses the server default (extended_thinking)." @@ -13944,17 +19435,30 @@ "title": "SubmissionStatus" }, "SubscriptionCheckoutResponse": { - "properties": { "url": { "type": "string", "title": "Url" } }, + "properties": { + "url": { + "type": "string", + "title": "Url" + } + }, "type": "object", "required": ["url"], "title": "SubscriptionCheckoutResponse" }, "SubscriptionStatusResponse": { "properties": { - "tier": { "type": "string", "title": "Tier" }, - "monthly_cost": { "type": "integer", "title": "Monthly Cost" }, + "tier": { + "type": "string", + "title": "Tier" + }, + "monthly_cost": { + "type": "integer", + "title": "Monthly Cost" + }, "tier_costs": { - "additionalProperties": { "type": "integer" }, + "additionalProperties": { + "type": "integer" + }, "type": "object", "title": "Tier Costs" } @@ -13997,9 +19501,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": { @@ -14035,7 +19549,9 @@ "SuggestedPromptsResponse": { "properties": { "themes": { - "items": { "$ref": "#/components/schemas/SuggestedTheme" }, + "items": { + "$ref": "#/components/schemas/SuggestedTheme" + }, "type": "array", "title": "Themes" } @@ -14047,9 +19563,14 @@ }, "SuggestedTheme": { "properties": { - "name": { "type": "string", "title": "Name" }, + "name": { + "type": "string", + "title": "Name" + }, "prompts": { - "items": { "type": "string" }, + "items": { + "type": "string" + }, "type": "array", "title": "Prompts" } @@ -14062,7 +19583,9 @@ "SuggestionsResponse": { "properties": { "recent_searches": { - "items": { "$ref": "#/components/schemas/SearchEntry" }, + "items": { + "$ref": "#/components/schemas/SearchEntry" + }, "type": "array", "title": "Recent Searches" }, @@ -14075,7 +19598,9 @@ "title": "Providers" }, "top_blocks": { - "items": { "$ref": "#/components/schemas/BlockInfo" }, + "items": { + "$ref": "#/components/schemas/BlockInfo" + }, "type": "array", "title": "Top Blocks" } @@ -14691,7 +20216,9 @@ ], "minLength": 1 }, - { "type": "string" } + { + "type": "string" + } ], "title": "Timezone" } @@ -14702,30 +20229,66 @@ }, "TokenIntrospectionResult": { "properties": { - "active": { "type": "boolean", "title": "Active" }, + "active": { + "type": "boolean", + "title": "Active" + }, "scopes": { "anyOf": [ - { "items": { "type": "string" }, "type": "array" }, - { "type": "null" } + { + "items": { + "type": "string" + }, + "type": "array" + }, + { + "type": "null" + } ], "title": "Scopes" }, "client_id": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Client Id" }, "user_id": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "User Id" }, "exp": { - "anyOf": [{ "type": "integer" }, { "type": "null" }], + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], "title": "Exp" }, "token_type": { "anyOf": [ - { "type": "string", "enum": ["access_token", "refresh_token"] }, - { "type": "null" } + { + "type": "string", + "enum": ["access_token", "refresh_token"] + }, + { + "type": "null" + } ], "title": "Token Type" } @@ -14752,8 +20315,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", @@ -14778,9 +20347,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": [ @@ -14799,20 +20377,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" } @@ -14831,14 +20417,21 @@ "TransactionHistory": { "properties": { "transactions": { - "items": { "$ref": "#/components/schemas/UserTransaction" }, + "items": { + "$ref": "#/components/schemas/UserTransaction" + }, "type": "array", "title": "Transactions" }, "next_transaction_time": { "anyOf": [ - { "type": "string", "format": "date-time" }, - { "type": "null" } + { + "type": "string", + "format": "date-time" + }, + { + "type": "null" + } ], "title": "Next Transaction Time" } @@ -14849,14 +20442,23 @@ }, "TriggeredPresetSetupRequest": { "properties": { - "name": { "type": "string", "title": "Name" }, + "name": { + "type": "string", + "title": "Name" + }, "description": { "type": "string", "title": "Description", "default": "" }, - "graph_id": { "type": "string", "title": "Graph Id" }, - "graph_version": { "type": "integer", "title": "Graph Version" }, + "graph_id": { + "type": "string", + "title": "Graph Id" + }, + "graph_version": { + "type": "integer", + "title": "Graph Version" + }, "trigger_config": { "additionalProperties": true, "type": "object", @@ -14880,13 +20482,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" }, @@ -14904,11 +20518,15 @@ "UnifiedSearchResponse": { "properties": { "results": { - "items": { "$ref": "#/components/schemas/UnifiedSearchResult" }, + "items": { + "$ref": "#/components/schemas/UnifiedSearchResult" + }, "type": "array", "title": "Results" }, - "pagination": { "$ref": "#/components/schemas/Pagination" } + "pagination": { + "$ref": "#/components/schemas/Pagination" + } }, "type": "object", "required": ["results", "pagination"], @@ -14917,33 +20535,73 @@ }, "UnifiedSearchResult": { "properties": { - "content_type": { "type": "string", "title": "Content Type" }, - "content_id": { "type": "string", "title": "Content Id" }, - "searchable_text": { "type": "string", "title": "Searchable Text" }, + "content_type": { + "type": "string", + "title": "Content Type" + }, + "content_id": { + "type": "string", + "title": "Content Id" + }, + "searchable_text": { + "type": "string", + "title": "Searchable Text" + }, "metadata": { "anyOf": [ - { "additionalProperties": true, "type": "object" }, - { "type": "null" } + { + "additionalProperties": true, + "type": "object" + }, + { + "type": "null" + } ], "title": "Metadata" }, "updated_at": { "anyOf": [ - { "type": "string", "format": "date-time" }, - { "type": "null" } + { + "type": "string", + "format": "date-time" + }, + { + "type": "null" + } ], "title": "Updated At" }, "combined_score": { - "anyOf": [{ "type": "number" }, { "type": "null" }], + "anyOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ], "title": "Combined Score" }, "semantic_score": { - "anyOf": [{ "type": "number" }, { "type": "null" }], + "anyOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ], "title": "Semantic Score" }, "lexical_score": { - "anyOf": [{ "type": "number" }, { "type": "null" }], + "anyOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ], "title": "Lexical Score" } }, @@ -14967,7 +20625,9 @@ "UpdatePermissionsRequest": { "properties": { "permissions": { - "items": { "$ref": "#/components/schemas/APIKeyPermission" }, + "items": { + "$ref": "#/components/schemas/APIKeyPermission" + }, "type": "array", "title": "Permissions" } @@ -14977,7 +20637,12 @@ "title": "UpdatePermissionsRequest" }, "UpdateSessionTitleRequest": { - "properties": { "title": { "type": "string", "title": "Title" } }, + "properties": { + "title": { + "type": "string", + "title": "Title" + } + }, "type": "object", "required": ["title"], "title": "UpdateSessionTitleRequest", @@ -15596,7 +21261,10 @@ }, "UsageWindow": { "properties": { - "used": { "type": "integer", "title": "Used" }, + "used": { + "type": "integer", + "title": "Used" + }, "limit": { "type": "integer", "title": "Limit", @@ -15616,11 +21284,25 @@ "UserCostSummary": { "properties": { "user_id": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "User Id" }, "email": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Email" }, "total_cost_microdollars": { @@ -15635,7 +21317,10 @@ "type": "integer", "title": "Total Output Tokens" }, - "request_count": { "type": "integer", "title": "Request Count" }, + "request_count": { + "type": "integer", + "title": "Request Count" + }, "cost_bearing_request_count": { "type": "integer", "title": "Cost Bearing Request Count", @@ -15654,11 +21339,15 @@ "UserHistoryResponse": { "properties": { "history": { - "items": { "$ref": "#/components/schemas/UserTransaction" }, + "items": { + "$ref": "#/components/schemas/UserTransaction" + }, "type": "array", "title": "History" }, - "pagination": { "$ref": "#/components/schemas/Pagination" } + "pagination": { + "$ref": "#/components/schemas/Pagination" + } }, "type": "object", "required": ["history", "pagination"], @@ -15667,56 +21356,111 @@ }, "UserOnboarding": { "properties": { - "userId": { "type": "string", "title": "Userid" }, + "userId": { + "type": "string", + "title": "Userid" + }, "completedSteps": { - "items": { "$ref": "#/components/schemas/OnboardingStep" }, + "items": { + "$ref": "#/components/schemas/OnboardingStep" + }, "type": "array", "title": "Completedsteps" }, - "walletShown": { "type": "boolean", "title": "Walletshown" }, + "walletShown": { + "type": "boolean", + "title": "Walletshown" + }, "notified": { - "items": { "$ref": "#/components/schemas/OnboardingStep" }, + "items": { + "$ref": "#/components/schemas/OnboardingStep" + }, "type": "array", "title": "Notified" }, "rewardedFor": { - "items": { "$ref": "#/components/schemas/OnboardingStep" }, + "items": { + "$ref": "#/components/schemas/OnboardingStep" + }, "type": "array", "title": "Rewardedfor" }, "usageReason": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Usagereason" }, "integrations": { - "items": { "type": "string" }, + "items": { + "type": "string" + }, "type": "array", "title": "Integrations" }, "otherIntegrations": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Otherintegrations" }, "selectedStoreListingVersionId": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Selectedstorelistingversionid" }, "agentInput": { "anyOf": [ - { "additionalProperties": true, "type": "object" }, - { "type": "null" } + { + "additionalProperties": true, + "type": "object" + }, + { + "type": "null" + } ], "title": "Agentinput" }, "onboardingAgentExecutionId": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Onboardingagentexecutionid" }, - "agentRuns": { "type": "integer", "title": "Agentruns" }, + "agentRuns": { + "type": "integer", + "title": "Agentruns" + }, "lastRunAt": { "anyOf": [ - { "type": "string", "format": "date-time" }, - { "type": "null" } + { + "type": "string", + "format": "date-time" + }, + { + "type": "null" + } ], "title": "Lastrunat" }, @@ -15747,47 +21491,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" } }, @@ -15796,10 +21591,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" }, "is_managed": { @@ -15837,9 +21645,19 @@ }, "UserRateLimitResponse": { "properties": { - "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" }, "daily_token_limit": { @@ -15858,7 +21676,9 @@ "type": "integer", "title": "Weekly Tokens Used" }, - "tier": { "$ref": "#/components/schemas/SubscriptionTier" } + "tier": { + "$ref": "#/components/schemas/SubscriptionTier" + } }, "type": "object", "required": [ @@ -15896,9 +21716,19 @@ }, "UserSearchResult": { "properties": { - "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" } }, @@ -15908,8 +21738,13 @@ }, "UserTierResponse": { "properties": { - "user_id": { "type": "string", "title": "User Id" }, - "tier": { "$ref": "#/components/schemas/SubscriptionTier" } + "user_id": { + "type": "string", + "title": "User Id" + }, + "tier": { + "$ref": "#/components/schemas/SubscriptionTier" + } }, "type": "object", "required": ["user_id", "tier"], @@ -15932,7 +21767,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", @@ -15944,15 +21783,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": { @@ -15966,21 +21826,52 @@ "title": "Usage Start Time", "default": "9999-12-31T23:59:59.999999Z" }, - "user_id": { "type": "string", "title": "User Id" }, + "user_id": { + "type": "string", + "title": "User Id" + }, "user_email": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "User Email" }, "reason": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Reason" }, "admin_email": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Admin Email" }, "extra_data": { - "anyOf": [{ "type": "string" }, { "type": "null" }], + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], "title": "Extra Data" } }, @@ -15991,14 +21882,34 @@ "ValidationError": { "properties": { "loc": { - "items": { "anyOf": [{ "type": "string" }, { "type": "integer" }] }, + "items": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "integer" + } + ] + }, "type": "array", "title": "Location" }, - "msg": { "type": "string", "title": "Message" }, - "type": { "type": "string", "title": "Error Type" }, - "input": { "title": "Input" }, - "ctx": { "type": "object", "title": "Context" } + "msg": { + "type": "string", + "title": "Message" + }, + "type": { + "type": "string", + "title": "Error Type" + }, + "input": { + "title": "Input" + }, + "ctx": { + "type": "object", + "title": "Context" + } }, "type": "object", "required": ["loc", "msg", "type"], @@ -16006,18 +21917,35 @@ }, "Webhook": { "properties": { - "id": { "type": "string", "title": "Id" }, - "user_id": { "type": "string", "title": "User Id" }, + "id": { + "type": "string", + "title": "Id" + }, + "user_id": { + "type": "string", + "title": "User Id" + }, "provider": { "type": "string", "title": "Provider", "description": "Provider name for integrations. Can be any string value, including custom provider names." }, - "credentials_id": { "type": "string", "title": "Credentials Id" }, - "webhook_type": { "type": "string", "title": "Webhook Type" }, - "resource": { "type": "string", "title": "Resource" }, + "credentials_id": { + "type": "string", + "title": "Credentials Id" + }, + "webhook_type": { + "type": "string", + "title": "Webhook Type" + }, + "resource": { + "type": "string", + "title": "Resource" + }, "events": { - "items": { "type": "string" }, + "items": { + "type": "string" + }, "type": "array", "title": "Events" }, @@ -16026,12 +21954,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": [ @@ -16049,17 +21984,35 @@ }, "WorkspaceFileItem": { "properties": { - "id": { "type": "string", "title": "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" }, + "id": { + "type": "string", + "title": "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" + }, "metadata": { "additionalProperties": true, "type": "object", "title": "Metadata" }, - "created_at": { "type": "string", "title": "Created At" } + "created_at": { + "type": "string", + "title": "Created At" + } }, "type": "object", "required": [ @@ -16074,11 +22027,26 @@ }, "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"], @@ -16086,11 +22054,26 @@ }, "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": [ @@ -16109,7 +22092,10 @@ "in": "header", "name": "X-Postmark-Webhook-Token" }, - "HTTPBearer": { "type": "http", "scheme": "bearer" }, + "HTTPBearer": { + "type": "http", + "scheme": "bearer" + }, "HTTPBearerJWT": { "type": "http", "scheme": "bearer", @@ -16123,7 +22109,11 @@ "application/json": { "schema": { "type": "object", - "properties": { "detail": { "type": "string" } } + "properties": { + "detail": { + "type": "string" + } + } } } }