{ "openapi": "3.1.0", "info": { "title": "Coral Server API", "version": "1.0" }, "externalDocs": { "url": "/" }, "servers": [], "tags": [], "paths": { "/api/v1/sessions/{namespace}": { "get": { "tags": ["sessions"], "summary": "List sessions in namespace", "description": "Returns a list of all sessions in a specific namespace", "operationId": "getSessionsInNamespace", "parameters": [], "responses": { "200": { "description": "Success", "headers": {}, "content": { "application/json": { "schema": { "type": "array", "items": { "type": "string", "title": "String" }, "title": "ArrayList" } } } }, "404": { "description": "Invalid namespace provided", "headers": {}, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RouteException" } } } } }, "deprecated": false }, "post": { "tags": ["sessions"], "summary": "Create session", "description": "Creates a new session in a given namespace", "operationId": "createSession", "parameters": [], "requestBody": { "description": "Graph of agents to be used in the session", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AgentGraphRequest" } } }, "required": false }, "responses": { "200": { "description": "Success", "headers": {}, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SessionIdentifier" } } } }, "403": { "description": "Invalid application ID or privacy key", "headers": {}, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RouteException" } } } }, "400": { "description": "The agent graph is invalid and could not be processed", "headers": {}, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RouteException" } } } } }, "deprecated": false } }, "/api/v1/sessions": { "get": { "tags": ["sessions"], "summary": "Get all sessions from all namespaces", "description": "Returns a list of namespaces containing their respective sessions", "operationId": "getAllSessions", "parameters": [], "responses": { "200": { "description": "Success", "headers": {}, "content": { "application/json": { "schema": { "type": "array", "items": { "type": "string", "title": "String" }, "title": "ArrayList" } } } } }, "deprecated": false } }, "/api/v1/sessions/{namespace}/{sessionId}": { "delete": { "tags": ["sessions"], "summary": "Close an active session", "description": "Closes an active session, cancelling all running awgents", "operationId": "closeSession", "parameters": [], "responses": { "200": { "description": "Success", "headers": {} }, "404": { "description": "If either namespace or session ID is invalid", "headers": {}, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RouteException" } } } } }, "deprecated": false } }, "/api/v1/agent-rpc/rental-claim": { "post": { "tags": ["agent-rpc"], "summary": "Submit rental agent claim", "description": "Requests a certain amount of money to be paid for a work done by a rental agent", "operationId": "submitRentalClaim", "parameters": [ { "name": "remoteSessionId", "in": "path", "description": "The remote session ID", "required": true, "deprecated": false, "explode": false, "schema": { "type": "string", "title": "String" } } ], "requestBody": { "description": "A description of the work done and the payment required", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AgentPaymentClaimRequest" } } }, "required": false }, "responses": { "200": { "description": "Success", "headers": {}, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AgentRemainingBudget" } } } }, "404": { "description": "Remote session not found", "headers": {}, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RouteException" } } } }, "400": { "description": "No payment associated with the session", "headers": {}, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RouteException" } } } } }, "deprecated": false } }, "/api/v1/agent-rpc/x402": { "post": { "tags": ["agent-rpc"], "summary": "Request for x402 proxying", "description": "Allows an agent to request that the server pays for an x402 service by proxy", "operationId": "requestX402Proxy", "parameters": [ { "name": "agentSecret", "in": "path", "description": "The agent's unique secret", "required": true, "deprecated": false, "explode": false, "schema": { "type": "string", "title": "String" } } ], "requestBody": { "description": "The request to be proxied", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/X402ProxyRequest" } } }, "required": false }, "responses": { "200": { "description": "Success", "headers": {}, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/X402ProxiedResponse" } } } } }, "deprecated": false } }, "/api/v1/agent-rental/reserve": { "post": { "tags": ["agent-rental"], "summary": "Reserve a list of rental agents", "description": "Reserves a list of rental agents", "operationId": "reserveAgents", "parameters": [], "requestBody": { "description": "A list of agents to claim", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PaidGraphAgentRequest" } } }, "required": false }, "responses": { "200": { "description": "Success", "headers": {}, "content": { "application/json": { "schema": { "type": "string", "title": "String" } } } }, "400": { "description": "GraphAgentRequest is invalid in a remote context", "headers": {}, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RouteException" } } } } }, "deprecated": false } }, "/api/v1/agent-rental/wallet": { "get": { "tags": ["agent-rental"], "summary": "Get wallet address for rental agents", "description": "Returns the wallet address payments should be made to for renting agents from this server", "operationId": "getPublicWallet", "parameters": [], "responses": { "200": { "description": "Success", "headers": {}, "content": { "application/json": { "schema": { "type": "string", "title": "String" } } } }, "404": { "description": "No wallet configured on this server", "headers": {}, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RouteException" } } } } }, "deprecated": false } }, "/api/v1/agent-rental/catalog": { "get": { "tags": ["agent-rental"], "summary": "Get available rental agents", "description": "Returns a list of all agents available to rent from this server", "operationId": "getRentalAgents", "parameters": [], "responses": { "200": { "description": "Success", "headers": {}, "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/PublicRegistryAgent" }, "title": "ArrayList" } } } } }, "deprecated": false } }, "/api/v1/agent-rental/catalog/{name}/{version}": { "get": { "tags": ["agent-rental"], "summary": "Get rental agent info", "description": "Returns agent rental details for the specified agent", "operationId": "getRentalAgentDetails", "parameters": [ { "name": "name", "in": "path", "description": "The name of the exported agent", "required": true, "deprecated": false, "explode": false, "schema": { "type": "string", "title": "String" } }, { "name": "version", "in": "path", "description": "The version of the exported agent", "required": true, "deprecated": false, "explode": false, "schema": { "type": "string", "title": "String" } } ], "responses": { "200": { "description": "Success", "headers": {}, "content": { "application/json": { "schema": { "type": "object", "additionalProperties": { "$ref": "#/components/schemas/PublicAgentExportSettings" }, "title": "LinkedHashMap" } } } }, "404": { "description": "Agent was not found or is not exported", "headers": {}, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RouteException" } } } } }, "deprecated": false } } }, "components": { "schemas": { "McpToolName": { "type": "string", "enum": [ "coral_create_thread", "coral_close_thread", "coral_add_participant", "coral_remove_participant", "coral_send_message", "coral_wait_for_message", "coral_wait_for_mention", "coral_wait_for_agent", "coral_close_session" ], "title": "McpToolName" }, "GraphAgentRequest": { "type": "object", "description": "A request for an agent. GraphAgentRequest -> GraphAgent", "properties": { "id": { "$ref": "#/components/schemas/AgentRegistryIdentifier", "description": "The ID of this agent in the registry" }, "name": { "type": "string", "description": "A given name for this agent in the session/group", "title": "String" }, "description": { "type": "string", "description": "An optional override for the description of this agent", "title": "String" }, "options": { "type": "object", "additionalProperties": { "anyOf": [ { "type": "object", "properties": { "type": { "type": "string", "enum": ["blob"], "title": "String" }, "value": { "type": "array", "items": { "type": "integer", "maximum": 127, "minimum": -128, "title": "Byte" }, "title": "ByteArray" } }, "required": ["type", "value"], "title": "blob" }, { "type": "object", "properties": { "type": { "type": "string", "enum": ["list[blob]"], "title": "String" }, "value": { "type": "array", "items": { "type": "array", "items": { "type": "integer", "maximum": 127, "minimum": -128, "title": "Byte" }, "title": "ByteArray" }, "title": "ArrayList>" } }, "required": ["type", "value"], "title": "list[blob]" }, { "type": "object", "properties": { "type": { "type": "string", "enum": ["bool"], "title": "String" }, "value": { "type": "boolean", "title": "Boolean" } }, "required": ["type", "value"], "title": "bool" }, { "type": "object", "properties": { "type": { "type": "string", "enum": ["i8"], "title": "String" }, "value": { "type": "integer", "maximum": 127, "minimum": -128, "title": "Byte" } }, "required": ["type", "value"], "title": "i8" }, { "type": "object", "properties": { "type": { "type": "string", "enum": ["list[i8]"], "title": "String" }, "value": { "type": "array", "items": { "type": "integer", "maximum": 127, "minimum": -128, "title": "Byte" }, "title": "ArrayList" } }, "required": ["type", "value"], "title": "list[i8]" }, { "type": "object", "properties": { "type": { "type": "string", "enum": ["f64"], "title": "String" }, "value": { "type": "number", "format": "double", "title": "Double" } }, "required": ["type", "value"], "title": "f64" }, { "type": "object", "properties": { "type": { "type": "string", "enum": ["list[f64]"], "title": "String" }, "value": { "type": "array", "items": { "type": "number", "format": "double", "title": "Double" }, "title": "ArrayList" } }, "required": ["type", "value"], "title": "list[f64]" }, { "type": "object", "properties": { "type": { "type": "string", "enum": ["f32"], "title": "String" }, "value": { "type": "number", "format": "float", "title": "Float" } }, "required": ["type", "value"], "title": "f32" }, { "type": "object", "properties": { "type": { "type": "string", "enum": ["list[f32]"], "title": "String" }, "value": { "type": "array", "items": { "type": "number", "format": "float", "title": "Float" }, "title": "ArrayList" } }, "required": ["type", "value"], "title": "list[f32]" }, { "type": "object", "properties": { "type": { "type": "string", "enum": ["i32"], "title": "String" }, "value": { "type": "integer", "format": "int32", "title": "Int" } }, "required": ["type", "value"], "title": "i32" }, { "type": "object", "properties": { "type": { "type": "string", "enum": ["list[i32]"], "title": "String" }, "value": { "type": "array", "items": { "type": "integer", "format": "int32", "title": "Int" }, "title": "ArrayList" } }, "required": ["type", "value"], "title": "list[i32]" }, { "type": "object", "properties": { "type": { "type": "string", "enum": ["i64"], "title": "String" }, "value": { "type": "integer", "format": "int64", "title": "Long" } }, "required": ["type", "value"], "title": "i64" }, { "type": "object", "properties": { "type": { "type": "string", "enum": ["list[i64]"], "title": "String" }, "value": { "type": "array", "items": { "type": "integer", "format": "int64", "title": "Long" }, "title": "ArrayList" } }, "required": ["type", "value"], "title": "list[i64]" }, { "type": "object", "properties": { "type": { "type": "string", "enum": ["i16"], "title": "String" }, "value": { "type": "integer", "maximum": 32767, "minimum": -32768, "title": "Short" } }, "required": ["type", "value"], "title": "i16" }, { "type": "object", "properties": { "type": { "type": "string", "enum": ["list[i16]"], "title": "String" }, "value": { "type": "array", "items": { "type": "integer", "maximum": 32767, "minimum": -32768, "title": "Short" }, "title": "ArrayList" } }, "required": ["type", "value"], "title": "list[i16]" }, { "type": "object", "properties": { "type": { "type": "string", "enum": ["string"], "title": "String" }, "value": { "type": "string", "title": "String" } }, "required": ["type", "value"], "title": "string" }, { "type": "object", "properties": { "type": { "type": "string", "enum": ["list[string]"], "title": "String" }, "value": { "type": "array", "items": { "type": "string", "title": "String" }, "title": "ArrayList" } }, "required": ["type", "value"], "title": "list[string]" }, { "type": "object", "properties": { "type": { "type": "string", "enum": ["u8"], "title": "String" }, "value": { "type": "integer", "maximum": 255, "minimum": 0, "title": "UByte" } }, "required": ["type", "value"], "title": "u8" }, { "type": "object", "properties": { "type": { "type": "string", "enum": ["list[u8]"], "title": "String" }, "value": { "type": "array", "items": { "type": "integer", "maximum": 255, "minimum": 0, "title": "UByte" }, "title": "ArrayList" } }, "required": ["type", "value"], "title": "list[u8]" }, { "type": "object", "properties": { "type": { "type": "string", "enum": ["u32"], "title": "String" }, "value": { "type": "integer", "maximum": 4294967295, "minimum": 0, "title": "UInt" } }, "required": ["type", "value"], "title": "u32" }, { "type": "object", "properties": { "type": { "type": "string", "enum": ["list[u32]"], "title": "String" }, "value": { "type": "array", "items": { "type": "integer", "maximum": 4294967295, "minimum": 0, "title": "UInt" }, "title": "ArrayList" } }, "required": ["type", "value"], "title": "list[u32]" }, { "type": "object", "properties": { "type": { "type": "string", "enum": ["u64"], "title": "String" }, "value": { "type": "string", "title": "String" } }, "required": ["type", "value"], "title": "u64" }, { "type": "object", "properties": { "type": { "type": "string", "enum": ["list[u64]"], "title": "String" }, "value": { "type": "array", "items": { "type": "string", "title": "String" }, "title": "ArrayList" } }, "required": ["type", "value"], "title": "list[u64]" }, { "type": "object", "properties": { "type": { "type": "string", "enum": ["u16"], "title": "String" }, "value": { "type": "integer", "maximum": 65535, "minimum": 0, "title": "UShort" } }, "required": ["type", "value"], "title": "u16" }, { "type": "object", "properties": { "type": { "type": "string", "enum": ["list[u16]"], "title": "String" }, "value": { "type": "array", "items": { "type": "integer", "maximum": 65535, "minimum": 0, "title": "UShort" }, "title": "ArrayList" } }, "required": ["type", "value"], "title": "list[u16]" } ], "discriminator": { "propertyName": "type" }, "title": "AgentOptionValue" }, "description": "The arguments to pass to the agent", "title": "LinkedHashMap" }, "systemPrompt": { "type": "string", "description": "The system prompt/developer text/preamble passed to the agent", "title": "String" }, "blocking": { "type": "boolean", "description": "All blocking agents in a group must be instantiated before the group can communicate. Non-blocking agents' contributions to groups are optional", "title": "Boolean" }, "customToolAccess": { "type": "array", "description": "A list of custom tools that this agent can access. The custom tools must be defined in the parent AgentGraphRequest object", "items": { "type": "string", "title": "String" }, "title": "LinkedHashSet", "uniqueItems": true }, "plugins": { "type": "array", "description": "Plugins that should be installed on this agent. See GraphAgentPlugin for more information", "items": { "anyOf": [ { "type": "object", "properties": { "type": { "type": "string", "enum": ["close_session_tool"], "title": "String" } }, "required": ["type"], "title": "close_session_tool" } ], "discriminator": { "propertyName": "type" }, "title": "GraphAgentPlugin" }, "title": "LinkedHashSet", "uniqueItems": true }, "provider": { "anyOf": [ { "type": "object", "description": "The agent will be provided by this server", "properties": { "type": { "type": "string", "enum": ["local"], "title": "String" }, "runtime": { "$ref": "#/components/schemas/RuntimeId" } }, "required": ["runtime", "type"], "title": "local" }, { "type": "object", "description": "A remote agent provided by a specific server", "properties": { "type": { "type": "string", "enum": ["remote"], "title": "String" }, "server": { "$ref": "#/components/schemas/GraphAgentServer", "description": "The server that is providing this remote agent" }, "runtime": { "$ref": "#/components/schemas/RuntimeId", "description": "The runtime to be used on the remote server. Likely Docker or Phala" }, "wallet": { "type": "string", "description": "The wallet address of the server that is providing this remote agent", "title": "String" }, "maxCost": { "anyOf": [ { "type": "object", "properties": { "type": { "type": "string", "enum": ["coral"], "title": "String" }, "amount": { "type": "number", "format": "double", "title": "Double" } }, "required": ["amount", "type"], "title": "coral" }, { "type": "object", "properties": { "type": { "type": "string", "enum": ["micro_coral"], "title": "String" }, "amount": { "type": "integer", "format": "int64", "title": "Long" } }, "required": ["amount", "type"], "title": "micro_coral" }, { "type": "object", "properties": { "type": { "type": "string", "enum": ["usd"], "title": "String" }, "amount": { "type": "number", "format": "double", "title": "Double" } }, "required": ["amount", "type"], "title": "usd" } ], "description": "The max cost of this agent", "discriminator": { "propertyName": "type" }, "title": "AgentClaimAmount" }, "paymentSessionId": { "type": "string", "description": "The payment session ID for this remote agent. This will be shared with all other remote agents in the graph", "title": "String" } }, "required": ["maxCost", "paymentSessionId", "runtime", "server", "type", "wallet"], "title": "remote" }, { "type": "object", "description": "A request for a remote agent and a list of places to try and source a server from", "properties": { "type": { "type": "string", "enum": ["remote_request"], "title": "String" }, "runtime": { "$ref": "#/components/schemas/RuntimeId", "description": "The runtime that should be used for this remote agent. Servers can export only specific runtimes so the runtime choice may narrow servers that can adequately provide the agent" }, "maxCost": { "anyOf": [ { "type": "object", "properties": { "type": { "type": "string", "enum": ["coral"], "title": "String" }, "amount": { "type": "number", "format": "double", "title": "Double" } }, "required": ["amount", "type"], "title": "coral" }, { "type": "object", "properties": { "type": { "type": "string", "enum": ["micro_coral"], "title": "String" }, "amount": { "type": "integer", "format": "int64", "title": "Long" } }, "required": ["amount", "type"], "title": "micro_coral" }, { "type": "object", "properties": { "type": { "type": "string", "enum": ["usd"], "title": "String" }, "amount": { "type": "number", "format": "double", "title": "Double" } }, "required": ["amount", "type"], "title": "usd" } ], "description": "The maximum we are willing to pay for this remote agent, note that if this is not high enough there may be no remotes willing to provide the agent", "discriminator": { "propertyName": "type" }, "title": "AgentClaimAmount" }, "serverSource": { "anyOf": [ { "type": "object", "properties": { "type": { "type": "string", "enum": [ "org.coralprotocol.coralserver.agent.graph.server.GraphAgentServerSource.Indexer" ], "title": "String" }, "indexer": { "type": "string", "title": "String" } }, "required": ["indexer", "type"], "title": "Indexer" }, { "type": "object", "properties": { "type": { "type": "string", "enum": ["servers"], "title": "String" }, "servers": { "type": "array", "items": { "$ref": "#/components/schemas/GraphAgentServer" }, "title": "ArrayList" } }, "required": ["servers", "type"], "title": "servers" } ], "description": "A description of which servers should be queried for this remote agent request", "discriminator": { "propertyName": "type" }, "title": "GraphAgentServerSource" }, "serverScoring": { "anyOf": [ { "type": "object", "description": "Custom server scoring. Weights can be added on a flat or multiplier basis per attribute", "properties": { "type": { "type": "string", "enum": ["custom"], "title": "String" }, "scorers": { "type": "array", "items": { "anyOf": [ { "type": "object", "description": "The effect will be applied for every attribute of the specified type with a boolean false value", "properties": { "op": { "type": "string", "enum": ["is_false"], "title": "String" }, "type": { "$ref": "#/components/schemas/GraphAgentServerAttributeType" }, "effect": { "$ref": "#/components/schemas/flat", "description": "A flat negative or positive weight" } }, "required": ["effect", "op", "type"], "title": "is_false" }, { "type": "object", "description": "The effect will be applied if the no attribute of the specified type is present", "properties": { "op": { "type": "string", "enum": ["is_not_present"], "title": "String" }, "type": { "$ref": "#/components/schemas/GraphAgentServerAttributeType" }, "effect": { "$ref": "#/components/schemas/flat", "description": "A flat negative or positive weight" } }, "required": ["effect", "op", "type"], "title": "is_not_present" }, { "type": "object", "description": "The effect will be applied for every attribute of the specified type", "properties": { "op": { "type": "string", "enum": ["is_present"], "title": "String" }, "type": { "$ref": "#/components/schemas/GraphAgentServerAttributeType" }, "effect": { "$ref": "#/components/schemas/GraphAgentServerScorerEffect" } }, "required": ["effect", "op", "type"], "title": "is_present" }, { "type": "object", "description": "The effect will be applied for every attribute of the specified type with a boolean true value", "properties": { "op": { "type": "string", "enum": ["is_true"], "title": "String" }, "type": { "$ref": "#/components/schemas/GraphAgentServerAttributeType" }, "effect": { "$ref": "#/components/schemas/flat", "description": "A flat negative or positive weight" } }, "required": ["effect", "op", "type"], "title": "is_true" }, { "type": "object", "description": "The effect will be applied for every attribute of the specified type with a matching string value", "properties": { "op": { "type": "string", "enum": ["string_equal"], "title": "String" }, "type": { "$ref": "#/components/schemas/GraphAgentServerAttributeType" }, "string": { "type": "string", "title": "String" }, "effect": { "$ref": "#/components/schemas/flat", "description": "A flat negative or positive weight" } }, "required": ["effect", "op", "string", "type"], "title": "string_equal" }, { "type": "object", "description": "The effect will be applied for every attribute of the specified type with a non-matching string value", "properties": { "op": { "type": "string", "enum": ["string_not_equal"], "title": "String" }, "type": { "$ref": "#/components/schemas/GraphAgentServerAttributeType" }, "string": { "type": "string", "title": "String" }, "effect": { "$ref": "#/components/schemas/flat", "description": "A flat negative or positive weight" } }, "required": ["effect", "op", "string", "type"], "title": "string_not_equal" } ], "discriminator": { "propertyName": "op" }, "title": "GraphAgentServerCustomScorer" }, "title": "ArrayList" } }, "required": ["scorers", "type"], "title": "custom" }, { "type": "object", "description": "Default server scoring. No weights assigned to any server attribute", "properties": { "type": { "type": "string", "enum": ["default"], "title": "String" } }, "required": ["type"], "title": "default" } ], "description": "Customisation for the scoring of servers", "discriminator": { "propertyName": "type" }, "title": "GraphAgentServerScoring" } }, "required": ["maxCost", "runtime", "serverSource", "type"], "title": "remote_request" } ], "description": "The server that should provide this agent and the runtime to use", "discriminator": { "propertyName": "type" }, "title": "GraphAgentProvider" }, "x402Budgets": { "type": "array", "description": "An optional list of resources and an accompanied budget that this agent may spend on services that accept x402 payments", "items": { "$ref": "#/components/schemas/X402BudgetedResource" }, "title": "ArrayList" } }, "required": [ "customToolAccess", "id", "name", "options", "plugins", "provider", "x402Budgets" ], "title": "GraphAgentRequest" }, "AgentRegistryIdentifier": { "type": "object", "properties": { "name": { "type": "string", "description": "The exact name of the agent in the registry", "title": "String" }, "version": { "type": "string", "description": "The exact version of the agent in the registry", "title": "String" } }, "required": ["name", "version"], "title": "AgentRegistryIdentifier" }, "RuntimeId": { "type": "string", "enum": ["executable", "docker", "function"], "title": "RuntimeId" }, "GraphAgentServer": { "type": "object", "properties": { "address": { "type": "string", "title": "String" }, "port": { "type": "integer", "maximum": 65535, "minimum": 0, "title": "UShort" }, "secure": { "type": "boolean", "title": "Boolean" }, "attributes": { "type": "array", "items": { "anyOf": [ { "type": "object", "properties": { "format": { "type": "string", "enum": ["boolean"], "title": "String" }, "type": { "$ref": "#/components/schemas/GraphAgentServerAttributeType" }, "value": { "type": "boolean", "title": "Boolean" } }, "required": ["format", "type", "value"], "title": "boolean" }, { "type": "object", "properties": { "format": { "type": "string", "enum": ["number"], "title": "String" }, "type": { "$ref": "#/components/schemas/GraphAgentServerAttributeType" }, "value": { "type": "number", "format": "double", "title": "Double" } }, "required": ["format", "type", "value"], "title": "number" }, { "type": "object", "properties": { "format": { "type": "string", "enum": ["string"], "title": "String" }, "type": { "$ref": "#/components/schemas/GraphAgentServerAttributeType" }, "value": { "type": "string", "title": "String" } }, "required": ["format", "type", "value"], "title": "string" } ], "discriminator": { "propertyName": "format" }, "title": "GraphAgentServerAttribute" }, "title": "ArrayList" } }, "required": ["address", "attributes", "port", "secure"], "title": "GraphAgentServer" }, "GraphAgentServerAttributeType": { "type": "string", "enum": ["geographic_location", "attested_by"], "title": "GraphAgentServerAttributeType" }, "flat": { "type": "object", "description": "A flat negative or positive weight", "properties": { "weight": { "type": "number", "format": "double", "title": "Double" } }, "required": ["weight"], "title": "flat" }, "GraphAgentServerScorerEffect": { "anyOf": [ { "type": "object", "description": "A flat negative or positive weight", "properties": { "weight": { "type": "number", "format": "double", "title": "Double" } }, "required": ["weight"], "title": "flat" }, { "type": "object", "description": "A multiplier weight, this effect will only multiply against attributes with a number type", "properties": { "weight": { "type": "number", "format": "double", "title": "Double" } }, "required": ["weight"], "title": "multiplier" } ], "title": "GraphAgentServerScorerEffect" }, "X402BudgetedResource": { "type": "object", "description": "A budget given to an agent for a specific resource", "properties": { "priority": { "type": "integer", "format": "int32", "description": "The priority of this budget. If a x402 service accepts multiple resources and an agent was given a budget for multiple resources, the resource with the highest priority will be used until it is consumed", "title": "Int" }, "resource": { "type": "string", "description": "The this budget is for", "title": "String" }, "remainingBudget": { "type": "integer", "description": "The remaining budget for this resource in atomic units", "title": "ULong" } }, "required": ["priority", "remainingBudget", "resource"], "title": "X402BudgetedResource" }, "CustomTool": { "type": "object", "properties": { "transport": { "anyOf": [ { "type": "object", "properties": { "type": { "type": "string", "enum": ["http"], "title": "String" }, "url": { "type": "string", "title": "UriString" } }, "required": ["type", "url"], "title": "http" } ], "discriminator": { "propertyName": "type" }, "title": "ToolTransport" }, "toolSchema": { "$ref": "#/components/schemas/Tool" } }, "required": ["toolSchema", "transport"], "title": "CustomTool" }, "Tool": { "type": "object", "properties": { "name": { "type": "string", "title": "String" }, "description": { "type": "string", "title": "String" }, "inputSchema": { "$ref": "#/components/schemas/Input" }, "outputSchema": { "$ref": "#/components/schemas/Output" }, "annotations": { "$ref": "#/components/schemas/ToolAnnotations" } }, "required": ["inputSchema", "name"], "title": "Tool" }, "Input": { "type": "object", "properties": { "properties": { "type": "object", "additionalProperties": { "$ref": "#/components/schemas/JsonElement" }, "title": "JsonObject" }, "required": { "type": "array", "items": { "type": "string", "title": "String" }, "title": "ArrayList" }, "type": { "type": "string", "title": "String" } }, "required": ["properties", "type"], "title": "Input" }, "JsonElement": { "type": "object", "properties": {}, "title": "JsonElement" }, "Output": { "type": "object", "properties": { "properties": { "type": "object", "additionalProperties": { "$ref": "#/components/schemas/JsonElement" }, "title": "JsonObject" }, "required": { "type": "array", "items": { "type": "string", "title": "String" }, "title": "ArrayList" }, "type": { "type": "string", "title": "String" } }, "required": ["properties", "type"], "title": "Output" }, "ToolAnnotations": { "type": "object", "properties": { "title": { "type": "string", "title": "String" }, "readOnlyHint": { "type": "boolean", "title": "Boolean" }, "destructiveHint": { "type": "boolean", "title": "Boolean" }, "idempotentHint": { "type": "boolean", "title": "Boolean" }, "openWorldHint": { "type": "boolean", "title": "Boolean" } }, "title": "ToolAnnotations" }, "AgentGraphRequest": { "type": "object", "properties": { "agents": { "type": "array", "description": "Every agent required for this agent graph", "items": { "$ref": "#/components/schemas/GraphAgentRequest" }, "title": "ArrayList" }, "groups": { "type": "array", "description": "A set, containing sets that define the agent groups by name", "items": { "type": "array", "items": { "type": "string", "title": "String" }, "title": "LinkedHashSet", "uniqueItems": true }, "title": "LinkedHashSet>", "uniqueItems": true }, "customTools": { "type": "object", "additionalProperties": { "$ref": "#/components/schemas/CustomTool" }, "description": "A map of custom tools to provide to the agents in this graph", "title": "LinkedHashMap" } }, "required": ["agents", "customTools", "groups"], "title": "AgentGraphRequest" }, "SessionIdentifier": { "type": "object", "properties": { "namespace": { "type": "string", "description": "The namespace that this session belongs in", "title": "String" }, "sessionId": { "type": "string", "description": "The unique identifier for the session", "title": "String" } }, "required": ["namespace", "sessionId"], "title": "SessionIdentifier" }, "RouteException": { "type": "object", "properties": { "stackTrace": { "type": "array", "items": { "type": "string", "title": "String" }, "title": "ArrayList" } }, "required": ["stackTrace"], "title": "RouteException" }, "AgentPaymentClaimRequest": { "type": "object", "properties": { "amount": { "anyOf": [ { "type": "object", "properties": { "type": { "type": "string", "enum": ["coral"], "title": "String" }, "amount": { "type": "number", "format": "double", "title": "Double" } }, "required": ["amount", "type"], "title": "coral" }, { "type": "object", "properties": { "type": { "type": "string", "enum": ["micro_coral"], "title": "String" }, "amount": { "type": "integer", "format": "int64", "title": "Long" } }, "required": ["amount", "type"], "title": "micro_coral" }, { "type": "object", "properties": { "type": { "type": "string", "enum": ["usd"], "title": "String" }, "amount": { "type": "number", "format": "double", "title": "Double" } }, "required": ["amount", "type"], "title": "usd" } ], "description": "The amount to claim. This will be converted to Coral when received", "discriminator": { "propertyName": "type" }, "title": "AgentClaimAmount" } }, "required": ["amount"], "title": "AgentPaymentClaimRequest" }, "AgentRemainingBudget": { "type": "object", "description": "\n This object is returned by the agent claim endpoint and represents the remaining budget for the agent. The agent \n should use this respond to decide whether whether it can continue providing services with the remaining budget.\n \n This object attaches a USD price for a Coral to it so that agents do not have to make multiple calls to the pricing \n endpoint to determine the price of a Coral. This field is an 'estimate', it can be based off cached data and may not \n be accurate, so this should only be used if the agent represented it's rates in USD.\n \n If better accuracy is required agent-side, the budget should only use micro-corals.\n", "properties": { "remainingBudget": { "type": "integer", "format": "int64", "description": "The remaining budget for the agent, represented in micro-corals", "title": "Long" }, "coralUsdPrice": { "type": "number", "format": "double", "description": "Current USD price for one whole Coral", "title": "Double" } }, "required": ["coralUsdPrice", "remainingBudget"], "title": "AgentRemainingBudget" }, "X402ProxyRequest": { "type": "object", "description": "A proxied request to a service that potentially requests x402 payment", "properties": { "endpoint": { "type": "string", "description": "The full endpoint of the target API", "title": "String" }, "method": { "type": "string", "description": "The API method, e.g. POST, GET, DELETE, etc", "title": "String" }, "body": { "type": "object", "additionalProperties": { "$ref": "#/components/schemas/JsonElement" }, "description": "The body of the request", "title": "JsonObject" } }, "required": ["body", "endpoint", "method"], "title": "X402ProxyRequest" }, "X402ProxiedResponse": { "type": "object", "properties": { "code": { "type": "integer", "format": "int32", "title": "Int" }, "body": { "type": "string", "title": "String" } }, "required": ["body", "code"], "title": "X402ProxiedResponse" }, "PaidGraphAgentRequest": { "type": "object", "description": "A paid request for an agent. GraphAgentRequest -> GraphAgent", "properties": { "graphAgentRequest": { "$ref": "#/components/schemas/GraphAgentRequest", "description": "A request for an agent. GraphAgentRequest -> GraphAgent" }, "paidSessionId": { "type": "integer", "format": "int64", "title": "Long" }, "clientWalletAddress": { "type": "string", "title": "String" } }, "required": ["clientWalletAddress", "graphAgentRequest", "paidSessionId"], "title": "PaidGraphAgentRequest" }, "PublicRegistryAgent": { "type": "object", "properties": { "id": { "$ref": "#/components/schemas/AgentRegistryIdentifier" }, "runtimes": { "type": "array", "items": { "$ref": "#/components/schemas/RuntimeId" }, "title": "ArrayList" }, "options": { "type": "object", "additionalProperties": { "anyOf": [ { "type": "object", "properties": { "type": { "type": "string", "enum": ["blob"], "title": "String" }, "required": { "type": "boolean", "title": "Boolean" }, "display": { "$ref": "#/components/schemas/AgentOptionDisplay" }, "transport": { "$ref": "#/components/schemas/AgentOptionTransport" }, "description": { "type": "string", "title": "String" }, "default": { "type": "array", "items": { "type": "integer", "maximum": 127, "minimum": -128, "title": "Byte" }, "title": "ByteArray" }, "validation": { "$ref": "#/components/schemas/BlobAgentOptionValidation" } }, "required": ["type"], "title": "blob" }, { "type": "object", "properties": { "type": { "type": "string", "enum": ["list[blob]"], "title": "String" }, "required": { "type": "boolean", "title": "Boolean" }, "display": { "$ref": "#/components/schemas/AgentOptionDisplay" }, "transport": { "$ref": "#/components/schemas/AgentOptionTransport" }, "description": { "type": "string", "title": "String" }, "default": { "type": "array", "items": { "type": "array", "items": { "type": "integer", "maximum": 127, "minimum": -128, "title": "Byte" }, "title": "ByteArray" }, "title": "ArrayList>" }, "validation": { "$ref": "#/components/schemas/BlobAgentOptionValidation" } }, "required": ["type"], "title": "list[blob]" }, { "type": "object", "properties": { "type": { "type": "string", "enum": ["bool"], "title": "String" }, "required": { "type": "boolean", "title": "Boolean" }, "display": { "$ref": "#/components/schemas/AgentOptionDisplay" }, "transport": { "$ref": "#/components/schemas/AgentOptionTransport" }, "description": { "type": "string", "title": "String" }, "default": { "type": "boolean", "title": "Boolean" } }, "required": ["type"], "title": "bool" }, { "type": "object", "properties": { "type": { "type": "string", "enum": ["i8"], "title": "String" }, "required": { "type": "boolean", "title": "Boolean" }, "display": { "$ref": "#/components/schemas/AgentOptionDisplay" }, "transport": { "$ref": "#/components/schemas/AgentOptionTransport" }, "description": { "type": "string", "title": "String" }, "default": { "type": "integer", "maximum": 127, "minimum": -128, "title": "Byte" }, "validation": { "$ref": "#/components/schemas/ByteAgentOptionValidation" } }, "required": ["type"], "title": "i8" }, { "type": "object", "properties": { "type": { "type": "string", "enum": ["list[i8]"], "title": "String" }, "required": { "type": "boolean", "title": "Boolean" }, "display": { "$ref": "#/components/schemas/AgentOptionDisplay" }, "transport": { "$ref": "#/components/schemas/AgentOptionTransport" }, "description": { "type": "string", "title": "String" }, "default": { "type": "array", "items": { "type": "integer", "maximum": 127, "minimum": -128, "title": "Byte" }, "title": "ArrayList" }, "validation": { "$ref": "#/components/schemas/ByteAgentOptionValidation" } }, "required": ["type"], "title": "list[i8]" }, { "type": "object", "properties": { "type": { "type": "string", "enum": ["f64"], "title": "String" }, "required": { "type": "boolean", "title": "Boolean" }, "display": { "$ref": "#/components/schemas/AgentOptionDisplay" }, "transport": { "$ref": "#/components/schemas/AgentOptionTransport" }, "description": { "type": "string", "title": "String" }, "default": { "type": "number", "format": "double", "title": "Double" }, "validation": { "$ref": "#/components/schemas/DoubleAgentOptionValidation" } }, "required": ["type"], "title": "f64" }, { "type": "object", "properties": { "type": { "type": "string", "enum": ["list[f64]"], "title": "String" }, "required": { "type": "boolean", "title": "Boolean" }, "display": { "$ref": "#/components/schemas/AgentOptionDisplay" }, "transport": { "$ref": "#/components/schemas/AgentOptionTransport" }, "description": { "type": "string", "title": "String" }, "default": { "type": "array", "items": { "type": "number", "format": "double", "title": "Double" }, "title": "ArrayList" }, "validation": { "$ref": "#/components/schemas/DoubleAgentOptionValidation" } }, "required": ["type"], "title": "list[f64]" }, { "type": "object", "properties": { "type": { "type": "string", "enum": ["f32"], "title": "String" }, "required": { "type": "boolean", "title": "Boolean" }, "display": { "$ref": "#/components/schemas/AgentOptionDisplay" }, "transport": { "$ref": "#/components/schemas/AgentOptionTransport" }, "description": { "type": "string", "title": "String" }, "default": { "type": "number", "format": "float", "title": "Float" }, "validation": { "$ref": "#/components/schemas/FloatAgentOptionValidation" } }, "required": ["type"], "title": "f32" }, { "type": "object", "properties": { "type": { "type": "string", "enum": ["list[f32]"], "title": "String" }, "required": { "type": "boolean", "title": "Boolean" }, "display": { "$ref": "#/components/schemas/AgentOptionDisplay" }, "transport": { "$ref": "#/components/schemas/AgentOptionTransport" }, "description": { "type": "string", "title": "String" }, "default": { "type": "array", "items": { "type": "number", "format": "float", "title": "Float" }, "title": "ArrayList" }, "validation": { "$ref": "#/components/schemas/FloatAgentOptionValidation" } }, "required": ["type"], "title": "list[f32]" }, { "type": "object", "properties": { "type": { "type": "string", "enum": ["i32"], "title": "String" }, "required": { "type": "boolean", "title": "Boolean" }, "display": { "$ref": "#/components/schemas/AgentOptionDisplay" }, "transport": { "$ref": "#/components/schemas/AgentOptionTransport" }, "description": { "type": "string", "title": "String" }, "default": { "type": "integer", "format": "int32", "title": "Int" }, "validation": { "$ref": "#/components/schemas/IntAgentOptionValidation" } }, "required": ["type"], "title": "i32" }, { "type": "object", "properties": { "type": { "type": "string", "enum": ["list[i32]"], "title": "String" }, "required": { "type": "boolean", "title": "Boolean" }, "display": { "$ref": "#/components/schemas/AgentOptionDisplay" }, "transport": { "$ref": "#/components/schemas/AgentOptionTransport" }, "description": { "type": "string", "title": "String" }, "default": { "type": "array", "items": { "type": "integer", "format": "int32", "title": "Int" }, "title": "ArrayList" }, "validation": { "$ref": "#/components/schemas/IntAgentOptionValidation" } }, "required": ["type"], "title": "list[i32]" }, { "type": "object", "properties": { "type": { "type": "string", "enum": ["i64"], "title": "String" }, "required": { "type": "boolean", "title": "Boolean" }, "display": { "$ref": "#/components/schemas/AgentOptionDisplay" }, "transport": { "$ref": "#/components/schemas/AgentOptionTransport" }, "description": { "type": "string", "title": "String" }, "default": { "type": "integer", "format": "int64", "title": "Long" }, "validation": { "$ref": "#/components/schemas/LongAgentOptionValidation" } }, "required": ["type"], "title": "i64" }, { "type": "object", "properties": { "type": { "type": "string", "enum": ["list[i64]"], "title": "String" }, "required": { "type": "boolean", "title": "Boolean" }, "display": { "$ref": "#/components/schemas/AgentOptionDisplay" }, "transport": { "$ref": "#/components/schemas/AgentOptionTransport" }, "description": { "type": "string", "title": "String" }, "default": { "type": "array", "items": { "type": "integer", "format": "int64", "title": "Long" }, "title": "ArrayList" }, "validation": { "$ref": "#/components/schemas/LongAgentOptionValidation" } }, "required": ["type"], "title": "list[i64]" }, { "type": "object", "properties": { "type": { "type": "string", "enum": ["number"], "title": "String" }, "required": { "type": "boolean", "title": "Boolean" }, "display": { "$ref": "#/components/schemas/AgentOptionDisplay" }, "transport": { "$ref": "#/components/schemas/AgentOptionTransport" }, "description": { "type": "string", "title": "String" }, "default": { "type": "number", "format": "double", "title": "Double" }, "validation": { "$ref": "#/components/schemas/DoubleAgentOptionValidation" } }, "required": ["type"], "title": "number" }, { "type": "object", "properties": { "type": { "type": "string", "enum": ["secret"], "title": "String" }, "required": { "type": "boolean", "title": "Boolean" }, "display": { "$ref": "#/components/schemas/AgentOptionDisplay" }, "transport": { "$ref": "#/components/schemas/AgentOptionTransport" }, "description": { "type": "string", "title": "String" }, "default": { "type": "string", "title": "String" }, "validation": { "$ref": "#/components/schemas/StringAgentOptionValidation" } }, "required": ["type"], "title": "secret" }, { "type": "object", "properties": { "type": { "type": "string", "enum": ["i16"], "title": "String" }, "required": { "type": "boolean", "title": "Boolean" }, "display": { "$ref": "#/components/schemas/AgentOptionDisplay" }, "transport": { "$ref": "#/components/schemas/AgentOptionTransport" }, "description": { "type": "string", "title": "String" }, "default": { "type": "integer", "maximum": 32767, "minimum": -32768, "title": "Short" }, "validation": { "$ref": "#/components/schemas/ShortAgentOptionValidation" } }, "required": ["type"], "title": "i16" }, { "type": "object", "properties": { "type": { "type": "string", "enum": ["list[i16]"], "title": "String" }, "required": { "type": "boolean", "title": "Boolean" }, "display": { "$ref": "#/components/schemas/AgentOptionDisplay" }, "transport": { "$ref": "#/components/schemas/AgentOptionTransport" }, "description": { "type": "string", "title": "String" }, "default": { "type": "array", "items": { "type": "integer", "maximum": 32767, "minimum": -32768, "title": "Short" }, "title": "ArrayList" }, "validation": { "$ref": "#/components/schemas/ShortAgentOptionValidation" } }, "required": ["type"], "title": "list[i16]" }, { "type": "object", "properties": { "type": { "type": "string", "enum": ["string"], "title": "String" }, "required": { "type": "boolean", "title": "Boolean" }, "display": { "$ref": "#/components/schemas/AgentOptionDisplay" }, "transport": { "$ref": "#/components/schemas/AgentOptionTransport" }, "description": { "type": "string", "title": "String" }, "default": { "type": "string", "title": "String" }, "validation": { "$ref": "#/components/schemas/StringAgentOptionValidation" }, "base64": { "type": "boolean", "title": "Boolean" }, "secret": { "type": "boolean", "title": "Boolean" } }, "required": ["type"], "title": "string" }, { "type": "object", "properties": { "type": { "type": "string", "enum": ["list[string]"], "title": "String" }, "required": { "type": "boolean", "title": "Boolean" }, "display": { "$ref": "#/components/schemas/AgentOptionDisplay" }, "transport": { "$ref": "#/components/schemas/AgentOptionTransport" }, "description": { "type": "string", "title": "String" }, "default": { "type": "array", "items": { "type": "string", "title": "String" }, "title": "ArrayList" }, "validation": { "$ref": "#/components/schemas/StringAgentOptionValidation" }, "base64": { "type": "boolean", "title": "Boolean" }, "secret": { "type": "boolean", "title": "Boolean" } }, "required": ["type"], "title": "list[string]" }, { "type": "object", "properties": { "type": { "type": "string", "enum": ["u8"], "title": "String" }, "required": { "type": "boolean", "title": "Boolean" }, "display": { "$ref": "#/components/schemas/AgentOptionDisplay" }, "transport": { "$ref": "#/components/schemas/AgentOptionTransport" }, "description": { "type": "string", "title": "String" }, "default": { "type": "integer", "maximum": 255, "minimum": 0, "title": "UByte" }, "validation": { "$ref": "#/components/schemas/UByteAgentOptionValidation" } }, "required": ["type"], "title": "u8" }, { "type": "object", "properties": { "type": { "type": "string", "enum": ["list[u8]"], "title": "String" }, "required": { "type": "boolean", "title": "Boolean" }, "display": { "$ref": "#/components/schemas/AgentOptionDisplay" }, "transport": { "$ref": "#/components/schemas/AgentOptionTransport" }, "description": { "type": "string", "title": "String" }, "default": { "type": "array", "items": { "type": "integer", "maximum": 255, "minimum": 0, "title": "UByte" }, "title": "ArrayList" }, "validation": { "$ref": "#/components/schemas/UByteAgentOptionValidation" } }, "required": ["type"], "title": "list[u8]" }, { "type": "object", "properties": { "type": { "type": "string", "enum": ["u32"], "title": "String" }, "required": { "type": "boolean", "title": "Boolean" }, "display": { "$ref": "#/components/schemas/AgentOptionDisplay" }, "transport": { "$ref": "#/components/schemas/AgentOptionTransport" }, "description": { "type": "string", "title": "String" }, "default": { "type": "integer", "maximum": 4294967295, "minimum": 0, "title": "UInt" }, "validation": { "$ref": "#/components/schemas/UIntAgentOptionValidation" } }, "required": ["type"], "title": "u32" }, { "type": "object", "properties": { "type": { "type": "string", "enum": ["list[u32]"], "title": "String" }, "required": { "type": "boolean", "title": "Boolean" }, "display": { "$ref": "#/components/schemas/AgentOptionDisplay" }, "transport": { "$ref": "#/components/schemas/AgentOptionTransport" }, "description": { "type": "string", "title": "String" }, "default": { "type": "array", "items": { "type": "integer", "maximum": 4294967295, "minimum": 0, "title": "UInt" }, "title": "ArrayList" }, "validation": { "$ref": "#/components/schemas/UIntAgentOptionValidation" } }, "required": ["type"], "title": "list[u32]" }, { "type": "object", "properties": { "type": { "type": "string", "enum": ["u64"], "title": "String" }, "required": { "type": "boolean", "title": "Boolean" }, "display": { "$ref": "#/components/schemas/AgentOptionDisplay" }, "transport": { "$ref": "#/components/schemas/AgentOptionTransport" }, "description": { "type": "string", "title": "String" }, "default": { "type": "string", "title": "String" }, "validation": { "$ref": "#/components/schemas/ULongAgentOptionValidation" } }, "required": ["type"], "title": "u64" }, { "type": "object", "properties": { "type": { "type": "string", "enum": ["list[u64]"], "title": "String" }, "required": { "type": "boolean", "title": "Boolean" }, "display": { "$ref": "#/components/schemas/AgentOptionDisplay" }, "transport": { "$ref": "#/components/schemas/AgentOptionTransport" }, "description": { "type": "string", "title": "String" }, "default": { "type": "array", "items": { "type": "string", "title": "String" }, "title": "ArrayList" }, "validation": { "$ref": "#/components/schemas/ULongAgentOptionValidation" } }, "required": ["type"], "title": "list[u64]" }, { "type": "object", "properties": { "type": { "type": "string", "enum": ["u16"], "title": "String" }, "required": { "type": "boolean", "title": "Boolean" }, "display": { "$ref": "#/components/schemas/AgentOptionDisplay" }, "transport": { "$ref": "#/components/schemas/AgentOptionTransport" }, "description": { "type": "string", "title": "String" }, "default": { "type": "integer", "maximum": 65535, "minimum": 0, "title": "UShort" }, "validation": { "$ref": "#/components/schemas/UShortAgentOptionValidation" } }, "required": ["type"], "title": "u16" }, { "type": "object", "properties": { "type": { "type": "string", "enum": ["list[u16]"], "title": "String" }, "required": { "type": "boolean", "title": "Boolean" }, "display": { "$ref": "#/components/schemas/AgentOptionDisplay" }, "transport": { "$ref": "#/components/schemas/AgentOptionTransport" }, "description": { "type": "string", "title": "String" }, "default": { "type": "array", "items": { "type": "integer", "maximum": 65535, "minimum": 0, "title": "UShort" }, "title": "ArrayList" }, "validation": { "$ref": "#/components/schemas/UShortAgentOptionValidation" } }, "required": ["type"], "title": "list[u16]" } ], "discriminator": { "propertyName": "type" }, "title": "AgentOption" }, "title": "LinkedHashMap" }, "exportSettings": { "type": "object", "additionalProperties": { "$ref": "#/components/schemas/PublicAgentExportSettings" }, "title": "LinkedHashMap" } }, "required": ["exportSettings", "id", "options", "runtimes"], "title": "PublicRegistryAgent" }, "AgentOptionDisplay": { "type": "object", "properties": { "label": { "type": "string", "title": "String" }, "description": { "type": "string", "title": "String" }, "group": { "type": "string", "title": "String" }, "multiline": { "type": "boolean", "title": "Boolean" } }, "title": "AgentOptionDisplay" }, "AgentOptionTransport": { "type": "string", "enum": ["env", "fs"], "title": "AgentOptionTransport" }, "BlobAgentOptionValidation": { "type": "object", "properties": { "min_size": { "$ref": "#/components/schemas/ValidationFileSize" }, "max_size": { "$ref": "#/components/schemas/ValidationFileSize" } }, "title": "BlobAgentOptionValidation" }, "ValidationFileSize": { "type": "object", "properties": { "size": { "type": "number", "format": "double", "title": "Double" }, "unit": { "$ref": "#/components/schemas/ByteUnitSizes" }, "byteCount": { "type": "integer", "format": "int64", "title": "Long" } }, "required": ["byteCount", "size", "unit"], "title": "ValidationFileSize" }, "ByteUnitSizes": { "type": "string", "enum": ["b", "KiB", "MiB", "GiB", "TiB", "kB", "MB", "GB", "TB"], "title": "ByteUnitSizes" }, "ByteAgentOptionValidation": { "type": "object", "properties": { "variants": { "type": "array", "items": { "type": "integer", "maximum": 127, "minimum": -128, "title": "Byte" }, "title": "ArrayList" }, "min": { "type": "integer", "maximum": 127, "minimum": -128, "title": "Byte" }, "max": { "type": "integer", "maximum": 127, "minimum": -128, "title": "Byte" } }, "title": "ByteAgentOptionValidation" }, "DoubleAgentOptionValidation": { "type": "object", "properties": { "variants": { "type": "array", "items": { "type": "number", "format": "double", "title": "Double" }, "title": "ArrayList" }, "min": { "type": "number", "format": "double", "title": "Double" }, "max": { "type": "number", "format": "double", "title": "Double" } }, "title": "DoubleAgentOptionValidation" }, "FloatAgentOptionValidation": { "type": "object", "properties": { "variants": { "type": "array", "items": { "type": "number", "format": "float", "title": "Float" }, "title": "ArrayList" }, "min": { "type": "number", "format": "float", "title": "Float" }, "max": { "type": "number", "format": "float", "title": "Float" } }, "title": "FloatAgentOptionValidation" }, "IntAgentOptionValidation": { "type": "object", "properties": { "variants": { "type": "array", "items": { "type": "integer", "format": "int32", "title": "Int" }, "title": "ArrayList" }, "min": { "type": "integer", "format": "int32", "title": "Int" }, "max": { "type": "integer", "format": "int32", "title": "Int" } }, "title": "IntAgentOptionValidation" }, "LongAgentOptionValidation": { "type": "object", "properties": { "variants": { "type": "array", "items": { "type": "integer", "format": "int64", "title": "Long" }, "title": "ArrayList" }, "min": { "type": "integer", "format": "int64", "title": "Long" }, "max": { "type": "integer", "format": "int64", "title": "Long" } }, "title": "LongAgentOptionValidation" }, "StringAgentOptionValidation": { "type": "object", "properties": { "variants": { "type": "array", "items": { "type": "string", "title": "String" }, "title": "ArrayList" }, "min_length": { "type": "integer", "format": "int32", "title": "Int" }, "max_length": { "type": "integer", "format": "int32", "title": "Int" }, "regex": { "type": "string", "title": "String" } }, "title": "StringAgentOptionValidation" }, "ShortAgentOptionValidation": { "type": "object", "properties": { "variants": { "type": "array", "items": { "type": "integer", "maximum": 32767, "minimum": -32768, "title": "Short" }, "title": "ArrayList" }, "min": { "type": "integer", "maximum": 32767, "minimum": -32768, "title": "Short" }, "max": { "type": "integer", "maximum": 32767, "minimum": -32768, "title": "Short" } }, "title": "ShortAgentOptionValidation" }, "UByteAgentOptionValidation": { "type": "object", "properties": { "variants": { "type": "array", "items": { "type": "integer", "maximum": 255, "minimum": 0, "title": "UByte" }, "title": "ArrayList" }, "min": { "type": "integer", "maximum": 255, "minimum": 0, "title": "UByte" }, "max": { "type": "integer", "maximum": 255, "minimum": 0, "title": "UByte" } }, "title": "UByteAgentOptionValidation" }, "UIntAgentOptionValidation": { "type": "object", "properties": { "variants": { "type": "array", "items": { "type": "integer", "maximum": 4294967295, "minimum": 0, "title": "UInt" }, "title": "ArrayList" }, "min": { "type": "integer", "maximum": 4294967295, "minimum": 0, "title": "UInt" }, "max": { "type": "integer", "maximum": 4294967295, "minimum": 0, "title": "UInt" } }, "title": "UIntAgentOptionValidation" }, "ULongAgentOptionValidation": { "type": "object", "properties": { "variants": { "type": "array", "items": { "type": "integer", "title": "ULong" }, "title": "ArrayList" }, "min": { "type": "integer", "title": "ULong" }, "max": { "type": "integer", "title": "ULong" } }, "title": "ULongAgentOptionValidation" }, "UShortAgentOptionValidation": { "type": "object", "properties": { "variants": { "type": "array", "items": { "type": "integer", "maximum": 65535, "minimum": 0, "title": "UShort" }, "title": "ArrayList" }, "min": { "type": "integer", "maximum": 65535, "minimum": 0, "title": "UShort" }, "max": { "type": "integer", "maximum": 65535, "minimum": 0, "title": "UShort" } }, "title": "UShortAgentOptionValidation" }, "PublicAgentExportSettings": { "type": "object", "properties": { "quantity": { "type": "integer", "maximum": 4294967295, "minimum": 0, "title": "UInt" }, "pricing": { "$ref": "#/components/schemas/RegistryAgentExportPricing" } }, "required": ["pricing", "quantity"], "title": "PublicAgentExportSettings" }, "RegistryAgentExportPricing": { "type": "object", "properties": { "min_price": { "anyOf": [ { "type": "object", "properties": { "type": { "type": "string", "enum": ["coral"], "title": "String" }, "amount": { "type": "number", "format": "double", "title": "Double" } }, "required": ["amount", "type"], "title": "coral" }, { "type": "object", "properties": { "type": { "type": "string", "enum": ["micro_coral"], "title": "String" }, "amount": { "type": "integer", "format": "int64", "title": "Long" } }, "required": ["amount", "type"], "title": "micro_coral" }, { "type": "object", "properties": { "type": { "type": "string", "enum": ["usd"], "title": "String" }, "amount": { "type": "number", "format": "double", "title": "Double" } }, "required": ["amount", "type"], "title": "usd" } ], "discriminator": { "propertyName": "type" }, "title": "AgentClaimAmount" }, "max_price": { "anyOf": [ { "type": "object", "properties": { "type": { "type": "string", "enum": ["coral"], "title": "String" }, "amount": { "type": "number", "format": "double", "title": "Double" } }, "required": ["amount", "type"], "title": "coral" }, { "type": "object", "properties": { "type": { "type": "string", "enum": ["micro_coral"], "title": "String" }, "amount": { "type": "integer", "format": "int64", "title": "Long" } }, "required": ["amount", "type"], "title": "micro_coral" }, { "type": "object", "properties": { "type": { "type": "string", "enum": ["usd"], "title": "String" }, "amount": { "type": "number", "format": "double", "title": "Double" } }, "required": ["amount", "type"], "title": "usd" } ], "discriminator": { "propertyName": "type" }, "title": "AgentClaimAmount" } }, "required": ["max_price", "min_price"], "title": "RegistryAgentExportPricing" } }, "examples": {} }, "webhooks": {} }