Some checks failed
Blockchain Synchronization Verification / sync-verification (push) Failing after 8s
CLI Tests / test-cli (push) Successful in 10s
Contract Performance Benchmarks / benchmark-gas-usage (push) Successful in 1m22s
Contract Performance Benchmarks / benchmark-execution-time (push) Successful in 1m11s
Contract Performance Benchmarks / benchmark-throughput (push) Successful in 1m13s
Cross-Chain Functionality Tests / test-cross-chain-sync (push) Failing after 5s
Cross-Chain Functionality Tests / test-cross-chain-transactions (push) Successful in 5s
Cross-Chain Functionality Tests / test-cross-chain-bridge (push) Has been skipped
Cross-Chain Functionality Tests / test-multi-chain-consensus (push) Failing after 3s
Cross-Chain Functionality Tests / aggregate-results (push) Has been skipped
Cross-Node Transaction Testing / transaction-test (push) Successful in 5s
Deploy to Testnet / deploy-testnet (push) Successful in 1m14s
Contract Performance Benchmarks / compare-benchmarks (push) Has been cancelled
Documentation Validation / validate-docs (push) Failing after 10s
Multi-Node Stress Testing / stress-test (push) Has been cancelled
Node Failover Simulation / failover-test (push) Has been cancelled
Security Scanning / security-scan (push) Has been cancelled
Smart Contract Tests / test-solidity (map[name:aitbc-contracts path:contracts]) (push) Has been cancelled
Smart Contract Tests / test-solidity (map[name:aitbc-token path:packages/solidity/aitbc-token]) (push) Has been cancelled
Smart Contract Tests / test-foundry (push) Has been cancelled
Smart Contract Tests / lint-solidity (push) Has been cancelled
Smart Contract Tests / deploy-contracts (push) Has been cancelled
Documentation Validation / validate-policies-strict (push) Successful in 3s
Integration Tests / test-service-integration (push) Failing after 45s
Multi-Chain Island Architecture Tests / test-multi-chain-island (push) Failing after 2s
Multi-Node Blockchain Health Monitoring / health-check (push) Successful in 5s
P2P Network Verification / p2p-verification (push) Successful in 3s
Production Tests / Production Integration Tests (push) Failing after 7s
Python Tests / test-python (push) Failing after 46s
Staking Tests / test-staking-service (push) Failing after 2s
Staking Tests / test-staking-integration (push) Has been skipped
Staking Tests / test-staking-contract (push) Has been skipped
Staking Tests / run-staking-test-runner (push) Has been skipped
Systemd Sync / sync-systemd (push) Successful in 21s
API Endpoint Tests / test-api-endpoints (push) Failing after 12m19s
- Changed pytest calls to use `venv/bin/python -m pytest` with explicit config - Added `--rootdir "$PWD"` and `--import-mode=importlib` for consistent imports - Fixed PYTHONPATH to use absolute paths with $PWD prefix - Added smart contract security scanning for Solidity files - Added Circom circuit security checks for ZK proof circuits - Added ZK proof implementation security validation - Added contracts/** to security scanning workflow
20854 lines
552 KiB
JSON
20854 lines
552 KiB
JSON
{
|
|
"openapi": "3.1.0",
|
|
"info": {
|
|
"title": "AITBC Coordinator API API",
|
|
"description": "OpenAPI specification for AITBC Coordinator API service",
|
|
"version": "1.0.0"
|
|
},
|
|
"paths": {
|
|
"/v1/jobs": {
|
|
"post": {
|
|
"tags": [
|
|
"client"
|
|
],
|
|
"summary": "Submit a job",
|
|
"operationId": "submit_job_v1_jobs_post",
|
|
"parameters": [
|
|
{
|
|
"name": "X-Api-Key",
|
|
"in": "header",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "X-Api-Key"
|
|
}
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"required": true,
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/app__schemas__JobCreate"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"201": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/JobView"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"get": {
|
|
"tags": [
|
|
"client"
|
|
],
|
|
"summary": "List jobs with filtering",
|
|
"description": "List jobs with optional filtering by status and type",
|
|
"operationId": "list_jobs_v1_jobs_get",
|
|
"parameters": [
|
|
{
|
|
"name": "limit",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"type": "integer",
|
|
"default": 20,
|
|
"title": "Limit"
|
|
}
|
|
},
|
|
{
|
|
"name": "offset",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"type": "integer",
|
|
"default": 0,
|
|
"title": "Offset"
|
|
}
|
|
},
|
|
{
|
|
"name": "status",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Status"
|
|
}
|
|
},
|
|
{
|
|
"name": "job_type",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Job Type"
|
|
}
|
|
},
|
|
{
|
|
"name": "X-Api-Key",
|
|
"in": "header",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "X-Api-Key"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response List Jobs V1 Jobs Get"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/jobs/{job_id}": {
|
|
"get": {
|
|
"tags": [
|
|
"client"
|
|
],
|
|
"summary": "Get job status",
|
|
"operationId": "get_job_v1_jobs__job_id__get",
|
|
"parameters": [
|
|
{
|
|
"name": "job_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Job Id"
|
|
}
|
|
},
|
|
{
|
|
"name": "X-Api-Key",
|
|
"in": "header",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "X-Api-Key"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/JobView"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/jobs/{job_id}/result": {
|
|
"get": {
|
|
"tags": [
|
|
"client"
|
|
],
|
|
"summary": "Get job result",
|
|
"operationId": "get_job_result_v1_jobs__job_id__result_get",
|
|
"parameters": [
|
|
{
|
|
"name": "job_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Job Id"
|
|
}
|
|
},
|
|
{
|
|
"name": "X-Api-Key",
|
|
"in": "header",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "X-Api-Key"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/JobResult"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/jobs/{job_id}/cancel": {
|
|
"post": {
|
|
"tags": [
|
|
"client"
|
|
],
|
|
"summary": "Cancel job",
|
|
"operationId": "cancel_job_v1_jobs__job_id__cancel_post",
|
|
"parameters": [
|
|
{
|
|
"name": "job_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Job Id"
|
|
}
|
|
},
|
|
{
|
|
"name": "X-Api-Key",
|
|
"in": "header",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "X-Api-Key"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/JobView"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/jobs/{job_id}/receipt": {
|
|
"get": {
|
|
"tags": [
|
|
"client"
|
|
],
|
|
"summary": "Get latest signed receipt",
|
|
"operationId": "get_job_receipt_v1_jobs__job_id__receipt_get",
|
|
"parameters": [
|
|
{
|
|
"name": "job_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Job Id"
|
|
}
|
|
},
|
|
{
|
|
"name": "X-Api-Key",
|
|
"in": "header",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "X-Api-Key"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Get Job Receipt V1 Jobs Job Id Receipt Get"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/jobs/{job_id}/receipts": {
|
|
"get": {
|
|
"tags": [
|
|
"client"
|
|
],
|
|
"summary": "List signed receipts",
|
|
"operationId": "list_job_receipts_v1_jobs__job_id__receipts_get",
|
|
"parameters": [
|
|
{
|
|
"name": "job_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Job Id"
|
|
}
|
|
},
|
|
{
|
|
"name": "X-Api-Key",
|
|
"in": "header",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "X-Api-Key"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response List Job Receipts V1 Jobs Job Id Receipts Get"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/jobs/history": {
|
|
"get": {
|
|
"tags": [
|
|
"client"
|
|
],
|
|
"summary": "Get job history",
|
|
"description": "Get job history with time range filtering",
|
|
"operationId": "get_job_history_v1_jobs_history_get",
|
|
"parameters": [
|
|
{
|
|
"name": "limit",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"type": "integer",
|
|
"default": 20,
|
|
"title": "Limit"
|
|
}
|
|
},
|
|
{
|
|
"name": "offset",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"type": "integer",
|
|
"default": 0,
|
|
"title": "Offset"
|
|
}
|
|
},
|
|
{
|
|
"name": "status",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Status"
|
|
}
|
|
},
|
|
{
|
|
"name": "job_type",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Job Type"
|
|
}
|
|
},
|
|
{
|
|
"name": "from_time",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "From Time"
|
|
}
|
|
},
|
|
{
|
|
"name": "to_time",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "To Time"
|
|
}
|
|
},
|
|
{
|
|
"name": "X-Api-Key",
|
|
"in": "header",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "X-Api-Key"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Get Job History V1 Jobs History Get"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/blocks": {
|
|
"get": {
|
|
"tags": [
|
|
"client"
|
|
],
|
|
"summary": "Get blockchain blocks",
|
|
"description": "Get recent blockchain blocks",
|
|
"operationId": "get_blocks_v1_blocks_get",
|
|
"parameters": [
|
|
{
|
|
"name": "limit",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"type": "integer",
|
|
"default": 20,
|
|
"title": "Limit"
|
|
}
|
|
},
|
|
{
|
|
"name": "offset",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"type": "integer",
|
|
"default": 0,
|
|
"title": "Offset"
|
|
}
|
|
},
|
|
{
|
|
"name": "X-Api-Key",
|
|
"in": "header",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "X-Api-Key"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Get Blocks V1 Blocks Get"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/agents/networks": {
|
|
"post": {
|
|
"tags": [
|
|
"AI Agents"
|
|
],
|
|
"summary": "Create Agent Network",
|
|
"description": "Create a new agent network for collaborative processing",
|
|
"operationId": "create_agent_network_v1_agents_networks_post",
|
|
"parameters": [
|
|
{
|
|
"name": "args",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"title": "Args"
|
|
}
|
|
},
|
|
{
|
|
"name": "kwargs",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"title": "Kwargs"
|
|
}
|
|
},
|
|
{
|
|
"name": "X-Api-Key",
|
|
"in": "header",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "X-Api-Key"
|
|
}
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"required": true,
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Network Data"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"201": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Create Agent Network V1 Agents Networks Post"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/agents/executions/{execution_id}/receipt": {
|
|
"get": {
|
|
"tags": [
|
|
"AI Agents"
|
|
],
|
|
"summary": "Get Execution Receipt",
|
|
"description": "Get verifiable receipt for completed execution",
|
|
"operationId": "get_execution_receipt_v1_agents_executions__execution_id__receipt_get",
|
|
"parameters": [
|
|
{
|
|
"name": "execution_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Execution Id"
|
|
}
|
|
},
|
|
{
|
|
"name": "args",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"title": "Args"
|
|
}
|
|
},
|
|
{
|
|
"name": "kwargs",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"title": "Kwargs"
|
|
}
|
|
},
|
|
{
|
|
"name": "X-Api-Key",
|
|
"in": "header",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "X-Api-Key"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Get Execution Receipt V1 Agents Executions Execution Id Receipt Get"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/admin/debug-settings": {
|
|
"get": {
|
|
"tags": [
|
|
"admin"
|
|
],
|
|
"summary": "Debug settings",
|
|
"operationId": "debug_settings_v1_admin_debug_settings_get",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"additionalProperties": true,
|
|
"type": "object",
|
|
"title": "Response Debug Settings V1 Admin Debug Settings Get"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/admin/debug/create-test-miner": {
|
|
"post": {
|
|
"tags": [
|
|
"admin"
|
|
],
|
|
"summary": "Create a test miner for debugging",
|
|
"description": "Create a test miner for debugging marketplace sync",
|
|
"operationId": "create_test_miner_v1_admin_debug_create_test_miner_post",
|
|
"parameters": [
|
|
{
|
|
"name": "X-Api-Key",
|
|
"in": "header",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "X-Api-Key"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": {
|
|
"type": "string"
|
|
},
|
|
"title": "Response Create Test Miner V1 Admin Debug Create Test Miner Post"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/admin/test-key": {
|
|
"get": {
|
|
"tags": [
|
|
"admin"
|
|
],
|
|
"summary": "Test API key validation",
|
|
"operationId": "test_key_v1_admin_test_key_get",
|
|
"parameters": [
|
|
{
|
|
"name": "X-Api-Key",
|
|
"in": "header",
|
|
"required": false,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "X-Api-Key"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": {
|
|
"type": "string"
|
|
},
|
|
"title": "Response Test Key V1 Admin Test Key Get"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/admin/stats": {
|
|
"get": {
|
|
"tags": [
|
|
"admin"
|
|
],
|
|
"summary": "Get coordinator stats",
|
|
"operationId": "get_stats_v1_admin_stats_get",
|
|
"parameters": [
|
|
{
|
|
"name": "X-Api-Key",
|
|
"in": "header",
|
|
"required": false,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "X-Api-Key"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": {
|
|
"type": "integer"
|
|
},
|
|
"title": "Response Get Stats V1 Admin Stats Get"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/admin/jobs": {
|
|
"get": {
|
|
"tags": [
|
|
"admin"
|
|
],
|
|
"summary": "List jobs",
|
|
"operationId": "list_jobs_v1_admin_jobs_get",
|
|
"parameters": [
|
|
{
|
|
"name": "X-Api-Key",
|
|
"in": "header",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "X-Api-Key"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"additionalProperties": true
|
|
}
|
|
},
|
|
"title": "Response List Jobs V1 Admin Jobs Get"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/admin/miners": {
|
|
"get": {
|
|
"tags": [
|
|
"admin"
|
|
],
|
|
"summary": "List miners",
|
|
"operationId": "list_miners_v1_admin_miners_get",
|
|
"parameters": [
|
|
{
|
|
"name": "X-Api-Key",
|
|
"in": "header",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "X-Api-Key"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"additionalProperties": true
|
|
}
|
|
},
|
|
"title": "Response List Miners V1 Admin Miners Get"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/admin/status": {
|
|
"get": {
|
|
"tags": [
|
|
"admin"
|
|
],
|
|
"summary": "Get system status",
|
|
"description": "Get comprehensive system status for admin dashboard",
|
|
"operationId": "get_system_status_v1_admin_status_get",
|
|
"parameters": [
|
|
{
|
|
"name": "X-Api-Key",
|
|
"in": "header",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "X-Api-Key"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/admin/agents/networks": {
|
|
"post": {
|
|
"tags": [
|
|
"admin"
|
|
],
|
|
"summary": "Create Agent Network",
|
|
"description": "Create a new agent network for collaborative processing",
|
|
"operationId": "create_agent_network_v1_admin_agents_networks_post",
|
|
"requestBody": {
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"additionalProperties": true,
|
|
"type": "object",
|
|
"title": "Network Data"
|
|
}
|
|
}
|
|
},
|
|
"required": true
|
|
},
|
|
"responses": {
|
|
"201": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"additionalProperties": true,
|
|
"type": "object",
|
|
"title": "Response Create Agent Network V1 Admin Agents Networks Post"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/admin/agents/executions/{execution_id}/receipt": {
|
|
"get": {
|
|
"tags": [
|
|
"admin"
|
|
],
|
|
"summary": "Get Execution Receipt",
|
|
"description": "Get verifiable receipt for completed execution",
|
|
"operationId": "get_execution_receipt_v1_admin_agents_executions__execution_id__receipt_get",
|
|
"parameters": [
|
|
{
|
|
"name": "execution_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Execution Id"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Get Execution Receipt V1 Admin Agents Executions Execution Id Receipt Get"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/marketplace/offers": {
|
|
"get": {
|
|
"tags": [
|
|
"marketplace"
|
|
],
|
|
"summary": "List marketplace offers",
|
|
"operationId": "list_marketplace_offers_v1_marketplace_offers_get",
|
|
"parameters": [
|
|
{
|
|
"name": "status",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"description": "Filter by offer status",
|
|
"title": "Status"
|
|
},
|
|
"description": "Filter by offer status"
|
|
},
|
|
{
|
|
"name": "limit",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"type": "integer",
|
|
"maximum": 500,
|
|
"minimum": 1,
|
|
"default": 100,
|
|
"title": "Limit"
|
|
}
|
|
},
|
|
{
|
|
"name": "offset",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"type": "integer",
|
|
"minimum": 0,
|
|
"default": 0,
|
|
"title": "Offset"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/MarketplaceOfferView"
|
|
},
|
|
"title": "Response List Marketplace Offers V1 Marketplace Offers Get"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/marketplace/stats": {
|
|
"get": {
|
|
"tags": [
|
|
"marketplace"
|
|
],
|
|
"summary": "Get marketplace summary statistics",
|
|
"operationId": "get_marketplace_stats_v1_marketplace_stats_get",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/MarketplaceStatsView"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/marketplace/bids": {
|
|
"post": {
|
|
"tags": [
|
|
"marketplace"
|
|
],
|
|
"summary": "Submit a marketplace bid",
|
|
"operationId": "submit_marketplace_bid_v1_marketplace_bids_post",
|
|
"requestBody": {
|
|
"required": true,
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/MarketplaceBidRequest"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"202": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": {
|
|
"type": "string"
|
|
},
|
|
"title": "Response Submit Marketplace Bid V1 Marketplace Bids Post"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"get": {
|
|
"tags": [
|
|
"marketplace"
|
|
],
|
|
"summary": "List marketplace bids",
|
|
"operationId": "list_marketplace_bids_v1_marketplace_bids_get",
|
|
"parameters": [
|
|
{
|
|
"name": "status",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"description": "Filter by bid status",
|
|
"title": "Status"
|
|
},
|
|
"description": "Filter by bid status"
|
|
},
|
|
{
|
|
"name": "provider",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"description": "Filter by provider ID",
|
|
"title": "Provider"
|
|
},
|
|
"description": "Filter by provider ID"
|
|
},
|
|
{
|
|
"name": "limit",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"type": "integer",
|
|
"maximum": 500,
|
|
"minimum": 1,
|
|
"default": 100,
|
|
"title": "Limit"
|
|
}
|
|
},
|
|
{
|
|
"name": "offset",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"type": "integer",
|
|
"minimum": 0,
|
|
"default": 0,
|
|
"title": "Offset"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/MarketplaceBidView"
|
|
},
|
|
"title": "Response List Marketplace Bids V1 Marketplace Bids Get"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/marketplace/bids/{bid_id}": {
|
|
"get": {
|
|
"tags": [
|
|
"marketplace"
|
|
],
|
|
"summary": "Get bid details",
|
|
"operationId": "get_marketplace_bid_v1_marketplace_bids__bid_id__get",
|
|
"parameters": [
|
|
{
|
|
"name": "bid_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Bid Id"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/MarketplaceBidView"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/marketplace/gpu/register": {
|
|
"post": {
|
|
"tags": [
|
|
"marketplace-gpu"
|
|
],
|
|
"summary": "Register Gpu",
|
|
"description": "Register a GPU in the marketplace.",
|
|
"operationId": "register_gpu_v1_marketplace_gpu_register_post",
|
|
"requestBody": {
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"additionalProperties": true,
|
|
"type": "object",
|
|
"title": "Request"
|
|
}
|
|
}
|
|
},
|
|
"required": true
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"additionalProperties": true,
|
|
"type": "object",
|
|
"title": "Response Register Gpu V1 Marketplace Gpu Register Post"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/marketplace/gpu/list": {
|
|
"get": {
|
|
"tags": [
|
|
"marketplace-gpu"
|
|
],
|
|
"summary": "List Gpus",
|
|
"description": "List GPUs with optional filters.",
|
|
"operationId": "list_gpus_v1_marketplace_gpu_list_get",
|
|
"parameters": [
|
|
{
|
|
"name": "available",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Available"
|
|
}
|
|
},
|
|
{
|
|
"name": "price_max",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "number"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Price Max"
|
|
}
|
|
},
|
|
{
|
|
"name": "region",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Region"
|
|
}
|
|
},
|
|
{
|
|
"name": "model",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Model"
|
|
}
|
|
},
|
|
{
|
|
"name": "limit",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"type": "integer",
|
|
"maximum": 500,
|
|
"minimum": 1,
|
|
"default": 100,
|
|
"title": "Limit"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"additionalProperties": true
|
|
},
|
|
"title": "Response List Gpus V1 Marketplace Gpu List Get"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/marketplace/gpu/{gpu_id}": {
|
|
"get": {
|
|
"tags": [
|
|
"marketplace-gpu"
|
|
],
|
|
"summary": "Get Gpu Details",
|
|
"description": "Get GPU details.",
|
|
"operationId": "get_gpu_details_v1_marketplace_gpu__gpu_id__get",
|
|
"parameters": [
|
|
{
|
|
"name": "gpu_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Gpu Id"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Get Gpu Details V1 Marketplace Gpu Gpu Id Get"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"delete": {
|
|
"tags": [
|
|
"marketplace-gpu"
|
|
],
|
|
"summary": "Delete Gpu",
|
|
"description": "Delete (unregister) a GPU from the marketplace.",
|
|
"operationId": "delete_gpu_v1_marketplace_gpu__gpu_id__delete",
|
|
"parameters": [
|
|
{
|
|
"name": "gpu_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Gpu Id"
|
|
}
|
|
},
|
|
{
|
|
"name": "force",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"type": "boolean",
|
|
"description": "Force delete even if GPU is booked",
|
|
"default": false,
|
|
"title": "Force"
|
|
},
|
|
"description": "Force delete even if GPU is booked"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Delete Gpu V1 Marketplace Gpu Gpu Id Delete"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/marketplace/gpu/purchase": {
|
|
"post": {
|
|
"tags": [
|
|
"marketplace-gpu"
|
|
],
|
|
"summary": "Buy Gpu",
|
|
"description": "Buy GPU compute from marketplace with blockchain payment and AI job scheduling.",
|
|
"operationId": "buy_gpu_v1_marketplace_gpu_purchase_post",
|
|
"requestBody": {
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/GPUBuyRequest"
|
|
}
|
|
}
|
|
},
|
|
"required": true
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"additionalProperties": true,
|
|
"type": "object",
|
|
"title": "Response Buy Gpu V1 Marketplace Gpu Purchase Post"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/marketplace/gpu/sell": {
|
|
"post": {
|
|
"tags": [
|
|
"marketplace-gpu"
|
|
],
|
|
"summary": "Sell Gpu",
|
|
"description": "List GPU for sale on marketplace with specified price.",
|
|
"operationId": "sell_gpu_v1_marketplace_gpu_sell_post",
|
|
"requestBody": {
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/GPUSellRequest"
|
|
}
|
|
}
|
|
},
|
|
"required": true
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"additionalProperties": true,
|
|
"type": "object",
|
|
"title": "Response Sell Gpu V1 Marketplace Gpu Sell Post"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/marketplace/gpu/{gpu_id}/book": {
|
|
"post": {
|
|
"tags": [
|
|
"marketplace-gpu"
|
|
],
|
|
"summary": "Book Gpu",
|
|
"description": "Book a GPU with dynamic pricing.",
|
|
"operationId": "book_gpu_v1_marketplace_gpu__gpu_id__book_post",
|
|
"parameters": [
|
|
{
|
|
"name": "gpu_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Gpu Id"
|
|
}
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"required": true,
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/GPUBookRequest"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"201": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Book Gpu V1 Marketplace Gpu Gpu Id Book Post"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/marketplace/gpu/{gpu_id}/release": {
|
|
"post": {
|
|
"tags": [
|
|
"marketplace-gpu"
|
|
],
|
|
"summary": "Release Gpu",
|
|
"description": "Release a booked GPU.",
|
|
"operationId": "release_gpu_v1_marketplace_gpu__gpu_id__release_post",
|
|
"parameters": [
|
|
{
|
|
"name": "gpu_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Gpu Id"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Release Gpu V1 Marketplace Gpu Gpu Id Release Post"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/marketplace/gpu/{gpu_id}/confirm": {
|
|
"post": {
|
|
"tags": [
|
|
"marketplace-gpu"
|
|
],
|
|
"summary": "Confirm Gpu Booking",
|
|
"description": "Confirm a booking (client ACK).",
|
|
"operationId": "confirm_gpu_booking_v1_marketplace_gpu__gpu_id__confirm_post",
|
|
"parameters": [
|
|
{
|
|
"name": "gpu_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Gpu Id"
|
|
}
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"required": true,
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/GPUConfirmRequest"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Confirm Gpu Booking V1 Marketplace Gpu Gpu Id Confirm Post"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/tasks/ollama": {
|
|
"post": {
|
|
"tags": [
|
|
"marketplace-gpu"
|
|
],
|
|
"summary": "Submit Ollama Task",
|
|
"description": "Stub Ollama task submission endpoint.",
|
|
"operationId": "submit_ollama_task_v1_tasks_ollama_post",
|
|
"requestBody": {
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/OllamaTaskRequest"
|
|
}
|
|
}
|
|
},
|
|
"required": true
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"additionalProperties": true,
|
|
"type": "object",
|
|
"title": "Response Submit Ollama Task V1 Tasks Ollama Post"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/payments/send": {
|
|
"post": {
|
|
"tags": [
|
|
"marketplace-gpu"
|
|
],
|
|
"summary": "Send Payment",
|
|
"description": "Stub payment endpoint (hook for blockchain processor).",
|
|
"operationId": "send_payment_v1_payments_send_post",
|
|
"requestBody": {
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/PaymentRequest"
|
|
}
|
|
}
|
|
},
|
|
"required": true
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"additionalProperties": true,
|
|
"type": "object",
|
|
"title": "Response Send Payment V1 Payments Send Post"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/marketplace/gpu/{gpu_id}/reviews": {
|
|
"get": {
|
|
"tags": [
|
|
"marketplace-gpu"
|
|
],
|
|
"summary": "Get Gpu Reviews",
|
|
"description": "Get GPU reviews.",
|
|
"operationId": "get_gpu_reviews_v1_marketplace_gpu__gpu_id__reviews_get",
|
|
"parameters": [
|
|
{
|
|
"name": "gpu_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Gpu Id"
|
|
}
|
|
},
|
|
{
|
|
"name": "limit",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"type": "integer",
|
|
"maximum": 100,
|
|
"minimum": 1,
|
|
"default": 10,
|
|
"title": "Limit"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Get Gpu Reviews V1 Marketplace Gpu Gpu Id Reviews Get"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"post": {
|
|
"tags": [
|
|
"marketplace-gpu"
|
|
],
|
|
"summary": "Add Gpu Review",
|
|
"description": "Add a review for a GPU.",
|
|
"operationId": "add_gpu_review_v1_marketplace_gpu__gpu_id__reviews_post",
|
|
"parameters": [
|
|
{
|
|
"name": "gpu_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Gpu Id"
|
|
}
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"required": true,
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/GPUReviewRequest"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"201": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Add Gpu Review V1 Marketplace Gpu Gpu Id Reviews Post"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/marketplace/orders": {
|
|
"get": {
|
|
"tags": [
|
|
"marketplace-gpu"
|
|
],
|
|
"summary": "List Orders",
|
|
"description": "List orders (bookings).",
|
|
"operationId": "list_orders_v1_marketplace_orders_get",
|
|
"parameters": [
|
|
{
|
|
"name": "status",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Status"
|
|
}
|
|
},
|
|
{
|
|
"name": "limit",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"type": "integer",
|
|
"maximum": 500,
|
|
"minimum": 1,
|
|
"default": 100,
|
|
"title": "Limit"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"additionalProperties": true
|
|
},
|
|
"title": "Response List Orders V1 Marketplace Orders Get"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/marketplace/pricing/{model}": {
|
|
"get": {
|
|
"tags": [
|
|
"marketplace-gpu"
|
|
],
|
|
"summary": "Get Pricing",
|
|
"description": "Get enhanced pricing information for a model with dynamic pricing.",
|
|
"operationId": "get_pricing_v1_marketplace_pricing__model__get",
|
|
"parameters": [
|
|
{
|
|
"name": "model",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Model"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Get Pricing V1 Marketplace Pricing Model Get"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/marketplace/gpu/bid": {
|
|
"post": {
|
|
"tags": [
|
|
"marketplace-gpu"
|
|
],
|
|
"summary": "Bid Gpu",
|
|
"description": "Place a bid on a GPU",
|
|
"operationId": "bid_gpu_v1_marketplace_gpu_bid_post",
|
|
"requestBody": {
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"additionalProperties": true,
|
|
"type": "object",
|
|
"title": "Request"
|
|
}
|
|
}
|
|
},
|
|
"required": true
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"additionalProperties": true,
|
|
"type": "object",
|
|
"title": "Response Bid Gpu V1 Marketplace Gpu Bid Post"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/explorer/blocks": {
|
|
"get": {
|
|
"tags": [
|
|
"explorer"
|
|
],
|
|
"summary": "List recent blocks",
|
|
"operationId": "list_blocks_v1_explorer_blocks_get",
|
|
"parameters": [
|
|
{
|
|
"name": "limit",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"type": "integer",
|
|
"maximum": 200,
|
|
"minimum": 1,
|
|
"default": 20,
|
|
"title": "Limit"
|
|
}
|
|
},
|
|
{
|
|
"name": "offset",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"type": "integer",
|
|
"minimum": 0,
|
|
"default": 0,
|
|
"title": "Offset"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/BlockListResponse"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/explorer/transactions": {
|
|
"get": {
|
|
"tags": [
|
|
"explorer"
|
|
],
|
|
"summary": "List recent transactions",
|
|
"operationId": "list_transactions_v1_explorer_transactions_get",
|
|
"parameters": [
|
|
{
|
|
"name": "limit",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"type": "integer",
|
|
"maximum": 200,
|
|
"minimum": 1,
|
|
"default": 50,
|
|
"title": "Limit"
|
|
}
|
|
},
|
|
{
|
|
"name": "offset",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"type": "integer",
|
|
"minimum": 0,
|
|
"default": 0,
|
|
"title": "Offset"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/TransactionListResponse"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/explorer/addresses": {
|
|
"get": {
|
|
"tags": [
|
|
"explorer"
|
|
],
|
|
"summary": "List address summaries",
|
|
"operationId": "list_addresses_v1_explorer_addresses_get",
|
|
"parameters": [
|
|
{
|
|
"name": "limit",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"type": "integer",
|
|
"maximum": 200,
|
|
"minimum": 1,
|
|
"default": 50,
|
|
"title": "Limit"
|
|
}
|
|
},
|
|
{
|
|
"name": "offset",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"type": "integer",
|
|
"minimum": 0,
|
|
"default": 0,
|
|
"title": "Offset"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AddressListResponse"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/explorer/receipts": {
|
|
"get": {
|
|
"tags": [
|
|
"explorer"
|
|
],
|
|
"summary": "List job receipts",
|
|
"operationId": "list_receipts_v1_explorer_receipts_get",
|
|
"parameters": [
|
|
{
|
|
"name": "job_id",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"description": "Filter by job identifier",
|
|
"title": "Job Id"
|
|
},
|
|
"description": "Filter by job identifier"
|
|
},
|
|
{
|
|
"name": "limit",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"type": "integer",
|
|
"maximum": 200,
|
|
"minimum": 1,
|
|
"default": 50,
|
|
"title": "Limit"
|
|
}
|
|
},
|
|
{
|
|
"name": "offset",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"type": "integer",
|
|
"minimum": 0,
|
|
"default": 0,
|
|
"title": "Offset"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ReceiptListResponse"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/explorer/transactions/{tx_hash}": {
|
|
"get": {
|
|
"tags": [
|
|
"explorer"
|
|
],
|
|
"summary": "Get transaction details by hash",
|
|
"description": "Get transaction details by hash from blockchain RPC",
|
|
"operationId": "get_transaction_v1_explorer_transactions__tx_hash__get",
|
|
"parameters": [
|
|
{
|
|
"name": "tx_hash",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Tx Hash"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Get Transaction V1 Explorer Transactions Tx Hash Get"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/services/{service_type}": {
|
|
"post": {
|
|
"tags": [
|
|
"services"
|
|
],
|
|
"summary": "Submit a service-specific job",
|
|
"description": "Submit a job for a specific service type\n\nDEPRECATED: Use /v1/registry/services/{service_id} endpoint instead.\nThis endpoint will be removed in version 2.0.",
|
|
"operationId": "submit_service_job_v1_services__service_type__post",
|
|
"deprecated": true,
|
|
"parameters": [
|
|
{
|
|
"name": "service_type",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ServiceType"
|
|
}
|
|
},
|
|
{
|
|
"name": "user-agent",
|
|
"in": "header",
|
|
"required": false,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "User-Agent"
|
|
}
|
|
},
|
|
{
|
|
"name": "X-Api-Key",
|
|
"in": "header",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "X-Api-Key"
|
|
}
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"required": true,
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Request Data"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"201": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ServiceResponse"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/services/whisper/transcribe": {
|
|
"post": {
|
|
"tags": [
|
|
"services"
|
|
],
|
|
"summary": "Transcribe audio using Whisper",
|
|
"description": "Transcribe audio file using Whisper",
|
|
"operationId": "whisper_transcribe_v1_services_whisper_transcribe_post",
|
|
"parameters": [
|
|
{
|
|
"name": "X-Api-Key",
|
|
"in": "header",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "X-Api-Key"
|
|
}
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"required": true,
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/WhisperRequest"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"201": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ServiceResponse"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/services/whisper/translate": {
|
|
"post": {
|
|
"tags": [
|
|
"services"
|
|
],
|
|
"summary": "Translate audio using Whisper",
|
|
"description": "Translate audio file using Whisper",
|
|
"operationId": "whisper_translate_v1_services_whisper_translate_post",
|
|
"parameters": [
|
|
{
|
|
"name": "X-Api-Key",
|
|
"in": "header",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "X-Api-Key"
|
|
}
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"required": true,
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/WhisperRequest"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"201": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ServiceResponse"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/services/stable-diffusion/generate": {
|
|
"post": {
|
|
"tags": [
|
|
"services"
|
|
],
|
|
"summary": "Generate images using Stable Diffusion",
|
|
"description": "Generate images using Stable Diffusion",
|
|
"operationId": "stable_diffusion_generate_v1_services_stable_diffusion_generate_post",
|
|
"parameters": [
|
|
{
|
|
"name": "X-Api-Key",
|
|
"in": "header",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "X-Api-Key"
|
|
}
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"required": true,
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/StableDiffusionRequest"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"201": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ServiceResponse"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/services/stable-diffusion/img2img": {
|
|
"post": {
|
|
"tags": [
|
|
"services"
|
|
],
|
|
"summary": "Image-to-image generation",
|
|
"description": "Image-to-image generation using Stable Diffusion",
|
|
"operationId": "stable_diffusion_img2img_v1_services_stable_diffusion_img2img_post",
|
|
"parameters": [
|
|
{
|
|
"name": "X-Api-Key",
|
|
"in": "header",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "X-Api-Key"
|
|
}
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"required": true,
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/StableDiffusionRequest"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"201": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ServiceResponse"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/services/llm/inference": {
|
|
"post": {
|
|
"tags": [
|
|
"services"
|
|
],
|
|
"summary": "Run LLM inference",
|
|
"description": "Run inference on a language model",
|
|
"operationId": "llm_inference_v1_services_llm_inference_post",
|
|
"parameters": [
|
|
{
|
|
"name": "X-Api-Key",
|
|
"in": "header",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "X-Api-Key"
|
|
}
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"required": true,
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/LLMRequest"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"201": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ServiceResponse"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/services/llm/stream": {
|
|
"post": {
|
|
"tags": [
|
|
"services"
|
|
],
|
|
"summary": "Stream LLM inference",
|
|
"description": "Stream LLM inference response",
|
|
"operationId": "llm_stream_v1_services_llm_stream_post",
|
|
"parameters": [
|
|
{
|
|
"name": "X-Api-Key",
|
|
"in": "header",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "X-Api-Key"
|
|
}
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"required": true,
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/LLMRequest"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ServiceResponse"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/services/ffmpeg/transcode": {
|
|
"post": {
|
|
"tags": [
|
|
"services"
|
|
],
|
|
"summary": "Transcode video using FFmpeg",
|
|
"description": "Transcode video using FFmpeg",
|
|
"operationId": "ffmpeg_transcode_v1_services_ffmpeg_transcode_post",
|
|
"parameters": [
|
|
{
|
|
"name": "X-Api-Key",
|
|
"in": "header",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "X-Api-Key"
|
|
}
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"required": true,
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/FFmpegRequest"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"201": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ServiceResponse"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/services/blender/render": {
|
|
"post": {
|
|
"tags": [
|
|
"services"
|
|
],
|
|
"summary": "Render using Blender",
|
|
"description": "Render scene using Blender",
|
|
"operationId": "blender_render_v1_services_blender_render_post",
|
|
"parameters": [
|
|
{
|
|
"name": "X-Api-Key",
|
|
"in": "header",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "X-Api-Key"
|
|
}
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"required": true,
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/BlenderRequest"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"201": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ServiceResponse"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/services": {
|
|
"get": {
|
|
"tags": [
|
|
"services"
|
|
],
|
|
"summary": "List available services",
|
|
"description": "List all available service types and their capabilities",
|
|
"operationId": "list_services_v1_services_get",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"additionalProperties": true,
|
|
"type": "object",
|
|
"title": "Response List Services V1 Services Get"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/services/{service_type}/schema": {
|
|
"get": {
|
|
"tags": [
|
|
"services"
|
|
],
|
|
"summary": "Get service request schema",
|
|
"description": "Get the JSON schema for a specific service type\n\nDEPRECATED: Use /v1/registry/services/{service_id}/schema instead.\nThis endpoint will be removed in version 2.0.",
|
|
"operationId": "get_service_schema_v1_services__service_type__schema_get",
|
|
"deprecated": true,
|
|
"parameters": [
|
|
{
|
|
"name": "service_type",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ServiceType"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Get Service Schema V1 Services Service Type Schema Get"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/register": {
|
|
"post": {
|
|
"tags": [
|
|
"users"
|
|
],
|
|
"summary": "Register User",
|
|
"description": "Register a new user",
|
|
"operationId": "register_user_v1_register_post",
|
|
"requestBody": {
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/UserCreate"
|
|
}
|
|
}
|
|
},
|
|
"required": true
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/UserProfile"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/login": {
|
|
"post": {
|
|
"tags": [
|
|
"users"
|
|
],
|
|
"summary": "Login User",
|
|
"description": "Login user with wallet address",
|
|
"operationId": "login_user_v1_login_post",
|
|
"requestBody": {
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/UserLogin"
|
|
}
|
|
}
|
|
},
|
|
"required": true
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/UserProfile"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/users/me": {
|
|
"get": {
|
|
"tags": [
|
|
"users"
|
|
],
|
|
"summary": "Get Current User",
|
|
"description": "Get current user profile",
|
|
"operationId": "get_current_user_v1_users_me_get",
|
|
"parameters": [
|
|
{
|
|
"name": "token",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Token"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/UserProfile"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/users/{user_id}/balance": {
|
|
"get": {
|
|
"tags": [
|
|
"users"
|
|
],
|
|
"summary": "Get User Balance",
|
|
"description": "Get user's AITBC balance",
|
|
"operationId": "get_user_balance_v1_users__user_id__balance_get",
|
|
"parameters": [
|
|
{
|
|
"name": "user_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "User Id"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/UserBalance"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/logout": {
|
|
"post": {
|
|
"tags": [
|
|
"users"
|
|
],
|
|
"summary": "Logout User",
|
|
"description": "Logout user and invalidate session",
|
|
"operationId": "logout_user_v1_logout_post",
|
|
"parameters": [
|
|
{
|
|
"name": "token",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Token"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": {
|
|
"type": "string"
|
|
},
|
|
"title": "Response Logout User V1 Logout Post"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/users/{user_id}/transactions": {
|
|
"get": {
|
|
"tags": [
|
|
"users"
|
|
],
|
|
"summary": "Get User Transactions",
|
|
"description": "Get user's transaction history",
|
|
"operationId": "get_user_transactions_v1_users__user_id__transactions_get",
|
|
"parameters": [
|
|
{
|
|
"name": "user_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "User Id"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Get User Transactions V1 Users User Id Transactions Get"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/exchange/create-payment": {
|
|
"post": {
|
|
"tags": [
|
|
"exchange"
|
|
],
|
|
"summary": "Create Payment",
|
|
"description": "Create a new Bitcoin payment request",
|
|
"operationId": "create_payment_v1_exchange_create_payment_post",
|
|
"requestBody": {
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ExchangePaymentRequest"
|
|
}
|
|
}
|
|
},
|
|
"required": true
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ExchangePaymentResponse"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/exchange/payment-status/{payment_id}": {
|
|
"get": {
|
|
"tags": [
|
|
"exchange"
|
|
],
|
|
"summary": "Get Payment Status",
|
|
"description": "Get payment status",
|
|
"operationId": "get_payment_status_v1_exchange_payment_status__payment_id__get",
|
|
"parameters": [
|
|
{
|
|
"name": "payment_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Payment Id"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/PaymentStatusResponse"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/exchange/confirm-payment/{payment_id}": {
|
|
"post": {
|
|
"tags": [
|
|
"exchange"
|
|
],
|
|
"summary": "Confirm Payment",
|
|
"description": "Confirm payment (webhook from payment processor)",
|
|
"operationId": "confirm_payment_v1_exchange_confirm_payment__payment_id__post",
|
|
"parameters": [
|
|
{
|
|
"name": "payment_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Payment Id"
|
|
}
|
|
},
|
|
{
|
|
"name": "tx_hash",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Tx Hash"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Confirm Payment V1 Exchange Confirm Payment Payment Id Post"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/exchange/rates": {
|
|
"get": {
|
|
"tags": [
|
|
"exchange"
|
|
],
|
|
"summary": "Get Exchange Rates",
|
|
"description": "Get current exchange rates",
|
|
"operationId": "get_exchange_rates_v1_exchange_rates_get",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ExchangeRatesResponse"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/exchange/market-stats": {
|
|
"get": {
|
|
"tags": [
|
|
"exchange"
|
|
],
|
|
"summary": "Get Market Stats",
|
|
"description": "Get market statistics",
|
|
"operationId": "get_market_stats_v1_exchange_market_stats_get",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/MarketStatsResponse"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/exchange/wallet/balance": {
|
|
"get": {
|
|
"tags": [
|
|
"exchange"
|
|
],
|
|
"summary": "Get Wallet Balance Api",
|
|
"description": "Get Bitcoin wallet balance",
|
|
"operationId": "get_wallet_balance_api_v1_exchange_wallet_balance_get",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/WalletBalanceResponse"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/exchange/wallet/info": {
|
|
"get": {
|
|
"tags": [
|
|
"exchange"
|
|
],
|
|
"summary": "Get Wallet Info Api",
|
|
"description": "Get comprehensive wallet information",
|
|
"operationId": "get_wallet_info_api_v1_exchange_wallet_info_get",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/WalletInfoResponse"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/agents/test": {
|
|
"get": {
|
|
"tags": [
|
|
"AI Agents"
|
|
],
|
|
"summary": "Test Endpoint",
|
|
"description": "Test endpoint to verify router is working",
|
|
"operationId": "test_endpoint_v1_agents_test_get",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"additionalProperties": {
|
|
"type": "string"
|
|
},
|
|
"type": "object",
|
|
"title": "Response Test Endpoint V1 Agents Test Get"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/payments": {
|
|
"post": {
|
|
"tags": [
|
|
"payments"
|
|
],
|
|
"summary": "Create payment for a job",
|
|
"description": "Create a payment for a job",
|
|
"operationId": "create_payment_v1_payments_post",
|
|
"parameters": [
|
|
{
|
|
"name": "X-Api-Key",
|
|
"in": "header",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "X-Api-Key"
|
|
}
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"required": true,
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/JobPaymentCreate"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"201": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/JobPaymentView"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/payments/{payment_id}": {
|
|
"get": {
|
|
"tags": [
|
|
"payments"
|
|
],
|
|
"summary": "Get payment details",
|
|
"description": "Get payment details by ID",
|
|
"operationId": "get_payment_v1_payments__payment_id__get",
|
|
"parameters": [
|
|
{
|
|
"name": "payment_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Payment Id"
|
|
}
|
|
},
|
|
{
|
|
"name": "X-Api-Key",
|
|
"in": "header",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "X-Api-Key"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/JobPaymentView"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/jobs/{job_id}/payment": {
|
|
"get": {
|
|
"tags": [
|
|
"payments"
|
|
],
|
|
"summary": "Get payment for a job",
|
|
"description": "Get payment information for a specific job",
|
|
"operationId": "get_job_payment_v1_jobs__job_id__payment_get",
|
|
"parameters": [
|
|
{
|
|
"name": "job_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Job Id"
|
|
}
|
|
},
|
|
{
|
|
"name": "X-Api-Key",
|
|
"in": "header",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "X-Api-Key"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/JobPaymentView"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/payments/{payment_id}/release": {
|
|
"post": {
|
|
"tags": [
|
|
"payments"
|
|
],
|
|
"summary": "Release payment from escrow",
|
|
"description": "Release payment from escrow (for completed jobs)",
|
|
"operationId": "release_payment_v1_payments__payment_id__release_post",
|
|
"parameters": [
|
|
{
|
|
"name": "payment_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Payment Id"
|
|
}
|
|
},
|
|
{
|
|
"name": "X-Api-Key",
|
|
"in": "header",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "X-Api-Key"
|
|
}
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"required": true,
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/EscrowRelease"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Release Payment V1 Payments Payment Id Release Post"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/payments/{payment_id}/refund": {
|
|
"post": {
|
|
"tags": [
|
|
"payments"
|
|
],
|
|
"summary": "Refund payment",
|
|
"description": "Refund payment (for failed or cancelled jobs)",
|
|
"operationId": "refund_payment_v1_payments__payment_id__refund_post",
|
|
"parameters": [
|
|
{
|
|
"name": "payment_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Payment Id"
|
|
}
|
|
},
|
|
{
|
|
"name": "X-Api-Key",
|
|
"in": "header",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "X-Api-Key"
|
|
}
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"required": true,
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/RefundRequest"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Refund Payment V1 Payments Payment Id Refund Post"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/payments/{payment_id}/receipt": {
|
|
"get": {
|
|
"tags": [
|
|
"payments"
|
|
],
|
|
"summary": "Get payment receipt",
|
|
"description": "Get payment receipt with verification status",
|
|
"operationId": "get_payment_receipt_v1_payments__payment_id__receipt_get",
|
|
"parameters": [
|
|
{
|
|
"name": "payment_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Payment Id"
|
|
}
|
|
},
|
|
{
|
|
"name": "X-Api-Key",
|
|
"in": "header",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "X-Api-Key"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/PaymentReceipt"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/web-vitals": {
|
|
"post": {
|
|
"summary": "Collect Web Vitals",
|
|
"description": "Collect Web Vitals performance metrics from the frontend.\nThis endpoint receives Core Web Vitals (LCP, FID, CLS, TTFB, FCP) for monitoring.",
|
|
"operationId": "collect_web_vitals_v1_web_vitals_post",
|
|
"requestBody": {
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/WebVitalsMetric"
|
|
}
|
|
}
|
|
},
|
|
"required": true
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"additionalProperties": true,
|
|
"type": "object",
|
|
"title": "Response Collect Web Vitals V1 Web Vitals Post"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/web-vitals/health": {
|
|
"get": {
|
|
"summary": "Web Vitals Health",
|
|
"description": "Health check for web vitals collection endpoint",
|
|
"operationId": "web_vitals_health_v1_web_vitals_health_get",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"additionalProperties": {
|
|
"type": "string"
|
|
},
|
|
"type": "object",
|
|
"title": "Response Web Vitals Health V1 Web Vitals Health Get"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/ml-zk/prove/training": {
|
|
"post": {
|
|
"tags": [
|
|
"ml-zk"
|
|
],
|
|
"summary": "Prove Ml Training",
|
|
"description": "Generate ZK proof for ML training verification",
|
|
"operationId": "prove_ml_training_v1_ml_zk_prove_training_post",
|
|
"requestBody": {
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"additionalProperties": true,
|
|
"type": "object",
|
|
"title": "Proof Request"
|
|
}
|
|
}
|
|
},
|
|
"required": true
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"additionalProperties": true,
|
|
"type": "object",
|
|
"title": "Response Prove Ml Training V1 Ml Zk Prove Training Post"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/ml-zk/verify/training": {
|
|
"post": {
|
|
"tags": [
|
|
"ml-zk"
|
|
],
|
|
"summary": "Verify Ml Training",
|
|
"description": "Verify ZK proof for ML training",
|
|
"operationId": "verify_ml_training_v1_ml_zk_verify_training_post",
|
|
"requestBody": {
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"additionalProperties": true,
|
|
"type": "object",
|
|
"title": "Verification Request"
|
|
}
|
|
}
|
|
},
|
|
"required": true
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"additionalProperties": true,
|
|
"type": "object",
|
|
"title": "Response Verify Ml Training V1 Ml Zk Verify Training Post"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/ml-zk/prove/modular": {
|
|
"post": {
|
|
"tags": [
|
|
"ml-zk"
|
|
],
|
|
"summary": "Prove Modular Ml",
|
|
"description": "Generate ZK proof using optimized modular circuits",
|
|
"operationId": "prove_modular_ml_v1_ml_zk_prove_modular_post",
|
|
"requestBody": {
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"additionalProperties": true,
|
|
"type": "object",
|
|
"title": "Proof Request"
|
|
}
|
|
}
|
|
},
|
|
"required": true
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"additionalProperties": true,
|
|
"type": "object",
|
|
"title": "Response Prove Modular Ml V1 Ml Zk Prove Modular Post"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/ml-zk/verify/inference": {
|
|
"post": {
|
|
"tags": [
|
|
"ml-zk"
|
|
],
|
|
"summary": "Verify Ml Inference",
|
|
"description": "Verify ZK proof for ML inference",
|
|
"operationId": "verify_ml_inference_v1_ml_zk_verify_inference_post",
|
|
"requestBody": {
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"additionalProperties": true,
|
|
"type": "object",
|
|
"title": "Verification Request"
|
|
}
|
|
}
|
|
},
|
|
"required": true
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"additionalProperties": true,
|
|
"type": "object",
|
|
"title": "Response Verify Ml Inference V1 Ml Zk Verify Inference Post"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/ml-zk/fhe/inference": {
|
|
"post": {
|
|
"tags": [
|
|
"ml-zk"
|
|
],
|
|
"summary": "Fhe Ml Inference",
|
|
"description": "Perform ML inference on encrypted data",
|
|
"operationId": "fhe_ml_inference_v1_ml_zk_fhe_inference_post",
|
|
"requestBody": {
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"additionalProperties": true,
|
|
"type": "object",
|
|
"title": "Fhe Request"
|
|
}
|
|
}
|
|
},
|
|
"required": true
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"additionalProperties": true,
|
|
"type": "object",
|
|
"title": "Response Fhe Ml Inference V1 Ml Zk Fhe Inference Post"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/ml-zk/circuits": {
|
|
"get": {
|
|
"tags": [
|
|
"ml-zk"
|
|
],
|
|
"summary": "List Ml Circuits",
|
|
"description": "List available ML ZK circuits",
|
|
"operationId": "list_ml_circuits_v1_ml_zk_circuits_get",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"additionalProperties": true,
|
|
"type": "object",
|
|
"title": "Response List Ml Circuits V1 Ml Zk Circuits Get"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/marketplace/enhanced/royalty/create": {
|
|
"post": {
|
|
"tags": [
|
|
"Marketplace Enhanced"
|
|
],
|
|
"summary": "Create Royalty Distribution",
|
|
"description": "Create royalty distribution for marketplace offer",
|
|
"operationId": "create_royalty_distribution_v1_marketplace_enhanced_royalty_create_post",
|
|
"parameters": [
|
|
{
|
|
"name": "offer_id",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Offer Id"
|
|
}
|
|
},
|
|
{
|
|
"name": "args",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"title": "Args"
|
|
}
|
|
},
|
|
{
|
|
"name": "kwargs",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"title": "Kwargs"
|
|
}
|
|
},
|
|
{
|
|
"name": "X-Api-Key",
|
|
"in": "header",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "X-Api-Key"
|
|
}
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"required": true,
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/RoyaltyDistributionRequest"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Create Royalty Distribution V1 Marketplace Enhanced Royalty Create Post"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/marketplace/enhanced/royalty/calculate/{offer_id}": {
|
|
"get": {
|
|
"tags": [
|
|
"Marketplace Enhanced"
|
|
],
|
|
"summary": "Calculate Royalties",
|
|
"description": "Calculate royalties for a sale",
|
|
"operationId": "calculate_royalties_v1_marketplace_enhanced_royalty_calculate__offer_id__get",
|
|
"parameters": [
|
|
{
|
|
"name": "offer_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Offer Id"
|
|
}
|
|
},
|
|
{
|
|
"name": "sale_amount",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "number",
|
|
"title": "Sale Amount"
|
|
}
|
|
},
|
|
{
|
|
"name": "args",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"title": "Args"
|
|
}
|
|
},
|
|
{
|
|
"name": "kwargs",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"title": "Kwargs"
|
|
}
|
|
},
|
|
{
|
|
"name": "X-Api-Key",
|
|
"in": "header",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "X-Api-Key"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Calculate Royalties V1 Marketplace Enhanced Royalty Calculate Offer Id Get"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/marketplace/enhanced/license/create": {
|
|
"post": {
|
|
"tags": [
|
|
"Marketplace Enhanced"
|
|
],
|
|
"summary": "Create Model License",
|
|
"description": "Create model license for marketplace offer",
|
|
"operationId": "create_model_license_v1_marketplace_enhanced_license_create_post",
|
|
"parameters": [
|
|
{
|
|
"name": "offer_id",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Offer Id"
|
|
}
|
|
},
|
|
{
|
|
"name": "args",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"title": "Args"
|
|
}
|
|
},
|
|
{
|
|
"name": "kwargs",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"title": "Kwargs"
|
|
}
|
|
},
|
|
{
|
|
"name": "X-Api-Key",
|
|
"in": "header",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "X-Api-Key"
|
|
}
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"required": true,
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ModelLicenseRequest"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Create Model License V1 Marketplace Enhanced License Create Post"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/marketplace/enhanced/verification/verify": {
|
|
"post": {
|
|
"tags": [
|
|
"Marketplace Enhanced"
|
|
],
|
|
"summary": "Verify Model",
|
|
"description": "Verify model quality and performance",
|
|
"operationId": "verify_model_v1_marketplace_enhanced_verification_verify_post",
|
|
"parameters": [
|
|
{
|
|
"name": "offer_id",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Offer Id"
|
|
}
|
|
},
|
|
{
|
|
"name": "args",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"title": "Args"
|
|
}
|
|
},
|
|
{
|
|
"name": "kwargs",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"title": "Kwargs"
|
|
}
|
|
},
|
|
{
|
|
"name": "X-Api-Key",
|
|
"in": "header",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "X-Api-Key"
|
|
}
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"required": true,
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ModelVerificationRequest"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Verify Model V1 Marketplace Enhanced Verification Verify Post"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/marketplace/enhanced/analytics": {
|
|
"post": {
|
|
"tags": [
|
|
"Marketplace Enhanced"
|
|
],
|
|
"summary": "Get Marketplace Analytics",
|
|
"description": "Get marketplace analytics and insights",
|
|
"operationId": "get_marketplace_analytics_v1_marketplace_enhanced_analytics_post",
|
|
"parameters": [
|
|
{
|
|
"name": "args",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"title": "Args"
|
|
}
|
|
},
|
|
{
|
|
"name": "kwargs",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"title": "Kwargs"
|
|
}
|
|
},
|
|
{
|
|
"name": "X-Api-Key",
|
|
"in": "header",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "X-Api-Key"
|
|
}
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"required": true,
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/MarketplaceAnalyticsRequest"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Get Marketplace Analytics V1 Marketplace Enhanced Analytics Post"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/hermes/enhanced/routing/skill": {
|
|
"post": {
|
|
"tags": [
|
|
"hermes Enhanced"
|
|
],
|
|
"summary": "Route Agent Skill",
|
|
"description": "Route agent skill to appropriate agent",
|
|
"operationId": "route_agent_skill_v1_hermes_enhanced_routing_skill_post",
|
|
"parameters": [
|
|
{
|
|
"name": "args",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"title": "Args"
|
|
}
|
|
},
|
|
{
|
|
"name": "kwargs",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"title": "Kwargs"
|
|
}
|
|
},
|
|
{
|
|
"name": "X-Api-Key",
|
|
"in": "header",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "X-Api-Key"
|
|
}
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"required": true,
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/SkillRoutingRequest"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Route Agent Skill V1 Hermes Enhanced Routing Skill Post"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/hermes/enhanced/offloading/intelligent": {
|
|
"post": {
|
|
"tags": [
|
|
"hermes Enhanced"
|
|
],
|
|
"summary": "Intelligent Job Offloading",
|
|
"description": "Intelligent job offloading strategies",
|
|
"operationId": "intelligent_job_offloading_v1_hermes_enhanced_offloading_intelligent_post",
|
|
"parameters": [
|
|
{
|
|
"name": "args",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"title": "Args"
|
|
}
|
|
},
|
|
{
|
|
"name": "kwargs",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"title": "Kwargs"
|
|
}
|
|
},
|
|
{
|
|
"name": "X-Api-Key",
|
|
"in": "header",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "X-Api-Key"
|
|
}
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"required": true,
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/JobOffloadingRequest"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Intelligent Job Offloading V1 Hermes Enhanced Offloading Intelligent Post"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/hermes/enhanced/collaboration/coordinate": {
|
|
"post": {
|
|
"tags": [
|
|
"hermes Enhanced"
|
|
],
|
|
"summary": "Coordinate Agent Collaboration",
|
|
"description": "Agent collaboration and coordination",
|
|
"operationId": "coordinate_agent_collaboration_v1_hermes_enhanced_collaboration_coordinate_post",
|
|
"parameters": [
|
|
{
|
|
"name": "args",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"title": "Args"
|
|
}
|
|
},
|
|
{
|
|
"name": "kwargs",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"title": "Kwargs"
|
|
}
|
|
},
|
|
{
|
|
"name": "X-Api-Key",
|
|
"in": "header",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "X-Api-Key"
|
|
}
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"required": true,
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AgentCollaborationRequest"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Coordinate Agent Collaboration V1 Hermes Enhanced Collaboration Coordinate Post"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/hermes/enhanced/execution/hybrid-optimize": {
|
|
"post": {
|
|
"tags": [
|
|
"hermes Enhanced"
|
|
],
|
|
"summary": "Optimize Hybrid Execution",
|
|
"description": "Hybrid execution optimization",
|
|
"operationId": "optimize_hybrid_execution_v1_hermes_enhanced_execution_hybrid_optimize_post",
|
|
"parameters": [
|
|
{
|
|
"name": "args",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"title": "Args"
|
|
}
|
|
},
|
|
{
|
|
"name": "kwargs",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"title": "Kwargs"
|
|
}
|
|
},
|
|
{
|
|
"name": "X-Api-Key",
|
|
"in": "header",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "X-Api-Key"
|
|
}
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"required": true,
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HybridExecutionRequest"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Optimize Hybrid Execution V1 Hermes Enhanced Execution Hybrid Optimize Post"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/hermes/enhanced/edge/deploy": {
|
|
"post": {
|
|
"tags": [
|
|
"hermes Enhanced"
|
|
],
|
|
"summary": "Deploy To Edge",
|
|
"description": "Deploy agent to edge computing infrastructure",
|
|
"operationId": "deploy_to_edge_v1_hermes_enhanced_edge_deploy_post",
|
|
"parameters": [
|
|
{
|
|
"name": "args",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"title": "Args"
|
|
}
|
|
},
|
|
{
|
|
"name": "kwargs",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"title": "Kwargs"
|
|
}
|
|
},
|
|
{
|
|
"name": "X-Api-Key",
|
|
"in": "header",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "X-Api-Key"
|
|
}
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"required": true,
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/EdgeDeploymentRequest"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Deploy To Edge V1 Hermes Enhanced Edge Deploy Post"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/hermes/enhanced/edge/coordinate": {
|
|
"post": {
|
|
"tags": [
|
|
"hermes Enhanced"
|
|
],
|
|
"summary": "Coordinate Edge To Cloud",
|
|
"description": "Coordinate edge-to-cloud agent operations",
|
|
"operationId": "coordinate_edge_to_cloud_v1_hermes_enhanced_edge_coordinate_post",
|
|
"parameters": [
|
|
{
|
|
"name": "args",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"title": "Args"
|
|
}
|
|
},
|
|
{
|
|
"name": "kwargs",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"title": "Kwargs"
|
|
}
|
|
},
|
|
{
|
|
"name": "X-Api-Key",
|
|
"in": "header",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "X-Api-Key"
|
|
}
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"required": true,
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/EdgeCoordinationRequest"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Coordinate Edge To Cloud V1 Hermes Enhanced Edge Coordinate Post"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/hermes/enhanced/ecosystem/develop": {
|
|
"post": {
|
|
"tags": [
|
|
"hermes Enhanced"
|
|
],
|
|
"summary": "Develop Hermes Ecosystem",
|
|
"description": "Build hermes ecosystem components",
|
|
"operationId": "develop_hermes_ecosystem_v1_hermes_enhanced_ecosystem_develop_post",
|
|
"parameters": [
|
|
{
|
|
"name": "args",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"title": "Args"
|
|
}
|
|
},
|
|
{
|
|
"name": "kwargs",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"title": "Kwargs"
|
|
}
|
|
},
|
|
{
|
|
"name": "X-Api-Key",
|
|
"in": "header",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "X-Api-Key"
|
|
}
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"required": true,
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/EcosystemDevelopmentRequest"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Develop Hermes Ecosystem V1 Hermes Enhanced Ecosystem Develop Post"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/dashboard": {
|
|
"get": {
|
|
"tags": [
|
|
"monitoring"
|
|
],
|
|
"summary": "Enhanced Services Dashboard",
|
|
"description": "Unified monitoring dashboard for all enhanced services",
|
|
"operationId": "monitoring_dashboard_v1_dashboard_get",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"additionalProperties": true,
|
|
"type": "object",
|
|
"title": "Response Monitoring Dashboard V1 Dashboard Get"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/dashboard/summary": {
|
|
"get": {
|
|
"tags": [
|
|
"monitoring"
|
|
],
|
|
"summary": "Services Summary",
|
|
"description": "Quick summary of all services status",
|
|
"operationId": "services_summary_v1_dashboard_summary_get",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"additionalProperties": true,
|
|
"type": "object",
|
|
"title": "Response Services Summary V1 Dashboard Summary Get"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/dashboard/metrics": {
|
|
"get": {
|
|
"tags": [
|
|
"monitoring"
|
|
],
|
|
"summary": "System Metrics",
|
|
"description": "System-wide performance metrics",
|
|
"operationId": "system_metrics_v1_dashboard_metrics_get",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"additionalProperties": true,
|
|
"type": "object",
|
|
"title": "Response System Metrics V1 Dashboard Metrics Get"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/agents/workflows": {
|
|
"post": {
|
|
"tags": [
|
|
"AI Agents"
|
|
],
|
|
"summary": "Create Workflow",
|
|
"description": "Create a new AI agent workflow",
|
|
"operationId": "create_workflow_v1_agents_workflows_post",
|
|
"parameters": [
|
|
{
|
|
"name": "args",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"title": "Args"
|
|
}
|
|
},
|
|
{
|
|
"name": "kwargs",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"title": "Kwargs"
|
|
}
|
|
},
|
|
{
|
|
"name": "X-Api-Key",
|
|
"in": "header",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "X-Api-Key"
|
|
}
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"required": true,
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AgentWorkflowCreate"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AIAgentWorkflow"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"get": {
|
|
"tags": [
|
|
"AI Agents"
|
|
],
|
|
"summary": "List Workflows",
|
|
"description": "List agent workflows with filtering",
|
|
"operationId": "list_workflows_v1_agents_workflows_get",
|
|
"parameters": [
|
|
{
|
|
"name": "owner_id",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Owner Id"
|
|
}
|
|
},
|
|
{
|
|
"name": "is_public",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Is Public"
|
|
}
|
|
},
|
|
{
|
|
"name": "args",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"title": "Args"
|
|
}
|
|
},
|
|
{
|
|
"name": "kwargs",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"title": "Kwargs"
|
|
}
|
|
},
|
|
{
|
|
"name": "X-Api-Key",
|
|
"in": "header",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "X-Api-Key"
|
|
}
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Tags"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/AIAgentWorkflow"
|
|
},
|
|
"title": "Response List Workflows V1 Agents Workflows Get"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/agents/workflows/{workflow_id}": {
|
|
"get": {
|
|
"tags": [
|
|
"AI Agents"
|
|
],
|
|
"summary": "Get Workflow",
|
|
"description": "Get a specific agent workflow",
|
|
"operationId": "get_workflow_v1_agents_workflows__workflow_id__get",
|
|
"parameters": [
|
|
{
|
|
"name": "workflow_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Workflow Id"
|
|
}
|
|
},
|
|
{
|
|
"name": "args",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"title": "Args"
|
|
}
|
|
},
|
|
{
|
|
"name": "kwargs",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"title": "Kwargs"
|
|
}
|
|
},
|
|
{
|
|
"name": "X-Api-Key",
|
|
"in": "header",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "X-Api-Key"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AIAgentWorkflow"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"put": {
|
|
"tags": [
|
|
"AI Agents"
|
|
],
|
|
"summary": "Update Workflow",
|
|
"description": "Update an agent workflow",
|
|
"operationId": "update_workflow_v1_agents_workflows__workflow_id__put",
|
|
"parameters": [
|
|
{
|
|
"name": "workflow_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Workflow Id"
|
|
}
|
|
},
|
|
{
|
|
"name": "args",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"title": "Args"
|
|
}
|
|
},
|
|
{
|
|
"name": "kwargs",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"title": "Kwargs"
|
|
}
|
|
},
|
|
{
|
|
"name": "X-Api-Key",
|
|
"in": "header",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "X-Api-Key"
|
|
}
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"required": true,
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AgentWorkflowUpdate"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AIAgentWorkflow"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"delete": {
|
|
"tags": [
|
|
"AI Agents"
|
|
],
|
|
"summary": "Delete Workflow",
|
|
"description": "Delete an agent workflow",
|
|
"operationId": "delete_workflow_v1_agents_workflows__workflow_id__delete",
|
|
"parameters": [
|
|
{
|
|
"name": "workflow_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Workflow Id"
|
|
}
|
|
},
|
|
{
|
|
"name": "args",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"title": "Args"
|
|
}
|
|
},
|
|
{
|
|
"name": "kwargs",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"title": "Kwargs"
|
|
}
|
|
},
|
|
{
|
|
"name": "X-Api-Key",
|
|
"in": "header",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "X-Api-Key"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": {
|
|
"type": "string"
|
|
},
|
|
"title": "Response Delete Workflow V1 Agents Workflows Workflow Id Delete"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/agents/workflows/{workflow_id}/execute": {
|
|
"post": {
|
|
"tags": [
|
|
"AI Agents"
|
|
],
|
|
"summary": "Execute Workflow",
|
|
"description": "Execute an AI agent workflow",
|
|
"operationId": "execute_workflow_v1_agents_workflows__workflow_id__execute_post",
|
|
"parameters": [
|
|
{
|
|
"name": "workflow_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Workflow Id"
|
|
}
|
|
},
|
|
{
|
|
"name": "args",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"title": "Args"
|
|
}
|
|
},
|
|
{
|
|
"name": "kwargs",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"title": "Kwargs"
|
|
}
|
|
},
|
|
{
|
|
"name": "X-Api-Key",
|
|
"in": "header",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "X-Api-Key"
|
|
}
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"required": true,
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AgentExecutionRequest"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AgentExecutionResponse"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/agents/executions/{execution_id}/status": {
|
|
"get": {
|
|
"tags": [
|
|
"AI Agents"
|
|
],
|
|
"summary": "Get Execution Status",
|
|
"description": "Get execution status",
|
|
"operationId": "get_execution_status_v1_agents_executions__execution_id__status_get",
|
|
"parameters": [
|
|
{
|
|
"name": "execution_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Execution Id"
|
|
}
|
|
},
|
|
{
|
|
"name": "args",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"title": "Args"
|
|
}
|
|
},
|
|
{
|
|
"name": "kwargs",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"title": "Kwargs"
|
|
}
|
|
},
|
|
{
|
|
"name": "X-Api-Key",
|
|
"in": "header",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "X-Api-Key"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AgentExecutionStatus"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/agents/executions": {
|
|
"get": {
|
|
"tags": [
|
|
"AI Agents"
|
|
],
|
|
"summary": "List Executions",
|
|
"description": "List agent executions with filtering",
|
|
"operationId": "list_executions_v1_agents_executions_get",
|
|
"parameters": [
|
|
{
|
|
"name": "workflow_id",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Workflow Id"
|
|
}
|
|
},
|
|
{
|
|
"name": "status",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/AgentStatus"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Status"
|
|
}
|
|
},
|
|
{
|
|
"name": "limit",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"type": "integer",
|
|
"default": 50,
|
|
"title": "Limit"
|
|
}
|
|
},
|
|
{
|
|
"name": "offset",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"type": "integer",
|
|
"default": 0,
|
|
"title": "Offset"
|
|
}
|
|
},
|
|
{
|
|
"name": "args",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"title": "Args"
|
|
}
|
|
},
|
|
{
|
|
"name": "kwargs",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"title": "Kwargs"
|
|
}
|
|
},
|
|
{
|
|
"name": "X-Api-Key",
|
|
"in": "header",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "X-Api-Key"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/AgentExecutionStatus"
|
|
},
|
|
"title": "Response List Executions V1 Agents Executions Get"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/agents/executions/{execution_id}/cancel": {
|
|
"post": {
|
|
"tags": [
|
|
"AI Agents"
|
|
],
|
|
"summary": "Cancel Execution",
|
|
"description": "Cancel an ongoing execution",
|
|
"operationId": "cancel_execution_v1_agents_executions__execution_id__cancel_post",
|
|
"parameters": [
|
|
{
|
|
"name": "execution_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Execution Id"
|
|
}
|
|
},
|
|
{
|
|
"name": "args",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"title": "Args"
|
|
}
|
|
},
|
|
{
|
|
"name": "kwargs",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"title": "Kwargs"
|
|
}
|
|
},
|
|
{
|
|
"name": "X-Api-Key",
|
|
"in": "header",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "X-Api-Key"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": {
|
|
"type": "string"
|
|
},
|
|
"title": "Response Cancel Execution V1 Agents Executions Execution Id Cancel Post"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/agents/executions/{execution_id}/logs": {
|
|
"get": {
|
|
"tags": [
|
|
"AI Agents"
|
|
],
|
|
"summary": "Get Execution Logs",
|
|
"description": "Get execution logs",
|
|
"operationId": "get_execution_logs_v1_agents_executions__execution_id__logs_get",
|
|
"parameters": [
|
|
{
|
|
"name": "execution_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Execution Id"
|
|
}
|
|
},
|
|
{
|
|
"name": "args",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"title": "Args"
|
|
}
|
|
},
|
|
{
|
|
"name": "kwargs",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"title": "Kwargs"
|
|
}
|
|
},
|
|
{
|
|
"name": "X-Api-Key",
|
|
"in": "header",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "X-Api-Key"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Get Execution Logs V1 Agents Executions Execution Id Logs Get"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/api/v1/agents/workflows": {
|
|
"post": {
|
|
"tags": [
|
|
"AI Agents"
|
|
],
|
|
"summary": "Create Workflow",
|
|
"description": "Create a new AI agent workflow",
|
|
"operationId": "create_workflow_api_v1_agents_workflows_post",
|
|
"parameters": [
|
|
{
|
|
"name": "args",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"title": "Args"
|
|
}
|
|
},
|
|
{
|
|
"name": "kwargs",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"title": "Kwargs"
|
|
}
|
|
},
|
|
{
|
|
"name": "X-Api-Key",
|
|
"in": "header",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "X-Api-Key"
|
|
}
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"required": true,
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AgentWorkflowCreate"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AIAgentWorkflow"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"get": {
|
|
"tags": [
|
|
"AI Agents"
|
|
],
|
|
"summary": "List Workflows",
|
|
"description": "List agent workflows with filtering",
|
|
"operationId": "list_workflows_api_v1_agents_workflows_get",
|
|
"parameters": [
|
|
{
|
|
"name": "owner_id",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Owner Id"
|
|
}
|
|
},
|
|
{
|
|
"name": "is_public",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Is Public"
|
|
}
|
|
},
|
|
{
|
|
"name": "args",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"title": "Args"
|
|
}
|
|
},
|
|
{
|
|
"name": "kwargs",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"title": "Kwargs"
|
|
}
|
|
},
|
|
{
|
|
"name": "X-Api-Key",
|
|
"in": "header",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "X-Api-Key"
|
|
}
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Tags"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/AIAgentWorkflow"
|
|
},
|
|
"title": "Response List Workflows Api V1 Agents Workflows Get"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/api/v1/agents/workflows/{workflow_id}": {
|
|
"get": {
|
|
"tags": [
|
|
"AI Agents"
|
|
],
|
|
"summary": "Get Workflow",
|
|
"description": "Get a specific agent workflow",
|
|
"operationId": "get_workflow_api_v1_agents_workflows__workflow_id__get",
|
|
"parameters": [
|
|
{
|
|
"name": "workflow_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Workflow Id"
|
|
}
|
|
},
|
|
{
|
|
"name": "args",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"title": "Args"
|
|
}
|
|
},
|
|
{
|
|
"name": "kwargs",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"title": "Kwargs"
|
|
}
|
|
},
|
|
{
|
|
"name": "X-Api-Key",
|
|
"in": "header",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "X-Api-Key"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AIAgentWorkflow"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"put": {
|
|
"tags": [
|
|
"AI Agents"
|
|
],
|
|
"summary": "Update Workflow",
|
|
"description": "Update an agent workflow",
|
|
"operationId": "update_workflow_api_v1_agents_workflows__workflow_id__put",
|
|
"parameters": [
|
|
{
|
|
"name": "workflow_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Workflow Id"
|
|
}
|
|
},
|
|
{
|
|
"name": "args",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"title": "Args"
|
|
}
|
|
},
|
|
{
|
|
"name": "kwargs",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"title": "Kwargs"
|
|
}
|
|
},
|
|
{
|
|
"name": "X-Api-Key",
|
|
"in": "header",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "X-Api-Key"
|
|
}
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"required": true,
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AgentWorkflowUpdate"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AIAgentWorkflow"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"delete": {
|
|
"tags": [
|
|
"AI Agents"
|
|
],
|
|
"summary": "Delete Workflow",
|
|
"description": "Delete an agent workflow",
|
|
"operationId": "delete_workflow_api_v1_agents_workflows__workflow_id__delete",
|
|
"parameters": [
|
|
{
|
|
"name": "workflow_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Workflow Id"
|
|
}
|
|
},
|
|
{
|
|
"name": "args",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"title": "Args"
|
|
}
|
|
},
|
|
{
|
|
"name": "kwargs",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"title": "Kwargs"
|
|
}
|
|
},
|
|
{
|
|
"name": "X-Api-Key",
|
|
"in": "header",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "X-Api-Key"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": {
|
|
"type": "string"
|
|
},
|
|
"title": "Response Delete Workflow Api V1 Agents Workflows Workflow Id Delete"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/api/v1/agents/workflows/{workflow_id}/execute": {
|
|
"post": {
|
|
"tags": [
|
|
"AI Agents"
|
|
],
|
|
"summary": "Execute Workflow",
|
|
"description": "Execute an AI agent workflow",
|
|
"operationId": "execute_workflow_api_v1_agents_workflows__workflow_id__execute_post",
|
|
"parameters": [
|
|
{
|
|
"name": "workflow_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Workflow Id"
|
|
}
|
|
},
|
|
{
|
|
"name": "args",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"title": "Args"
|
|
}
|
|
},
|
|
{
|
|
"name": "kwargs",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"title": "Kwargs"
|
|
}
|
|
},
|
|
{
|
|
"name": "X-Api-Key",
|
|
"in": "header",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "X-Api-Key"
|
|
}
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"required": true,
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AgentExecutionRequest"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AgentExecutionResponse"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/api/v1/agents/executions/{execution_id}/status": {
|
|
"get": {
|
|
"tags": [
|
|
"AI Agents"
|
|
],
|
|
"summary": "Get Execution Status",
|
|
"description": "Get execution status",
|
|
"operationId": "get_execution_status_api_v1_agents_executions__execution_id__status_get",
|
|
"parameters": [
|
|
{
|
|
"name": "execution_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Execution Id"
|
|
}
|
|
},
|
|
{
|
|
"name": "args",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"title": "Args"
|
|
}
|
|
},
|
|
{
|
|
"name": "kwargs",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"title": "Kwargs"
|
|
}
|
|
},
|
|
{
|
|
"name": "X-Api-Key",
|
|
"in": "header",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "X-Api-Key"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AgentExecutionStatus"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/api/v1/agents/executions": {
|
|
"get": {
|
|
"tags": [
|
|
"AI Agents"
|
|
],
|
|
"summary": "List Executions",
|
|
"description": "List agent executions with filtering",
|
|
"operationId": "list_executions_api_v1_agents_executions_get",
|
|
"parameters": [
|
|
{
|
|
"name": "workflow_id",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Workflow Id"
|
|
}
|
|
},
|
|
{
|
|
"name": "status",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/AgentStatus"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Status"
|
|
}
|
|
},
|
|
{
|
|
"name": "limit",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"type": "integer",
|
|
"default": 50,
|
|
"title": "Limit"
|
|
}
|
|
},
|
|
{
|
|
"name": "offset",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"type": "integer",
|
|
"default": 0,
|
|
"title": "Offset"
|
|
}
|
|
},
|
|
{
|
|
"name": "args",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"title": "Args"
|
|
}
|
|
},
|
|
{
|
|
"name": "kwargs",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"title": "Kwargs"
|
|
}
|
|
},
|
|
{
|
|
"name": "X-Api-Key",
|
|
"in": "header",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "X-Api-Key"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/AgentExecutionStatus"
|
|
},
|
|
"title": "Response List Executions Api V1 Agents Executions Get"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/api/v1/agents/executions/{execution_id}/cancel": {
|
|
"post": {
|
|
"tags": [
|
|
"AI Agents"
|
|
],
|
|
"summary": "Cancel Execution",
|
|
"description": "Cancel an ongoing execution",
|
|
"operationId": "cancel_execution_api_v1_agents_executions__execution_id__cancel_post",
|
|
"parameters": [
|
|
{
|
|
"name": "execution_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Execution Id"
|
|
}
|
|
},
|
|
{
|
|
"name": "args",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"title": "Args"
|
|
}
|
|
},
|
|
{
|
|
"name": "kwargs",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"title": "Kwargs"
|
|
}
|
|
},
|
|
{
|
|
"name": "X-Api-Key",
|
|
"in": "header",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "X-Api-Key"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": {
|
|
"type": "string"
|
|
},
|
|
"title": "Response Cancel Execution Api V1 Agents Executions Execution Id Cancel Post"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/api/v1/agents/executions/{execution_id}/logs": {
|
|
"get": {
|
|
"tags": [
|
|
"AI Agents"
|
|
],
|
|
"summary": "Get Execution Logs",
|
|
"description": "Get execution logs",
|
|
"operationId": "get_execution_logs_api_v1_agents_executions__execution_id__logs_get",
|
|
"parameters": [
|
|
{
|
|
"name": "execution_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Execution Id"
|
|
}
|
|
},
|
|
{
|
|
"name": "args",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"title": "Args"
|
|
}
|
|
},
|
|
{
|
|
"name": "kwargs",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"title": "Kwargs"
|
|
}
|
|
},
|
|
{
|
|
"name": "X-Api-Key",
|
|
"in": "header",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "X-Api-Key"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Get Execution Logs Api V1 Agents Executions Execution Id Logs Get"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/api/v1/agents/test": {
|
|
"get": {
|
|
"tags": [
|
|
"AI Agents"
|
|
],
|
|
"summary": "Test Endpoint",
|
|
"description": "Test endpoint to verify router is working",
|
|
"operationId": "test_endpoint_api_v1_agents_test_get",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"additionalProperties": {
|
|
"type": "string"
|
|
},
|
|
"type": "object",
|
|
"title": "Response Test Endpoint Api V1 Agents Test Get"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/api/v1/agents/networks": {
|
|
"post": {
|
|
"tags": [
|
|
"AI Agents"
|
|
],
|
|
"summary": "Create Agent Network",
|
|
"description": "Create a new agent network for collaborative processing",
|
|
"operationId": "create_agent_network_api_v1_agents_networks_post",
|
|
"parameters": [
|
|
{
|
|
"name": "args",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"title": "Args"
|
|
}
|
|
},
|
|
{
|
|
"name": "kwargs",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"title": "Kwargs"
|
|
}
|
|
},
|
|
{
|
|
"name": "X-Api-Key",
|
|
"in": "header",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "X-Api-Key"
|
|
}
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"required": true,
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Network Data"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"201": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Create Agent Network Api V1 Agents Networks Post"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/api/v1/agents/executions/{execution_id}/receipt": {
|
|
"get": {
|
|
"tags": [
|
|
"AI Agents"
|
|
],
|
|
"summary": "Get Execution Receipt",
|
|
"description": "Get verifiable receipt for completed execution",
|
|
"operationId": "get_execution_receipt_api_v1_agents_executions__execution_id__receipt_get",
|
|
"parameters": [
|
|
{
|
|
"name": "execution_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Execution Id"
|
|
}
|
|
},
|
|
{
|
|
"name": "args",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"title": "Args"
|
|
}
|
|
},
|
|
{
|
|
"name": "kwargs",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"title": "Kwargs"
|
|
}
|
|
},
|
|
{
|
|
"name": "X-Api-Key",
|
|
"in": "header",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "X-Api-Key"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Get Execution Receipt Api V1 Agents Executions Execution Id Receipt Get"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/agent-identity/identities": {
|
|
"post": {
|
|
"tags": [
|
|
"Agent Identity"
|
|
],
|
|
"summary": "Create Agent Identity",
|
|
"description": "Create a new agent identity with cross-chain mappings",
|
|
"operationId": "create_agent_identity_v1_agent_identity_identities_post",
|
|
"requestBody": {
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"additionalProperties": true,
|
|
"type": "object",
|
|
"title": "Request"
|
|
}
|
|
}
|
|
},
|
|
"required": true
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"additionalProperties": true,
|
|
"type": "object",
|
|
"title": "Response Create Agent Identity V1 Agent Identity Identities Post"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/agent-identity/identities/{agent_id}": {
|
|
"get": {
|
|
"tags": [
|
|
"Agent Identity"
|
|
],
|
|
"summary": "Get Agent Identity",
|
|
"description": "Get comprehensive agent identity summary",
|
|
"operationId": "get_agent_identity_v1_agent_identity_identities__agent_id__get",
|
|
"parameters": [
|
|
{
|
|
"name": "agent_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Agent Id"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Get Agent Identity V1 Agent Identity Identities Agent Id Get"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"put": {
|
|
"tags": [
|
|
"Agent Identity"
|
|
],
|
|
"summary": "Update Agent Identity",
|
|
"description": "Update agent identity and related components",
|
|
"operationId": "update_agent_identity_v1_agent_identity_identities__agent_id__put",
|
|
"parameters": [
|
|
{
|
|
"name": "agent_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Agent Id"
|
|
}
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"required": true,
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Request"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Update Agent Identity V1 Agent Identity Identities Agent Id Put"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/agent-identity/identities/{agent_id}/deactivate": {
|
|
"post": {
|
|
"tags": [
|
|
"Agent Identity"
|
|
],
|
|
"summary": "Deactivate Agent Identity",
|
|
"description": "Deactivate an agent identity across all chains",
|
|
"operationId": "deactivate_agent_identity_v1_agent_identity_identities__agent_id__deactivate_post",
|
|
"parameters": [
|
|
{
|
|
"name": "agent_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Agent Id"
|
|
}
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"required": true,
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Request"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Deactivate Agent Identity V1 Agent Identity Identities Agent Id Deactivate Post"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/agent-identity/identities/{agent_id}/cross-chain/register": {
|
|
"post": {
|
|
"tags": [
|
|
"Agent Identity"
|
|
],
|
|
"summary": "Register Cross Chain Identity",
|
|
"description": "Register cross-chain identity mappings",
|
|
"operationId": "register_cross_chain_identity_v1_agent_identity_identities__agent_id__cross_chain_register_post",
|
|
"parameters": [
|
|
{
|
|
"name": "agent_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Agent Id"
|
|
}
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"required": true,
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Request"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Register Cross Chain Identity V1 Agent Identity Identities Agent Id Cross Chain Register Post"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/agent-identity/identities/{agent_id}/cross-chain/mapping": {
|
|
"get": {
|
|
"tags": [
|
|
"Agent Identity"
|
|
],
|
|
"summary": "Get Cross Chain Mapping",
|
|
"description": "Get all cross-chain mappings for an agent",
|
|
"operationId": "get_cross_chain_mapping_v1_agent_identity_identities__agent_id__cross_chain_mapping_get",
|
|
"parameters": [
|
|
{
|
|
"name": "agent_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Agent Id"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/CrossChainMappingResponse"
|
|
},
|
|
"title": "Response Get Cross Chain Mapping V1 Agent Identity Identities Agent Id Cross Chain Mapping Get"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/agent-identity/identities/{agent_id}/cross-chain/{chain_id}": {
|
|
"put": {
|
|
"tags": [
|
|
"Agent Identity"
|
|
],
|
|
"summary": "Update Cross Chain Mapping",
|
|
"description": "Update cross-chain mapping for a specific chain",
|
|
"operationId": "update_cross_chain_mapping_v1_agent_identity_identities__agent_id__cross_chain__chain_id__put",
|
|
"parameters": [
|
|
{
|
|
"name": "agent_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Agent Id"
|
|
}
|
|
},
|
|
{
|
|
"name": "chain_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "integer",
|
|
"title": "Chain Id"
|
|
}
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"required": true,
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Request"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Update Cross Chain Mapping V1 Agent Identity Identities Agent Id Cross Chain Chain Id Put"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/agent-identity/identities/{agent_id}/cross-chain/{chain_id}/verify": {
|
|
"post": {
|
|
"tags": [
|
|
"Agent Identity"
|
|
],
|
|
"summary": "Verify Cross Chain Identity",
|
|
"description": "Verify identity on a specific blockchain",
|
|
"operationId": "verify_cross_chain_identity_v1_agent_identity_identities__agent_id__cross_chain__chain_id__verify_post",
|
|
"parameters": [
|
|
{
|
|
"name": "agent_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Agent Id"
|
|
}
|
|
},
|
|
{
|
|
"name": "chain_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "integer",
|
|
"title": "Chain Id"
|
|
}
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"required": true,
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Request"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Verify Cross Chain Identity V1 Agent Identity Identities Agent Id Cross Chain Chain Id Verify Post"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/agent-identity/identities/{agent_id}/migrate": {
|
|
"post": {
|
|
"tags": [
|
|
"Agent Identity"
|
|
],
|
|
"summary": "Migrate Agent Identity",
|
|
"description": "Migrate agent identity from one chain to another",
|
|
"operationId": "migrate_agent_identity_v1_agent_identity_identities__agent_id__migrate_post",
|
|
"parameters": [
|
|
{
|
|
"name": "agent_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Agent Id"
|
|
}
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"required": true,
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Request"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Migrate Agent Identity V1 Agent Identity Identities Agent Id Migrate Post"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/agent-identity/identities/{agent_id}/wallets": {
|
|
"post": {
|
|
"tags": [
|
|
"Agent Identity"
|
|
],
|
|
"summary": "Create Agent Wallet",
|
|
"description": "Create an agent wallet on a specific blockchain",
|
|
"operationId": "create_agent_wallet_v1_agent_identity_identities__agent_id__wallets_post",
|
|
"parameters": [
|
|
{
|
|
"name": "agent_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Agent Id"
|
|
}
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"required": true,
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Request"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Create Agent Wallet V1 Agent Identity Identities Agent Id Wallets Post"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"get": {
|
|
"tags": [
|
|
"Agent Identity"
|
|
],
|
|
"summary": "Get All Agent Wallets",
|
|
"description": "Get all wallets for an agent across all chains",
|
|
"operationId": "get_all_agent_wallets_v1_agent_identity_identities__agent_id__wallets_get",
|
|
"parameters": [
|
|
{
|
|
"name": "agent_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Agent Id"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Get All Agent Wallets V1 Agent Identity Identities Agent Id Wallets Get"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/agent-identity/identities/{agent_id}/wallets/{chain_id}/balance": {
|
|
"get": {
|
|
"tags": [
|
|
"Agent Identity"
|
|
],
|
|
"summary": "Get Wallet Balance",
|
|
"description": "Get wallet balance for an agent on a specific chain",
|
|
"operationId": "get_wallet_balance_v1_agent_identity_identities__agent_id__wallets__chain_id__balance_get",
|
|
"parameters": [
|
|
{
|
|
"name": "agent_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Agent Id"
|
|
}
|
|
},
|
|
{
|
|
"name": "chain_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "integer",
|
|
"title": "Chain Id"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Get Wallet Balance V1 Agent Identity Identities Agent Id Wallets Chain Id Balance Get"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/agent-identity/identities/{agent_id}/wallets/{chain_id}/transactions": {
|
|
"post": {
|
|
"tags": [
|
|
"Agent Identity"
|
|
],
|
|
"summary": "Execute Wallet Transaction",
|
|
"description": "Execute a transaction from agent wallet",
|
|
"operationId": "execute_wallet_transaction_v1_agent_identity_identities__agent_id__wallets__chain_id__transactions_post",
|
|
"parameters": [
|
|
{
|
|
"name": "agent_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Agent Id"
|
|
}
|
|
},
|
|
{
|
|
"name": "chain_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "integer",
|
|
"title": "Chain Id"
|
|
}
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"required": true,
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Request"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Execute Wallet Transaction V1 Agent Identity Identities Agent Id Wallets Chain Id Transactions Post"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"get": {
|
|
"tags": [
|
|
"Agent Identity"
|
|
],
|
|
"summary": "Get Wallet Transaction History",
|
|
"description": "Get transaction history for agent wallet",
|
|
"operationId": "get_wallet_transaction_history_v1_agent_identity_identities__agent_id__wallets__chain_id__transactions_get",
|
|
"parameters": [
|
|
{
|
|
"name": "agent_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Agent Id"
|
|
}
|
|
},
|
|
{
|
|
"name": "chain_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "integer",
|
|
"title": "Chain Id"
|
|
}
|
|
},
|
|
{
|
|
"name": "limit",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"type": "integer",
|
|
"maximum": 1000,
|
|
"minimum": 1,
|
|
"default": 50,
|
|
"title": "Limit"
|
|
}
|
|
},
|
|
{
|
|
"name": "offset",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"type": "integer",
|
|
"minimum": 0,
|
|
"default": 0,
|
|
"title": "Offset"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"additionalProperties": true
|
|
},
|
|
"title": "Response Get Wallet Transaction History V1 Agent Identity Identities Agent Id Wallets Chain Id Transactions Get"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/agent-identity/identities/search": {
|
|
"get": {
|
|
"tags": [
|
|
"Agent Identity"
|
|
],
|
|
"summary": "Search Agent Identities",
|
|
"description": "Search agent identities with advanced filters",
|
|
"operationId": "search_agent_identities_v1_agent_identity_identities_search_get",
|
|
"parameters": [
|
|
{
|
|
"name": "query",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"type": "string",
|
|
"description": "Search query",
|
|
"default": "",
|
|
"title": "Query"
|
|
},
|
|
"description": "Search query"
|
|
},
|
|
{
|
|
"name": "chains",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "integer"
|
|
}
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"description": "Filter by chain IDs",
|
|
"title": "Chains"
|
|
},
|
|
"description": "Filter by chain IDs"
|
|
},
|
|
{
|
|
"name": "status",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/IdentityStatus"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"description": "Filter by status",
|
|
"title": "Status"
|
|
},
|
|
"description": "Filter by status"
|
|
},
|
|
{
|
|
"name": "verification_level",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/app__domain__agent_identity__VerificationType"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"description": "Filter by verification level",
|
|
"title": "Verification Level"
|
|
},
|
|
"description": "Filter by verification level"
|
|
},
|
|
{
|
|
"name": "min_reputation",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "number",
|
|
"maximum": 100,
|
|
"minimum": 0
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"description": "Minimum reputation score",
|
|
"title": "Min Reputation"
|
|
},
|
|
"description": "Minimum reputation score"
|
|
},
|
|
{
|
|
"name": "limit",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"type": "integer",
|
|
"maximum": 100,
|
|
"minimum": 1,
|
|
"default": 50,
|
|
"title": "Limit"
|
|
}
|
|
},
|
|
{
|
|
"name": "offset",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"type": "integer",
|
|
"minimum": 0,
|
|
"default": 0,
|
|
"title": "Offset"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Search Agent Identities V1 Agent Identity Identities Search Get"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/agent-identity/identities/{agent_id}/sync-reputation": {
|
|
"post": {
|
|
"tags": [
|
|
"Agent Identity"
|
|
],
|
|
"summary": "Sync Agent Reputation",
|
|
"description": "Sync agent reputation across all chains",
|
|
"operationId": "sync_agent_reputation_v1_agent_identity_identities__agent_id__sync_reputation_post",
|
|
"parameters": [
|
|
{
|
|
"name": "agent_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Agent Id"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Sync Agent Reputation V1 Agent Identity Identities Agent Id Sync Reputation Post"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/agent-identity/registry/health": {
|
|
"get": {
|
|
"tags": [
|
|
"Agent Identity"
|
|
],
|
|
"summary": "Get Registry Health",
|
|
"description": "Get health status of the identity registry",
|
|
"operationId": "get_registry_health_v1_agent_identity_registry_health_get",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"additionalProperties": true,
|
|
"type": "object",
|
|
"title": "Response Get Registry Health V1 Agent Identity Registry Health Get"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/agent-identity/registry/statistics": {
|
|
"get": {
|
|
"tags": [
|
|
"Agent Identity"
|
|
],
|
|
"summary": "Get Registry Statistics",
|
|
"description": "Get comprehensive registry statistics",
|
|
"operationId": "get_registry_statistics_v1_agent_identity_registry_statistics_get",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"additionalProperties": true,
|
|
"type": "object",
|
|
"title": "Response Get Registry Statistics V1 Agent Identity Registry Statistics Get"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/agent-identity/chains/supported": {
|
|
"get": {
|
|
"tags": [
|
|
"Agent Identity"
|
|
],
|
|
"summary": "Get Supported Chains",
|
|
"description": "Get list of supported blockchains",
|
|
"operationId": "get_supported_chains_v1_agent_identity_chains_supported_get",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"items": {
|
|
"additionalProperties": true,
|
|
"type": "object"
|
|
},
|
|
"type": "array",
|
|
"title": "Response Get Supported Chains V1 Agent Identity Chains Supported Get"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/agent-identity/identities/{agent_id}/export": {
|
|
"post": {
|
|
"tags": [
|
|
"Agent Identity"
|
|
],
|
|
"summary": "Export Agent Identity",
|
|
"description": "Export agent identity data for backup or migration",
|
|
"operationId": "export_agent_identity_v1_agent_identity_identities__agent_id__export_post",
|
|
"parameters": [
|
|
{
|
|
"name": "agent_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Agent Id"
|
|
}
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Request"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Export Agent Identity V1 Agent Identity Identities Agent Id Export Post"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/agent-identity/identities/import": {
|
|
"post": {
|
|
"tags": [
|
|
"Agent Identity"
|
|
],
|
|
"summary": "Import Agent Identity",
|
|
"description": "Import agent identity data from backup or migration",
|
|
"operationId": "import_agent_identity_v1_agent_identity_identities_import_post",
|
|
"requestBody": {
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"additionalProperties": true,
|
|
"type": "object",
|
|
"title": "Export Data"
|
|
}
|
|
}
|
|
},
|
|
"required": true
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"additionalProperties": true,
|
|
"type": "object",
|
|
"title": "Response Import Agent Identity V1 Agent Identity Identities Import Post"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/agent-identity/registry/cleanup-expired": {
|
|
"post": {
|
|
"tags": [
|
|
"Agent Identity"
|
|
],
|
|
"summary": "Cleanup Expired Verifications",
|
|
"description": "Clean up expired verification records",
|
|
"operationId": "cleanup_expired_verifications_v1_agent_identity_registry_cleanup_expired_post",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"additionalProperties": true,
|
|
"type": "object",
|
|
"title": "Response Cleanup Expired Verifications V1 Agent Identity Registry Cleanup Expired Post"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/agent-identity/identities/batch-verify": {
|
|
"post": {
|
|
"tags": [
|
|
"Agent Identity"
|
|
],
|
|
"summary": "Batch Verify Identities",
|
|
"description": "Batch verify multiple identities",
|
|
"operationId": "batch_verify_identities_v1_agent_identity_identities_batch_verify_post",
|
|
"requestBody": {
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"items": {
|
|
"additionalProperties": true,
|
|
"type": "object"
|
|
},
|
|
"type": "array",
|
|
"title": "Verifications"
|
|
}
|
|
}
|
|
},
|
|
"required": true
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"items": {
|
|
"additionalProperties": true,
|
|
"type": "object"
|
|
},
|
|
"type": "array",
|
|
"title": "Response Batch Verify Identities V1 Agent Identity Identities Batch Verify Post"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/agent-identity/identities/{agent_id}/resolve/{chain_id}": {
|
|
"get": {
|
|
"tags": [
|
|
"Agent Identity"
|
|
],
|
|
"summary": "Resolve Agent Identity",
|
|
"description": "Resolve agent identity to chain-specific address",
|
|
"operationId": "resolve_agent_identity_v1_agent_identity_identities__agent_id__resolve__chain_id__get",
|
|
"parameters": [
|
|
{
|
|
"name": "agent_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Agent Id"
|
|
}
|
|
},
|
|
{
|
|
"name": "chain_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "integer",
|
|
"title": "Chain Id"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Resolve Agent Identity V1 Agent Identity Identities Agent Id Resolve Chain Id Get"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/agent-identity/address/{chain_address}/resolve/{chain_id}": {
|
|
"get": {
|
|
"tags": [
|
|
"Agent Identity"
|
|
],
|
|
"summary": "Resolve Address To Agent",
|
|
"description": "Resolve chain address back to agent ID",
|
|
"operationId": "resolve_address_to_agent_v1_agent_identity_address__chain_address__resolve__chain_id__get",
|
|
"parameters": [
|
|
{
|
|
"name": "chain_address",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Chain Address"
|
|
}
|
|
},
|
|
{
|
|
"name": "chain_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "integer",
|
|
"title": "Chain Id"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Resolve Address To Agent V1 Agent Identity Address Chain Address Resolve Chain Id Get"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/global-marketplace/offers": {
|
|
"post": {
|
|
"tags": [
|
|
"Global Marketplace"
|
|
],
|
|
"summary": "Create Global Offer",
|
|
"description": "Create a new global marketplace offer",
|
|
"operationId": "create_global_offer_v1_global_marketplace_offers_post",
|
|
"requestBody": {
|
|
"required": true,
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Offer Request"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Create Global Offer V1 Global Marketplace Offers Post"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"get": {
|
|
"tags": [
|
|
"Global Marketplace"
|
|
],
|
|
"summary": "Get Global Offers",
|
|
"description": "Get global marketplace offers with filtering",
|
|
"operationId": "get_global_offers_v1_global_marketplace_offers_get",
|
|
"parameters": [
|
|
{
|
|
"name": "region",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"description": "Filter by region",
|
|
"title": "Region"
|
|
},
|
|
"description": "Filter by region"
|
|
},
|
|
{
|
|
"name": "service_type",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"description": "Filter by service type",
|
|
"title": "Service Type"
|
|
},
|
|
"description": "Filter by service type"
|
|
},
|
|
{
|
|
"name": "status",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"description": "Filter by status",
|
|
"title": "Status"
|
|
},
|
|
"description": "Filter by status"
|
|
},
|
|
{
|
|
"name": "limit",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"type": "integer",
|
|
"maximum": 500,
|
|
"minimum": 1,
|
|
"description": "Maximum number of offers",
|
|
"default": 100,
|
|
"title": "Limit"
|
|
},
|
|
"description": "Maximum number of offers"
|
|
},
|
|
{
|
|
"name": "offset",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"type": "integer",
|
|
"minimum": 0,
|
|
"description": "Offset for pagination",
|
|
"default": 0,
|
|
"title": "Offset"
|
|
},
|
|
"description": "Offset for pagination"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"additionalProperties": true
|
|
},
|
|
"title": "Response Get Global Offers V1 Global Marketplace Offers Get"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/global-marketplace/offers/{offer_id}": {
|
|
"get": {
|
|
"tags": [
|
|
"Global Marketplace"
|
|
],
|
|
"summary": "Get Global Offer",
|
|
"description": "Get a specific global marketplace offer",
|
|
"operationId": "get_global_offer_v1_global_marketplace_offers__offer_id__get",
|
|
"parameters": [
|
|
{
|
|
"name": "offer_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Offer Id"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Get Global Offer V1 Global Marketplace Offers Offer Id Get"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/global-marketplace/transactions": {
|
|
"post": {
|
|
"tags": [
|
|
"Global Marketplace"
|
|
],
|
|
"summary": "Create Global Transaction",
|
|
"description": "Create a new global marketplace transaction",
|
|
"operationId": "create_global_transaction_v1_global_marketplace_transactions_post",
|
|
"requestBody": {
|
|
"required": true,
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Transaction Request"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Create Global Transaction V1 Global Marketplace Transactions Post"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"get": {
|
|
"tags": [
|
|
"Global Marketplace"
|
|
],
|
|
"summary": "Get Global Transactions",
|
|
"description": "Get global marketplace transactions",
|
|
"operationId": "get_global_transactions_v1_global_marketplace_transactions_get",
|
|
"parameters": [
|
|
{
|
|
"name": "user_id",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"description": "Filter by user ID",
|
|
"title": "User Id"
|
|
},
|
|
"description": "Filter by user ID"
|
|
},
|
|
{
|
|
"name": "status",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"description": "Filter by status",
|
|
"title": "Status"
|
|
},
|
|
"description": "Filter by status"
|
|
},
|
|
{
|
|
"name": "limit",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"type": "integer",
|
|
"maximum": 500,
|
|
"minimum": 1,
|
|
"description": "Maximum number of transactions",
|
|
"default": 100,
|
|
"title": "Limit"
|
|
},
|
|
"description": "Maximum number of transactions"
|
|
},
|
|
{
|
|
"name": "offset",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"type": "integer",
|
|
"minimum": 0,
|
|
"description": "Offset for pagination",
|
|
"default": 0,
|
|
"title": "Offset"
|
|
},
|
|
"description": "Offset for pagination"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"additionalProperties": true
|
|
},
|
|
"title": "Response Get Global Transactions V1 Global Marketplace Transactions Get"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/global-marketplace/transactions/{transaction_id}": {
|
|
"get": {
|
|
"tags": [
|
|
"Global Marketplace"
|
|
],
|
|
"summary": "Get Global Transaction",
|
|
"description": "Get a specific global marketplace transaction",
|
|
"operationId": "get_global_transaction_v1_global_marketplace_transactions__transaction_id__get",
|
|
"parameters": [
|
|
{
|
|
"name": "transaction_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Transaction Id"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Get Global Transaction V1 Global Marketplace Transactions Transaction Id Get"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/global-marketplace/regions": {
|
|
"get": {
|
|
"tags": [
|
|
"Global Marketplace"
|
|
],
|
|
"summary": "Get Regions",
|
|
"description": "Get all marketplace regions",
|
|
"operationId": "get_regions_v1_global_marketplace_regions_get",
|
|
"parameters": [
|
|
{
|
|
"name": "status",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"description": "Filter by status",
|
|
"title": "Status"
|
|
},
|
|
"description": "Filter by status"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"additionalProperties": true
|
|
},
|
|
"title": "Response Get Regions V1 Global Marketplace Regions Get"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/global-marketplace/regions/{region_code}/health": {
|
|
"get": {
|
|
"tags": [
|
|
"Global Marketplace"
|
|
],
|
|
"summary": "Get Region Health",
|
|
"description": "Get health status for a specific region",
|
|
"operationId": "get_region_health_v1_global_marketplace_regions__region_code__health_get",
|
|
"parameters": [
|
|
{
|
|
"name": "region_code",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Region Code"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Get Region Health V1 Global Marketplace Regions Region Code Health Get"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"post": {
|
|
"tags": [
|
|
"Global Marketplace"
|
|
],
|
|
"summary": "Update Region Health",
|
|
"description": "Update health metrics for a region",
|
|
"operationId": "update_region_health_v1_global_marketplace_regions__region_code__health_post",
|
|
"parameters": [
|
|
{
|
|
"name": "region_code",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Region Code"
|
|
}
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"required": true,
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Health Metrics"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Update Region Health V1 Global Marketplace Regions Region Code Health Post"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/global-marketplace/analytics": {
|
|
"get": {
|
|
"tags": [
|
|
"Global Marketplace"
|
|
],
|
|
"summary": "Get Marketplace Analytics",
|
|
"description": "Get global marketplace analytics",
|
|
"operationId": "get_marketplace_analytics_v1_global_marketplace_analytics_get",
|
|
"parameters": [
|
|
{
|
|
"name": "period_type",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"type": "string",
|
|
"description": "Analytics period type",
|
|
"default": "daily",
|
|
"title": "Period Type"
|
|
},
|
|
"description": "Analytics period type"
|
|
},
|
|
{
|
|
"name": "start_date",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"format": "date-time",
|
|
"description": "Start date for analytics",
|
|
"title": "Start Date"
|
|
},
|
|
"description": "Start date for analytics"
|
|
},
|
|
{
|
|
"name": "end_date",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"format": "date-time",
|
|
"description": "End date for analytics",
|
|
"title": "End Date"
|
|
},
|
|
"description": "End date for analytics"
|
|
},
|
|
{
|
|
"name": "region",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"description": "Region for analytics",
|
|
"default": "global",
|
|
"title": "Region"
|
|
},
|
|
"description": "Region for analytics"
|
|
},
|
|
{
|
|
"name": "include_cross_chain",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"type": "boolean",
|
|
"description": "Include cross-chain metrics",
|
|
"default": false,
|
|
"title": "Include Cross Chain"
|
|
},
|
|
"description": "Include cross-chain metrics"
|
|
},
|
|
{
|
|
"name": "include_regional",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"type": "boolean",
|
|
"description": "Include regional breakdown",
|
|
"default": false,
|
|
"title": "Include Regional"
|
|
},
|
|
"description": "Include regional breakdown"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Get Marketplace Analytics V1 Global Marketplace Analytics Get"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/global-marketplace/config": {
|
|
"get": {
|
|
"tags": [
|
|
"Global Marketplace"
|
|
],
|
|
"summary": "Get Global Marketplace Config",
|
|
"description": "Get global marketplace configuration",
|
|
"operationId": "get_global_marketplace_config_v1_global_marketplace_config_get",
|
|
"parameters": [
|
|
{
|
|
"name": "category",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"description": "Filter by configuration category",
|
|
"title": "Category"
|
|
},
|
|
"description": "Filter by configuration category"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Get Global Marketplace Config V1 Global Marketplace Config Get"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/global-marketplace/health": {
|
|
"get": {
|
|
"tags": [
|
|
"Global Marketplace"
|
|
],
|
|
"summary": "Get Global Marketplace Health",
|
|
"description": "Get global marketplace health status",
|
|
"operationId": "get_global_marketplace_health_v1_global_marketplace_health_get",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"additionalProperties": true,
|
|
"type": "object",
|
|
"title": "Response Get Global Marketplace Health V1 Global Marketplace Health Get"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/cross-chain/wallets/create": {
|
|
"post": {
|
|
"tags": [
|
|
"Cross-Chain Integration"
|
|
],
|
|
"summary": "Create Enhanced Wallet",
|
|
"description": "Create an enhanced multi-chain wallet",
|
|
"operationId": "create_enhanced_wallet_v1_cross_chain_wallets_create_post",
|
|
"parameters": [
|
|
{
|
|
"name": "owner_address",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Owner Address"
|
|
}
|
|
},
|
|
{
|
|
"name": "chain_id",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "integer",
|
|
"title": "Chain Id"
|
|
}
|
|
},
|
|
{
|
|
"name": "security_level",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"$ref": "#/components/schemas/SecurityLevel",
|
|
"default": "medium"
|
|
}
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"required": true,
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Security Config"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Create Enhanced Wallet V1 Cross Chain Wallets Create Post"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/cross-chain/wallets/{wallet_address}/balance": {
|
|
"get": {
|
|
"tags": [
|
|
"Cross-Chain Integration"
|
|
],
|
|
"summary": "Get Wallet Balance",
|
|
"description": "Get wallet balance with multi-token support",
|
|
"operationId": "get_wallet_balance_v1_cross_chain_wallets__wallet_address__balance_get",
|
|
"parameters": [
|
|
{
|
|
"name": "wallet_address",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Wallet Address"
|
|
}
|
|
},
|
|
{
|
|
"name": "chain_id",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "integer",
|
|
"title": "Chain Id"
|
|
}
|
|
},
|
|
{
|
|
"name": "token_address",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Token Address"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Get Wallet Balance V1 Cross Chain Wallets Wallet Address Balance Get"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/cross-chain/wallets/{wallet_address}/transactions": {
|
|
"post": {
|
|
"tags": [
|
|
"Cross-Chain Integration"
|
|
],
|
|
"summary": "Execute Wallet Transaction",
|
|
"description": "Execute a transaction from wallet",
|
|
"operationId": "execute_wallet_transaction_v1_cross_chain_wallets__wallet_address__transactions_post",
|
|
"parameters": [
|
|
{
|
|
"name": "wallet_address",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Wallet Address"
|
|
}
|
|
},
|
|
{
|
|
"name": "chain_id",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "integer",
|
|
"title": "Chain Id"
|
|
}
|
|
},
|
|
{
|
|
"name": "to_address",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "To Address"
|
|
}
|
|
},
|
|
{
|
|
"name": "amount",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "number",
|
|
"title": "Amount"
|
|
}
|
|
},
|
|
{
|
|
"name": "token_address",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Token Address"
|
|
}
|
|
},
|
|
{
|
|
"name": "gas_limit",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Gas Limit"
|
|
}
|
|
},
|
|
{
|
|
"name": "gas_price",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Gas Price"
|
|
}
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "object",
|
|
"additionalProperties": true
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Data"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Execute Wallet Transaction V1 Cross Chain Wallets Wallet Address Transactions Post"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"get": {
|
|
"tags": [
|
|
"Cross-Chain Integration"
|
|
],
|
|
"summary": "Get Wallet Transaction History",
|
|
"description": "Get wallet transaction history",
|
|
"operationId": "get_wallet_transaction_history_v1_cross_chain_wallets__wallet_address__transactions_get",
|
|
"parameters": [
|
|
{
|
|
"name": "wallet_address",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Wallet Address"
|
|
}
|
|
},
|
|
{
|
|
"name": "chain_id",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "integer",
|
|
"title": "Chain Id"
|
|
}
|
|
},
|
|
{
|
|
"name": "limit",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"type": "integer",
|
|
"maximum": 1000,
|
|
"minimum": 1,
|
|
"default": 100,
|
|
"title": "Limit"
|
|
}
|
|
},
|
|
{
|
|
"name": "offset",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"type": "integer",
|
|
"minimum": 0,
|
|
"default": 0,
|
|
"title": "Offset"
|
|
}
|
|
},
|
|
{
|
|
"name": "from_block",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "From Block"
|
|
}
|
|
},
|
|
{
|
|
"name": "to_block",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "To Block"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"additionalProperties": true
|
|
},
|
|
"title": "Response Get Wallet Transaction History V1 Cross Chain Wallets Wallet Address Transactions Get"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/cross-chain/wallets/{wallet_address}/sign": {
|
|
"post": {
|
|
"tags": [
|
|
"Cross-Chain Integration"
|
|
],
|
|
"summary": "Sign Message",
|
|
"description": "Sign a message with wallet",
|
|
"operationId": "sign_message_v1_cross_chain_wallets__wallet_address__sign_post",
|
|
"parameters": [
|
|
{
|
|
"name": "wallet_address",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Wallet Address"
|
|
}
|
|
},
|
|
{
|
|
"name": "chain_id",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "integer",
|
|
"title": "Chain Id"
|
|
}
|
|
},
|
|
{
|
|
"name": "message",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Message"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Sign Message V1 Cross Chain Wallets Wallet Address Sign Post"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/cross-chain/wallets/verify-signature": {
|
|
"post": {
|
|
"tags": [
|
|
"Cross-Chain Integration"
|
|
],
|
|
"summary": "Verify Signature",
|
|
"description": "Verify a message signature",
|
|
"operationId": "verify_signature_v1_cross_chain_wallets_verify_signature_post",
|
|
"parameters": [
|
|
{
|
|
"name": "message",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Message"
|
|
}
|
|
},
|
|
{
|
|
"name": "signature",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Signature"
|
|
}
|
|
},
|
|
{
|
|
"name": "address",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Address"
|
|
}
|
|
},
|
|
{
|
|
"name": "chain_id",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "integer",
|
|
"title": "Chain Id"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Verify Signature V1 Cross Chain Wallets Verify Signature Post"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/cross-chain/bridge/create-request": {
|
|
"post": {
|
|
"tags": [
|
|
"Cross-Chain Integration"
|
|
],
|
|
"summary": "Create Bridge Request",
|
|
"description": "Create a cross-chain bridge request",
|
|
"operationId": "create_bridge_request_v1_cross_chain_bridge_create_request_post",
|
|
"parameters": [
|
|
{
|
|
"name": "user_address",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "User Address"
|
|
}
|
|
},
|
|
{
|
|
"name": "source_chain_id",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "integer",
|
|
"title": "Source Chain Id"
|
|
}
|
|
},
|
|
{
|
|
"name": "target_chain_id",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "integer",
|
|
"title": "Target Chain Id"
|
|
}
|
|
},
|
|
{
|
|
"name": "amount",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "number",
|
|
"title": "Amount"
|
|
}
|
|
},
|
|
{
|
|
"name": "token_address",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Token Address"
|
|
}
|
|
},
|
|
{
|
|
"name": "target_address",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Target Address"
|
|
}
|
|
},
|
|
{
|
|
"name": "protocol",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/BridgeProtocol"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Protocol"
|
|
}
|
|
},
|
|
{
|
|
"name": "security_level",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"$ref": "#/components/schemas/BridgeSecurityLevel",
|
|
"default": "medium"
|
|
}
|
|
},
|
|
{
|
|
"name": "deadline_minutes",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"type": "integer",
|
|
"maximum": 1440,
|
|
"minimum": 5,
|
|
"default": 30,
|
|
"title": "Deadline Minutes"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Create Bridge Request V1 Cross Chain Bridge Create Request Post"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/cross-chain/bridge/request/{bridge_request_id}": {
|
|
"get": {
|
|
"tags": [
|
|
"Cross-Chain Integration"
|
|
],
|
|
"summary": "Get Bridge Request Status",
|
|
"description": "Get status of a bridge request",
|
|
"operationId": "get_bridge_request_status_v1_cross_chain_bridge_request__bridge_request_id__get",
|
|
"parameters": [
|
|
{
|
|
"name": "bridge_request_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Bridge Request Id"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Get Bridge Request Status V1 Cross Chain Bridge Request Bridge Request Id Get"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/cross-chain/bridge/request/{bridge_request_id}/cancel": {
|
|
"post": {
|
|
"tags": [
|
|
"Cross-Chain Integration"
|
|
],
|
|
"summary": "Cancel Bridge Request",
|
|
"description": "Cancel a bridge request",
|
|
"operationId": "cancel_bridge_request_v1_cross_chain_bridge_request__bridge_request_id__cancel_post",
|
|
"parameters": [
|
|
{
|
|
"name": "bridge_request_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Bridge Request Id"
|
|
}
|
|
},
|
|
{
|
|
"name": "reason",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Reason"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Cancel Bridge Request V1 Cross Chain Bridge Request Bridge Request Id Cancel Post"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/cross-chain/bridge/statistics": {
|
|
"get": {
|
|
"tags": [
|
|
"Cross-Chain Integration"
|
|
],
|
|
"summary": "Get Bridge Statistics",
|
|
"description": "Get bridge statistics",
|
|
"operationId": "get_bridge_statistics_v1_cross_chain_bridge_statistics_get",
|
|
"parameters": [
|
|
{
|
|
"name": "time_period_hours",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"type": "integer",
|
|
"maximum": 8760,
|
|
"minimum": 1,
|
|
"default": 24,
|
|
"title": "Time Period Hours"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Get Bridge Statistics V1 Cross Chain Bridge Statistics Get"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/cross-chain/bridge/liquidity-pools": {
|
|
"get": {
|
|
"tags": [
|
|
"Cross-Chain Integration"
|
|
],
|
|
"summary": "Get Liquidity Pools",
|
|
"description": "Get all liquidity pool information",
|
|
"operationId": "get_liquidity_pools_v1_cross_chain_bridge_liquidity_pools_get",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"items": {
|
|
"additionalProperties": true,
|
|
"type": "object"
|
|
},
|
|
"type": "array",
|
|
"title": "Response Get Liquidity Pools V1 Cross Chain Bridge Liquidity Pools Get"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/cross-chain/transactions/submit": {
|
|
"post": {
|
|
"tags": [
|
|
"Cross-Chain Integration"
|
|
],
|
|
"summary": "Submit Transaction",
|
|
"description": "Submit a multi-chain transaction",
|
|
"operationId": "submit_transaction_v1_cross_chain_transactions_submit_post",
|
|
"parameters": [
|
|
{
|
|
"name": "user_id",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "User Id"
|
|
}
|
|
},
|
|
{
|
|
"name": "chain_id",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "integer",
|
|
"title": "Chain Id"
|
|
}
|
|
},
|
|
{
|
|
"name": "transaction_type",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/components/schemas/TransactionType"
|
|
}
|
|
},
|
|
{
|
|
"name": "from_address",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "From Address"
|
|
}
|
|
},
|
|
{
|
|
"name": "to_address",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "To Address"
|
|
}
|
|
},
|
|
{
|
|
"name": "amount",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "number",
|
|
"title": "Amount"
|
|
}
|
|
},
|
|
{
|
|
"name": "token_address",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Token Address"
|
|
}
|
|
},
|
|
{
|
|
"name": "priority",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"$ref": "#/components/schemas/TransactionPriority",
|
|
"default": "medium"
|
|
}
|
|
},
|
|
{
|
|
"name": "routing_strategy",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/RoutingStrategy"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Routing Strategy"
|
|
}
|
|
},
|
|
{
|
|
"name": "gas_limit",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Gas Limit"
|
|
}
|
|
},
|
|
{
|
|
"name": "gas_price",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Gas Price"
|
|
}
|
|
},
|
|
{
|
|
"name": "max_fee_per_gas",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Max Fee Per Gas"
|
|
}
|
|
},
|
|
{
|
|
"name": "deadline_minutes",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"type": "integer",
|
|
"maximum": 1440,
|
|
"minimum": 5,
|
|
"default": 30,
|
|
"title": "Deadline Minutes"
|
|
}
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/Body_submit_transaction_v1_cross_chain_transactions_submit_post"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Submit Transaction V1 Cross Chain Transactions Submit Post"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/cross-chain/transactions/{transaction_id}": {
|
|
"get": {
|
|
"tags": [
|
|
"Cross-Chain Integration"
|
|
],
|
|
"summary": "Get Transaction Status",
|
|
"description": "Get detailed transaction status",
|
|
"operationId": "get_transaction_status_v1_cross_chain_transactions__transaction_id__get",
|
|
"parameters": [
|
|
{
|
|
"name": "transaction_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Transaction Id"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Get Transaction Status V1 Cross Chain Transactions Transaction Id Get"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/cross-chain/transactions/{transaction_id}/cancel": {
|
|
"post": {
|
|
"tags": [
|
|
"Cross-Chain Integration"
|
|
],
|
|
"summary": "Cancel Transaction",
|
|
"description": "Cancel a transaction",
|
|
"operationId": "cancel_transaction_v1_cross_chain_transactions__transaction_id__cancel_post",
|
|
"parameters": [
|
|
{
|
|
"name": "transaction_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Transaction Id"
|
|
}
|
|
},
|
|
{
|
|
"name": "reason",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Reason"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Cancel Transaction V1 Cross Chain Transactions Transaction Id Cancel Post"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/cross-chain/transactions/history": {
|
|
"get": {
|
|
"tags": [
|
|
"Cross-Chain Integration"
|
|
],
|
|
"summary": "Get Transaction History",
|
|
"description": "Get transaction history with filtering",
|
|
"operationId": "get_transaction_history_v1_cross_chain_transactions_history_get",
|
|
"parameters": [
|
|
{
|
|
"name": "user_id",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "User Id"
|
|
}
|
|
},
|
|
{
|
|
"name": "chain_id",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Chain Id"
|
|
}
|
|
},
|
|
{
|
|
"name": "transaction_type",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/TransactionType"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Transaction Type"
|
|
}
|
|
},
|
|
{
|
|
"name": "status",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/TransactionStatus"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Status"
|
|
}
|
|
},
|
|
{
|
|
"name": "priority",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/TransactionPriority"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Priority"
|
|
}
|
|
},
|
|
{
|
|
"name": "limit",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"type": "integer",
|
|
"maximum": 1000,
|
|
"minimum": 1,
|
|
"default": 100,
|
|
"title": "Limit"
|
|
}
|
|
},
|
|
{
|
|
"name": "offset",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"type": "integer",
|
|
"minimum": 0,
|
|
"default": 0,
|
|
"title": "Offset"
|
|
}
|
|
},
|
|
{
|
|
"name": "from_date",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "From Date"
|
|
}
|
|
},
|
|
{
|
|
"name": "to_date",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "To Date"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"additionalProperties": true
|
|
},
|
|
"title": "Response Get Transaction History V1 Cross Chain Transactions History Get"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/cross-chain/transactions/statistics": {
|
|
"get": {
|
|
"tags": [
|
|
"Cross-Chain Integration"
|
|
],
|
|
"summary": "Get Transaction Statistics",
|
|
"description": "Get transaction statistics",
|
|
"operationId": "get_transaction_statistics_v1_cross_chain_transactions_statistics_get",
|
|
"parameters": [
|
|
{
|
|
"name": "time_period_hours",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"type": "integer",
|
|
"maximum": 8760,
|
|
"minimum": 1,
|
|
"default": 24,
|
|
"title": "Time Period Hours"
|
|
}
|
|
},
|
|
{
|
|
"name": "chain_id",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Chain Id"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Get Transaction Statistics V1 Cross Chain Transactions Statistics Get"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/cross-chain/transactions/optimize-routing": {
|
|
"post": {
|
|
"tags": [
|
|
"Cross-Chain Integration"
|
|
],
|
|
"summary": "Optimize Transaction Routing",
|
|
"description": "Optimize transaction routing for best performance",
|
|
"operationId": "optimize_transaction_routing_v1_cross_chain_transactions_optimize_routing_post",
|
|
"parameters": [
|
|
{
|
|
"name": "transaction_type",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/components/schemas/TransactionType"
|
|
}
|
|
},
|
|
{
|
|
"name": "amount",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "number",
|
|
"title": "Amount"
|
|
}
|
|
},
|
|
{
|
|
"name": "from_chain",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "integer",
|
|
"title": "From Chain"
|
|
}
|
|
},
|
|
{
|
|
"name": "to_chain",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "To Chain"
|
|
}
|
|
},
|
|
{
|
|
"name": "urgency",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"$ref": "#/components/schemas/TransactionPriority",
|
|
"default": "medium"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Optimize Transaction Routing V1 Cross Chain Transactions Optimize Routing Post"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/cross-chain/chains/supported": {
|
|
"get": {
|
|
"tags": [
|
|
"Cross-Chain Integration"
|
|
],
|
|
"summary": "Get Supported Chains",
|
|
"description": "Get list of supported blockchain chains",
|
|
"operationId": "get_supported_chains_v1_cross_chain_chains_supported_get",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"items": {
|
|
"additionalProperties": true,
|
|
"type": "object"
|
|
},
|
|
"type": "array",
|
|
"title": "Response Get Supported Chains V1 Cross Chain Chains Supported Get"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/cross-chain/chains/{chain_id}/info": {
|
|
"get": {
|
|
"tags": [
|
|
"Cross-Chain Integration"
|
|
],
|
|
"summary": "Get Chain Info",
|
|
"description": "Get information about a specific chain",
|
|
"operationId": "get_chain_info_v1_cross_chain_chains__chain_id__info_get",
|
|
"parameters": [
|
|
{
|
|
"name": "chain_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "integer",
|
|
"title": "Chain Id"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Get Chain Info V1 Cross Chain Chains Chain Id Info Get"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/cross-chain/health": {
|
|
"get": {
|
|
"tags": [
|
|
"Cross-Chain Integration"
|
|
],
|
|
"summary": "Get Cross Chain Health",
|
|
"description": "Get cross-chain integration health status",
|
|
"operationId": "get_cross_chain_health_v1_cross_chain_health_get",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"additionalProperties": true,
|
|
"type": "object",
|
|
"title": "Response Get Cross Chain Health V1 Cross Chain Health Get"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/cross-chain/config": {
|
|
"get": {
|
|
"tags": [
|
|
"Cross-Chain Integration"
|
|
],
|
|
"summary": "Get Cross Chain Config",
|
|
"description": "Get cross-chain integration configuration",
|
|
"operationId": "get_cross_chain_config_v1_cross_chain_config_get",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"additionalProperties": true,
|
|
"type": "object",
|
|
"title": "Response Get Cross Chain Config V1 Cross Chain Config Get"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/global-marketplace-integration/offers/create-cross-chain": {
|
|
"post": {
|
|
"tags": [
|
|
"Global Marketplace Integration"
|
|
],
|
|
"summary": "Create Cross Chain Marketplace Offer",
|
|
"description": "Create a cross-chain enabled marketplace offer",
|
|
"operationId": "create_cross_chain_marketplace_offer_v1_global_marketplace_integration_offers_create_cross_chain_post",
|
|
"parameters": [
|
|
{
|
|
"name": "agent_id",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Agent Id"
|
|
}
|
|
},
|
|
{
|
|
"name": "service_type",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Service Type"
|
|
}
|
|
},
|
|
{
|
|
"name": "base_price",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "number",
|
|
"title": "Base Price"
|
|
}
|
|
},
|
|
{
|
|
"name": "currency",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"type": "string",
|
|
"default": "USD",
|
|
"title": "Currency"
|
|
}
|
|
},
|
|
{
|
|
"name": "total_capacity",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"type": "integer",
|
|
"default": 100,
|
|
"title": "Total Capacity"
|
|
}
|
|
},
|
|
{
|
|
"name": "auto_bridge_enabled",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"type": "boolean",
|
|
"default": true,
|
|
"title": "Auto Bridge Enabled"
|
|
}
|
|
},
|
|
{
|
|
"name": "reputation_threshold",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"type": "number",
|
|
"default": 500.0,
|
|
"title": "Reputation Threshold"
|
|
}
|
|
},
|
|
{
|
|
"name": "deadline_minutes",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"type": "integer",
|
|
"default": 60,
|
|
"title": "Deadline Minutes"
|
|
}
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"required": true,
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/Body_create_cross_chain_marketplace_offer_v1_global_marketplace_integration_offers_create_cross_chain_post"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Create Cross Chain Marketplace Offer V1 Global Marketplace Integration Offers Create Cross Chain Post"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/global-marketplace-integration/offers/cross-chain": {
|
|
"get": {
|
|
"tags": [
|
|
"Global Marketplace Integration"
|
|
],
|
|
"summary": "Get Integrated Marketplace Offers",
|
|
"description": "Get integrated marketplace offers with cross-chain capabilities",
|
|
"operationId": "get_integrated_marketplace_offers_v1_global_marketplace_integration_offers_cross_chain_get",
|
|
"parameters": [
|
|
{
|
|
"name": "region",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"description": "Filter by region",
|
|
"title": "Region"
|
|
},
|
|
"description": "Filter by region"
|
|
},
|
|
{
|
|
"name": "service_type",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"description": "Filter by service type",
|
|
"title": "Service Type"
|
|
},
|
|
"description": "Filter by service type"
|
|
},
|
|
{
|
|
"name": "chain_id",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"description": "Filter by blockchain chain",
|
|
"title": "Chain Id"
|
|
},
|
|
"description": "Filter by blockchain chain"
|
|
},
|
|
{
|
|
"name": "min_reputation",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "number"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"description": "Minimum reputation score",
|
|
"title": "Min Reputation"
|
|
},
|
|
"description": "Minimum reputation score"
|
|
},
|
|
{
|
|
"name": "include_cross_chain",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"type": "boolean",
|
|
"description": "Include cross-chain information",
|
|
"default": true,
|
|
"title": "Include Cross Chain"
|
|
},
|
|
"description": "Include cross-chain information"
|
|
},
|
|
{
|
|
"name": "limit",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"type": "integer",
|
|
"maximum": 500,
|
|
"minimum": 1,
|
|
"description": "Maximum number of offers",
|
|
"default": 100,
|
|
"title": "Limit"
|
|
},
|
|
"description": "Maximum number of offers"
|
|
},
|
|
{
|
|
"name": "offset",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"type": "integer",
|
|
"minimum": 0,
|
|
"description": "Offset for pagination",
|
|
"default": 0,
|
|
"title": "Offset"
|
|
},
|
|
"description": "Offset for pagination"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"additionalProperties": true
|
|
},
|
|
"title": "Response Get Integrated Marketplace Offers V1 Global Marketplace Integration Offers Cross Chain Get"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/global-marketplace-integration/offers/{offer_id}/cross-chain-details": {
|
|
"get": {
|
|
"tags": [
|
|
"Global Marketplace Integration"
|
|
],
|
|
"summary": "Get Cross Chain Offer Details",
|
|
"description": "Get detailed cross-chain information for a specific offer",
|
|
"operationId": "get_cross_chain_offer_details_v1_global_marketplace_integration_offers__offer_id__cross_chain_details_get",
|
|
"parameters": [
|
|
{
|
|
"name": "offer_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Offer Id"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Get Cross Chain Offer Details V1 Global Marketplace Integration Offers Offer Id Cross Chain Details Get"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/global-marketplace-integration/offers/{offer_id}/optimize-pricing": {
|
|
"post": {
|
|
"tags": [
|
|
"Global Marketplace Integration"
|
|
],
|
|
"summary": "Optimize Offer Pricing",
|
|
"description": "Optimize pricing for a global marketplace offer",
|
|
"operationId": "optimize_offer_pricing_v1_global_marketplace_integration_offers__offer_id__optimize_pricing_post",
|
|
"parameters": [
|
|
{
|
|
"name": "offer_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Offer Id"
|
|
}
|
|
},
|
|
{
|
|
"name": "optimization_strategy",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"type": "string",
|
|
"description": "Pricing optimization strategy",
|
|
"default": "balanced",
|
|
"title": "Optimization Strategy"
|
|
},
|
|
"description": "Pricing optimization strategy"
|
|
},
|
|
{
|
|
"name": "target_regions",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"description": "Target regions for optimization",
|
|
"title": "Target Regions"
|
|
},
|
|
"description": "Target regions for optimization"
|
|
},
|
|
{
|
|
"name": "target_chains",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "integer"
|
|
}
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"description": "Target chains for optimization",
|
|
"title": "Target Chains"
|
|
},
|
|
"description": "Target chains for optimization"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Optimize Offer Pricing V1 Global Marketplace Integration Offers Offer Id Optimize Pricing Post"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/global-marketplace-integration/transactions/execute-cross-chain": {
|
|
"post": {
|
|
"tags": [
|
|
"Global Marketplace Integration"
|
|
],
|
|
"summary": "Execute Cross Chain Transaction",
|
|
"description": "Execute a cross-chain marketplace transaction",
|
|
"operationId": "execute_cross_chain_transaction_v1_global_marketplace_integration_transactions_execute_cross_chain_post",
|
|
"parameters": [
|
|
{
|
|
"name": "buyer_id",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Buyer Id"
|
|
}
|
|
},
|
|
{
|
|
"name": "offer_id",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Offer Id"
|
|
}
|
|
},
|
|
{
|
|
"name": "quantity",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "integer",
|
|
"title": "Quantity"
|
|
}
|
|
},
|
|
{
|
|
"name": "source_chain",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Source Chain"
|
|
}
|
|
},
|
|
{
|
|
"name": "target_chain",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Target Chain"
|
|
}
|
|
},
|
|
{
|
|
"name": "source_region",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"type": "string",
|
|
"default": "global",
|
|
"title": "Source Region"
|
|
}
|
|
},
|
|
{
|
|
"name": "target_region",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"type": "string",
|
|
"default": "global",
|
|
"title": "Target Region"
|
|
}
|
|
},
|
|
{
|
|
"name": "payment_method",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"type": "string",
|
|
"default": "crypto",
|
|
"title": "Payment Method"
|
|
}
|
|
},
|
|
{
|
|
"name": "bridge_protocol",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/BridgeProtocol"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Bridge Protocol"
|
|
}
|
|
},
|
|
{
|
|
"name": "priority",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"$ref": "#/components/schemas/TransactionPriority",
|
|
"default": "medium"
|
|
}
|
|
},
|
|
{
|
|
"name": "auto_execute_bridge",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"type": "boolean",
|
|
"default": true,
|
|
"title": "Auto Execute Bridge"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Execute Cross Chain Transaction V1 Global Marketplace Integration Transactions Execute Cross Chain Post"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/global-marketplace-integration/transactions/cross-chain": {
|
|
"get": {
|
|
"tags": [
|
|
"Global Marketplace Integration"
|
|
],
|
|
"summary": "Get Cross Chain Transactions",
|
|
"description": "Get cross-chain marketplace transactions",
|
|
"operationId": "get_cross_chain_transactions_v1_global_marketplace_integration_transactions_cross_chain_get",
|
|
"parameters": [
|
|
{
|
|
"name": "buyer_id",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"description": "Filter by buyer ID",
|
|
"title": "Buyer Id"
|
|
},
|
|
"description": "Filter by buyer ID"
|
|
},
|
|
{
|
|
"name": "seller_id",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"description": "Filter by seller ID",
|
|
"title": "Seller Id"
|
|
},
|
|
"description": "Filter by seller ID"
|
|
},
|
|
{
|
|
"name": "source_chain",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"description": "Filter by source chain",
|
|
"title": "Source Chain"
|
|
},
|
|
"description": "Filter by source chain"
|
|
},
|
|
{
|
|
"name": "target_chain",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"description": "Filter by target chain",
|
|
"title": "Target Chain"
|
|
},
|
|
"description": "Filter by target chain"
|
|
},
|
|
{
|
|
"name": "status",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"description": "Filter by transaction status",
|
|
"title": "Status"
|
|
},
|
|
"description": "Filter by transaction status"
|
|
},
|
|
{
|
|
"name": "limit",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"type": "integer",
|
|
"maximum": 500,
|
|
"minimum": 1,
|
|
"description": "Maximum number of transactions",
|
|
"default": 100,
|
|
"title": "Limit"
|
|
},
|
|
"description": "Maximum number of transactions"
|
|
},
|
|
{
|
|
"name": "offset",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"type": "integer",
|
|
"minimum": 0,
|
|
"description": "Offset for pagination",
|
|
"default": 0,
|
|
"title": "Offset"
|
|
},
|
|
"description": "Offset for pagination"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"additionalProperties": true
|
|
},
|
|
"title": "Response Get Cross Chain Transactions V1 Global Marketplace Integration Transactions Cross Chain Get"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/global-marketplace-integration/analytics/cross-chain": {
|
|
"get": {
|
|
"tags": [
|
|
"Global Marketplace Integration"
|
|
],
|
|
"summary": "Get Cross Chain Analytics",
|
|
"description": "Get comprehensive cross-chain analytics",
|
|
"operationId": "get_cross_chain_analytics_v1_global_marketplace_integration_analytics_cross_chain_get",
|
|
"parameters": [
|
|
{
|
|
"name": "time_period_hours",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"type": "integer",
|
|
"maximum": 8760,
|
|
"minimum": 1,
|
|
"description": "Time period in hours",
|
|
"default": 24,
|
|
"title": "Time Period Hours"
|
|
},
|
|
"description": "Time period in hours"
|
|
},
|
|
{
|
|
"name": "region",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"description": "Filter by region",
|
|
"title": "Region"
|
|
},
|
|
"description": "Filter by region"
|
|
},
|
|
{
|
|
"name": "chain_id",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"description": "Filter by blockchain chain",
|
|
"title": "Chain Id"
|
|
},
|
|
"description": "Filter by blockchain chain"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Get Cross Chain Analytics V1 Global Marketplace Integration Analytics Cross Chain Get"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/global-marketplace-integration/analytics/marketplace-integration": {
|
|
"get": {
|
|
"tags": [
|
|
"Global Marketplace Integration"
|
|
],
|
|
"summary": "Get Marketplace Integration Analytics",
|
|
"description": "Get marketplace integration status and metrics",
|
|
"operationId": "get_marketplace_integration_analytics_v1_global_marketplace_integration_analytics_marketplace_integration_get",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"additionalProperties": true,
|
|
"type": "object",
|
|
"title": "Response Get Marketplace Integration Analytics V1 Global Marketplace Integration Analytics Marketplace Integration Get"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/global-marketplace-integration/status": {
|
|
"get": {
|
|
"tags": [
|
|
"Global Marketplace Integration"
|
|
],
|
|
"summary": "Get Integration Status",
|
|
"description": "Get global marketplace integration status",
|
|
"operationId": "get_integration_status_v1_global_marketplace_integration_status_get",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"additionalProperties": true,
|
|
"type": "object",
|
|
"title": "Response Get Integration Status V1 Global Marketplace Integration Status Get"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/global-marketplace-integration/config": {
|
|
"get": {
|
|
"tags": [
|
|
"Global Marketplace Integration"
|
|
],
|
|
"summary": "Get Integration Config",
|
|
"description": "Get global marketplace integration configuration",
|
|
"operationId": "get_integration_config_v1_global_marketplace_integration_config_get",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"additionalProperties": true,
|
|
"type": "object",
|
|
"title": "Response Get Integration Config V1 Global Marketplace Integration Config Get"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/global-marketplace-integration/config/update": {
|
|
"post": {
|
|
"tags": [
|
|
"Global Marketplace Integration"
|
|
],
|
|
"summary": "Update Integration Config",
|
|
"description": "Update global marketplace integration configuration",
|
|
"operationId": "update_integration_config_v1_global_marketplace_integration_config_update_post",
|
|
"requestBody": {
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"additionalProperties": true,
|
|
"type": "object",
|
|
"title": "Config Updates"
|
|
}
|
|
}
|
|
},
|
|
"required": true
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"additionalProperties": true,
|
|
"type": "object",
|
|
"title": "Response Update Integration Config V1 Global Marketplace Integration Config Update Post"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/global-marketplace-integration/health": {
|
|
"get": {
|
|
"tags": [
|
|
"Global Marketplace Integration"
|
|
],
|
|
"summary": "Get Integration Health",
|
|
"description": "Get global marketplace integration health status",
|
|
"operationId": "get_integration_health_v1_global_marketplace_integration_health_get",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"additionalProperties": true,
|
|
"type": "object",
|
|
"title": "Response Get Integration Health V1 Global Marketplace Integration Health Get"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/global-marketplace-integration/diagnostics/run": {
|
|
"post": {
|
|
"tags": [
|
|
"Global Marketplace Integration"
|
|
],
|
|
"summary": "Run Integration Diagnostics",
|
|
"description": "Run integration diagnostics",
|
|
"operationId": "run_integration_diagnostics_v1_global_marketplace_integration_diagnostics_run_post",
|
|
"parameters": [
|
|
{
|
|
"name": "diagnostic_type",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"type": "string",
|
|
"description": "Type of diagnostic to run",
|
|
"default": "full",
|
|
"title": "Diagnostic Type"
|
|
},
|
|
"description": "Type of diagnostic to run"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Run Integration Diagnostics V1 Global Marketplace Integration Diagnostics Run Post"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/developer-platform/register": {
|
|
"post": {
|
|
"tags": [
|
|
"Developer Platform"
|
|
],
|
|
"summary": "Register Developer",
|
|
"description": "Register a new developer profile",
|
|
"operationId": "register_developer_v1_developer_platform_register_post",
|
|
"requestBody": {
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/DeveloperCreate"
|
|
}
|
|
}
|
|
},
|
|
"required": true
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"additionalProperties": true,
|
|
"type": "object",
|
|
"title": "Response Register Developer V1 Developer Platform Register Post"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/developer-platform/profile/{wallet_address}": {
|
|
"get": {
|
|
"tags": [
|
|
"Developer Platform"
|
|
],
|
|
"summary": "Get Developer Profile",
|
|
"description": "Get developer profile by wallet address",
|
|
"operationId": "get_developer_profile_v1_developer_platform_profile__wallet_address__get",
|
|
"parameters": [
|
|
{
|
|
"name": "wallet_address",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Wallet Address"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Get Developer Profile V1 Developer Platform Profile Wallet Address Get"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"put": {
|
|
"tags": [
|
|
"Developer Platform"
|
|
],
|
|
"summary": "Update Developer Profile",
|
|
"description": "Update developer profile",
|
|
"operationId": "update_developer_profile_v1_developer_platform_profile__wallet_address__put",
|
|
"parameters": [
|
|
{
|
|
"name": "wallet_address",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Wallet Address"
|
|
}
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"required": true,
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Updates"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Update Developer Profile V1 Developer Platform Profile Wallet Address Put"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/developer-platform/leaderboard": {
|
|
"get": {
|
|
"tags": [
|
|
"Developer Platform"
|
|
],
|
|
"summary": "Get Leaderboard",
|
|
"description": "Get developer leaderboard sorted by reputation score",
|
|
"operationId": "get_leaderboard_v1_developer_platform_leaderboard_get",
|
|
"parameters": [
|
|
{
|
|
"name": "limit",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"type": "integer",
|
|
"maximum": 500,
|
|
"minimum": 1,
|
|
"description": "Maximum number of developers",
|
|
"default": 100,
|
|
"title": "Limit"
|
|
},
|
|
"description": "Maximum number of developers"
|
|
},
|
|
{
|
|
"name": "offset",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"type": "integer",
|
|
"minimum": 0,
|
|
"description": "Offset for pagination",
|
|
"default": 0,
|
|
"title": "Offset"
|
|
},
|
|
"description": "Offset for pagination"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"additionalProperties": true
|
|
},
|
|
"title": "Response Get Leaderboard V1 Developer Platform Leaderboard Get"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/developer-platform/stats/{wallet_address}": {
|
|
"get": {
|
|
"tags": [
|
|
"Developer Platform"
|
|
],
|
|
"summary": "Get Developer Stats",
|
|
"description": "Get comprehensive developer statistics",
|
|
"operationId": "get_developer_stats_v1_developer_platform_stats__wallet_address__get",
|
|
"parameters": [
|
|
{
|
|
"name": "wallet_address",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Wallet Address"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Get Developer Stats V1 Developer Platform Stats Wallet Address Get"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/developer-platform/bounties": {
|
|
"post": {
|
|
"tags": [
|
|
"Developer Platform"
|
|
],
|
|
"summary": "Create Bounty",
|
|
"description": "Create a new bounty task",
|
|
"operationId": "create_bounty_v1_developer_platform_bounties_post",
|
|
"requestBody": {
|
|
"required": true,
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/BountyCreate"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Create Bounty V1 Developer Platform Bounties Post"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"get": {
|
|
"tags": [
|
|
"Developer Platform"
|
|
],
|
|
"summary": "List Bounties",
|
|
"description": "List bounty tasks with optional status filter",
|
|
"operationId": "list_bounties_v1_developer_platform_bounties_get",
|
|
"parameters": [
|
|
{
|
|
"name": "status",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/BountyStatus"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"description": "Filter by bounty status",
|
|
"title": "Status"
|
|
},
|
|
"description": "Filter by bounty status"
|
|
},
|
|
{
|
|
"name": "limit",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"type": "integer",
|
|
"maximum": 500,
|
|
"minimum": 1,
|
|
"description": "Maximum number of bounties",
|
|
"default": 100,
|
|
"title": "Limit"
|
|
},
|
|
"description": "Maximum number of bounties"
|
|
},
|
|
{
|
|
"name": "offset",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"type": "integer",
|
|
"minimum": 0,
|
|
"description": "Offset for pagination",
|
|
"default": 0,
|
|
"title": "Offset"
|
|
},
|
|
"description": "Offset for pagination"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"additionalProperties": true
|
|
},
|
|
"title": "Response List Bounties V1 Developer Platform Bounties Get"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/developer-platform/bounties/{bounty_id}": {
|
|
"get": {
|
|
"tags": [
|
|
"Developer Platform"
|
|
],
|
|
"summary": "Get Bounty Details",
|
|
"description": "Get detailed bounty information",
|
|
"operationId": "get_bounty_details_v1_developer_platform_bounties__bounty_id__get",
|
|
"parameters": [
|
|
{
|
|
"name": "bounty_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Bounty Id"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Get Bounty Details V1 Developer Platform Bounties Bounty Id Get"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/developer-platform/bounties/{bounty_id}/submit": {
|
|
"post": {
|
|
"tags": [
|
|
"Developer Platform"
|
|
],
|
|
"summary": "Submit Bounty Solution",
|
|
"description": "Submit a solution for a bounty",
|
|
"operationId": "submit_bounty_solution_v1_developer_platform_bounties__bounty_id__submit_post",
|
|
"parameters": [
|
|
{
|
|
"name": "bounty_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Bounty Id"
|
|
}
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"required": true,
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/BountySubmissionCreate"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Submit Bounty Solution V1 Developer Platform Bounties Bounty Id Submit Post"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/developer-platform/bounties/my-submissions": {
|
|
"get": {
|
|
"tags": [
|
|
"Developer Platform"
|
|
],
|
|
"summary": "Get My Submissions",
|
|
"description": "Get all submissions by a developer",
|
|
"operationId": "get_my_submissions_v1_developer_platform_bounties_my_submissions_get",
|
|
"parameters": [
|
|
{
|
|
"name": "developer_id",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Developer Id"
|
|
}
|
|
},
|
|
{
|
|
"name": "limit",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"type": "integer",
|
|
"maximum": 500,
|
|
"minimum": 1,
|
|
"description": "Maximum number of submissions",
|
|
"default": 100,
|
|
"title": "Limit"
|
|
},
|
|
"description": "Maximum number of submissions"
|
|
},
|
|
{
|
|
"name": "offset",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"type": "integer",
|
|
"minimum": 0,
|
|
"description": "Offset for pagination",
|
|
"default": 0,
|
|
"title": "Offset"
|
|
},
|
|
"description": "Offset for pagination"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"additionalProperties": true
|
|
},
|
|
"title": "Response Get My Submissions V1 Developer Platform Bounties My Submissions Get"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/developer-platform/bounties/{bounty_id}/review": {
|
|
"post": {
|
|
"tags": [
|
|
"Developer Platform"
|
|
],
|
|
"summary": "Review Bounty Submission",
|
|
"description": "Review and approve/reject a bounty submission",
|
|
"operationId": "review_bounty_submission_v1_developer_platform_bounties__bounty_id__review_post",
|
|
"parameters": [
|
|
{
|
|
"name": "submission_id",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Submission Id"
|
|
}
|
|
},
|
|
{
|
|
"name": "reviewer_address",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Reviewer Address"
|
|
}
|
|
},
|
|
{
|
|
"name": "review_notes",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Review Notes"
|
|
}
|
|
},
|
|
{
|
|
"name": "approved",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"type": "boolean",
|
|
"description": "Whether to approve the submission",
|
|
"default": true,
|
|
"title": "Approved"
|
|
},
|
|
"description": "Whether to approve the submission"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Review Bounty Submission V1 Developer Platform Bounties Bounty Id Review Post"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/developer-platform/bounties/stats": {
|
|
"get": {
|
|
"tags": [
|
|
"Developer Platform"
|
|
],
|
|
"summary": "Get Bounty Statistics",
|
|
"description": "Get comprehensive bounty statistics",
|
|
"operationId": "get_bounty_statistics_v1_developer_platform_bounties_stats_get",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"additionalProperties": true,
|
|
"type": "object",
|
|
"title": "Response Get Bounty Statistics V1 Developer Platform Bounties Stats Get"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/developer-platform/certifications": {
|
|
"post": {
|
|
"tags": [
|
|
"Developer Platform"
|
|
],
|
|
"summary": "Grant Certification",
|
|
"description": "Grant a certification to a developer",
|
|
"operationId": "grant_certification_v1_developer_platform_certifications_post",
|
|
"requestBody": {
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/CertificationGrant"
|
|
}
|
|
}
|
|
},
|
|
"required": true
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"additionalProperties": true,
|
|
"type": "object",
|
|
"title": "Response Grant Certification V1 Developer Platform Certifications Post"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/developer-platform/certifications/{wallet_address}": {
|
|
"get": {
|
|
"tags": [
|
|
"Developer Platform"
|
|
],
|
|
"summary": "Get Developer Certifications",
|
|
"description": "Get certifications for a developer",
|
|
"operationId": "get_developer_certifications_v1_developer_platform_certifications__wallet_address__get",
|
|
"parameters": [
|
|
{
|
|
"name": "wallet_address",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Wallet Address"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"additionalProperties": true
|
|
},
|
|
"title": "Response Get Developer Certifications V1 Developer Platform Certifications Wallet Address Get"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/developer-platform/certifications/verify/{certification_id}": {
|
|
"get": {
|
|
"tags": [
|
|
"Developer Platform"
|
|
],
|
|
"summary": "Verify Certification",
|
|
"description": "Verify a certification by ID",
|
|
"operationId": "verify_certification_v1_developer_platform_certifications_verify__certification_id__get",
|
|
"parameters": [
|
|
{
|
|
"name": "certification_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Certification Id"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Verify Certification V1 Developer Platform Certifications Verify Certification Id Get"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/developer-platform/certifications/types": {
|
|
"get": {
|
|
"tags": [
|
|
"Developer Platform"
|
|
],
|
|
"summary": "Get Certification Types",
|
|
"description": "Get available certification types",
|
|
"operationId": "get_certification_types_v1_developer_platform_certifications_types_get",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"items": {
|
|
"additionalProperties": true,
|
|
"type": "object"
|
|
},
|
|
"type": "array",
|
|
"title": "Response Get Certification Types V1 Developer Platform Certifications Types Get"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/developer-platform/hubs": {
|
|
"post": {
|
|
"tags": [
|
|
"Developer Platform"
|
|
],
|
|
"summary": "Create Regional Hub",
|
|
"description": "Create a regional developer hub",
|
|
"operationId": "create_regional_hub_v1_developer_platform_hubs_post",
|
|
"parameters": [
|
|
{
|
|
"name": "name",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Name"
|
|
}
|
|
},
|
|
{
|
|
"name": "region",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Region"
|
|
}
|
|
},
|
|
{
|
|
"name": "description",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Description"
|
|
}
|
|
},
|
|
{
|
|
"name": "manager_address",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Manager Address"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Create Regional Hub V1 Developer Platform Hubs Post"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"get": {
|
|
"tags": [
|
|
"Developer Platform"
|
|
],
|
|
"summary": "Get Regional Hubs",
|
|
"description": "Get all regional developer hubs",
|
|
"operationId": "get_regional_hubs_v1_developer_platform_hubs_get",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"additionalProperties": true
|
|
},
|
|
"title": "Response Get Regional Hubs V1 Developer Platform Hubs Get"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/developer-platform/hubs/{hub_id}/developers": {
|
|
"get": {
|
|
"tags": [
|
|
"Developer Platform"
|
|
],
|
|
"summary": "Get Hub Developers",
|
|
"description": "Get developers in a regional hub",
|
|
"operationId": "get_hub_developers_v1_developer_platform_hubs__hub_id__developers_get",
|
|
"parameters": [
|
|
{
|
|
"name": "hub_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Hub Id"
|
|
}
|
|
},
|
|
{
|
|
"name": "limit",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"type": "integer",
|
|
"maximum": 500,
|
|
"minimum": 1,
|
|
"description": "Maximum number of developers",
|
|
"default": 100,
|
|
"title": "Limit"
|
|
},
|
|
"description": "Maximum number of developers"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"additionalProperties": true
|
|
},
|
|
"title": "Response Get Hub Developers V1 Developer Platform Hubs Hub Id Developers Get"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/developer-platform/stake": {
|
|
"post": {
|
|
"tags": [
|
|
"Developer Platform"
|
|
],
|
|
"summary": "Stake On Developer",
|
|
"description": "Stake AITBC tokens on a developer",
|
|
"operationId": "stake_on_developer_v1_developer_platform_stake_post",
|
|
"parameters": [
|
|
{
|
|
"name": "staker_address",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Staker Address"
|
|
}
|
|
},
|
|
{
|
|
"name": "developer_address",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Developer Address"
|
|
}
|
|
},
|
|
{
|
|
"name": "amount",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "number",
|
|
"title": "Amount"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Stake On Developer V1 Developer Platform Stake Post"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/developer-platform/staking/{address}": {
|
|
"get": {
|
|
"tags": [
|
|
"Developer Platform"
|
|
],
|
|
"summary": "Get Staking Info",
|
|
"description": "Get staking information for an address",
|
|
"operationId": "get_staking_info_v1_developer_platform_staking__address__get",
|
|
"parameters": [
|
|
{
|
|
"name": "address",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Address"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Get Staking Info V1 Developer Platform Staking Address Get"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/developer-platform/unstake": {
|
|
"post": {
|
|
"tags": [
|
|
"Developer Platform"
|
|
],
|
|
"summary": "Unstake Tokens",
|
|
"description": "Unstake tokens from a developer",
|
|
"operationId": "unstake_tokens_v1_developer_platform_unstake_post",
|
|
"parameters": [
|
|
{
|
|
"name": "staking_id",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Staking Id"
|
|
}
|
|
},
|
|
{
|
|
"name": "amount",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "number",
|
|
"title": "Amount"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Unstake Tokens V1 Developer Platform Unstake Post"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/developer-platform/rewards/{address}": {
|
|
"get": {
|
|
"tags": [
|
|
"Developer Platform"
|
|
],
|
|
"summary": "Get Rewards",
|
|
"description": "Get reward information for an address",
|
|
"operationId": "get_rewards_v1_developer_platform_rewards__address__get",
|
|
"parameters": [
|
|
{
|
|
"name": "address",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Address"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Get Rewards V1 Developer Platform Rewards Address Get"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/developer-platform/claim-rewards": {
|
|
"post": {
|
|
"tags": [
|
|
"Developer Platform"
|
|
],
|
|
"summary": "Claim Rewards",
|
|
"description": "Claim pending rewards",
|
|
"operationId": "claim_rewards_v1_developer_platform_claim_rewards_post",
|
|
"parameters": [
|
|
{
|
|
"name": "address",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Address"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Claim Rewards V1 Developer Platform Claim Rewards Post"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/developer-platform/staking-stats": {
|
|
"get": {
|
|
"tags": [
|
|
"Developer Platform"
|
|
],
|
|
"summary": "Get Staking Statistics",
|
|
"description": "Get comprehensive staking statistics",
|
|
"operationId": "get_staking_statistics_v1_developer_platform_staking_stats_get",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"additionalProperties": true,
|
|
"type": "object",
|
|
"title": "Response Get Staking Statistics V1 Developer Platform Staking Stats Get"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/developer-platform/analytics/overview": {
|
|
"get": {
|
|
"tags": [
|
|
"Developer Platform"
|
|
],
|
|
"summary": "Get Platform Overview",
|
|
"description": "Get platform overview analytics",
|
|
"operationId": "get_platform_overview_v1_developer_platform_analytics_overview_get",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"additionalProperties": true,
|
|
"type": "object",
|
|
"title": "Response Get Platform Overview V1 Developer Platform Analytics Overview Get"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/developer-platform/health": {
|
|
"get": {
|
|
"tags": [
|
|
"Developer Platform"
|
|
],
|
|
"summary": "Get Platform Health",
|
|
"description": "Get developer platform health status",
|
|
"operationId": "get_platform_health_v1_developer_platform_health_get",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"additionalProperties": true,
|
|
"type": "object",
|
|
"title": "Response Get Platform Health V1 Developer Platform Health Get"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/governance-enhanced/regional-councils": {
|
|
"post": {
|
|
"tags": [
|
|
"Enhanced Governance"
|
|
],
|
|
"summary": "Create Regional Council",
|
|
"description": "Create a regional governance council",
|
|
"operationId": "create_regional_council_v1_governance_enhanced_regional_councils_post",
|
|
"parameters": [
|
|
{
|
|
"name": "region",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Region"
|
|
}
|
|
},
|
|
{
|
|
"name": "council_name",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Council Name"
|
|
}
|
|
},
|
|
{
|
|
"name": "jurisdiction",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Jurisdiction"
|
|
}
|
|
},
|
|
{
|
|
"name": "budget_allocation",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "number",
|
|
"title": "Budget Allocation"
|
|
}
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"required": true,
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"title": "Council Members"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Create Regional Council V1 Governance Enhanced Regional Councils Post"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"get": {
|
|
"tags": [
|
|
"Enhanced Governance"
|
|
],
|
|
"summary": "Get Regional Councils",
|
|
"description": "Get regional governance councils",
|
|
"operationId": "get_regional_councils_v1_governance_enhanced_regional_councils_get",
|
|
"parameters": [
|
|
{
|
|
"name": "region",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"description": "Filter by region",
|
|
"title": "Region"
|
|
},
|
|
"description": "Filter by region"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"additionalProperties": true
|
|
},
|
|
"title": "Response Get Regional Councils V1 Governance Enhanced Regional Councils Get"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/governance-enhanced/regional-proposals": {
|
|
"post": {
|
|
"tags": [
|
|
"Enhanced Governance"
|
|
],
|
|
"summary": "Create Regional Proposal",
|
|
"description": "Create a proposal for a specific regional council",
|
|
"operationId": "create_regional_proposal_v1_governance_enhanced_regional_proposals_post",
|
|
"parameters": [
|
|
{
|
|
"name": "council_id",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Council Id"
|
|
}
|
|
},
|
|
{
|
|
"name": "title",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Title"
|
|
}
|
|
},
|
|
{
|
|
"name": "description",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Description"
|
|
}
|
|
},
|
|
{
|
|
"name": "proposal_type",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Proposal Type"
|
|
}
|
|
},
|
|
{
|
|
"name": "amount_requested",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "number",
|
|
"title": "Amount Requested"
|
|
}
|
|
},
|
|
{
|
|
"name": "proposer_address",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Proposer Address"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Create Regional Proposal V1 Governance Enhanced Regional Proposals Post"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/governance-enhanced/regional-proposals/{proposal_id}/vote": {
|
|
"post": {
|
|
"tags": [
|
|
"Enhanced Governance"
|
|
],
|
|
"summary": "Vote On Regional Proposal",
|
|
"description": "Vote on a regional proposal",
|
|
"operationId": "vote_on_regional_proposal_v1_governance_enhanced_regional_proposals__proposal_id__vote_post",
|
|
"parameters": [
|
|
{
|
|
"name": "proposal_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Proposal Id"
|
|
}
|
|
},
|
|
{
|
|
"name": "voter_address",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Voter Address"
|
|
}
|
|
},
|
|
{
|
|
"name": "vote_type",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/components/schemas/VoteType"
|
|
}
|
|
},
|
|
{
|
|
"name": "voting_power",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "number",
|
|
"title": "Voting Power"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Vote On Regional Proposal V1 Governance Enhanced Regional Proposals Proposal Id Vote Post"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/governance-enhanced/treasury/balance": {
|
|
"get": {
|
|
"tags": [
|
|
"Enhanced Governance"
|
|
],
|
|
"summary": "Get Treasury Balance",
|
|
"description": "Get treasury balance for global or specific region",
|
|
"operationId": "get_treasury_balance_v1_governance_enhanced_treasury_balance_get",
|
|
"parameters": [
|
|
{
|
|
"name": "region",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"description": "Filter by region",
|
|
"title": "Region"
|
|
},
|
|
"description": "Filter by region"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Get Treasury Balance V1 Governance Enhanced Treasury Balance Get"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/governance-enhanced/treasury/allocate": {
|
|
"post": {
|
|
"tags": [
|
|
"Enhanced Governance"
|
|
],
|
|
"summary": "Allocate Treasury Funds",
|
|
"description": "Allocate treasury funds to a regional council or project",
|
|
"operationId": "allocate_treasury_funds_v1_governance_enhanced_treasury_allocate_post",
|
|
"parameters": [
|
|
{
|
|
"name": "council_id",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Council Id"
|
|
}
|
|
},
|
|
{
|
|
"name": "amount",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "number",
|
|
"title": "Amount"
|
|
}
|
|
},
|
|
{
|
|
"name": "purpose",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Purpose"
|
|
}
|
|
},
|
|
{
|
|
"name": "recipient_address",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Recipient Address"
|
|
}
|
|
},
|
|
{
|
|
"name": "approver_address",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Approver Address"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Allocate Treasury Funds V1 Governance Enhanced Treasury Allocate Post"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/governance-enhanced/treasury/transactions": {
|
|
"get": {
|
|
"tags": [
|
|
"Enhanced Governance"
|
|
],
|
|
"summary": "Get Treasury Transactions",
|
|
"description": "Get treasury transaction history",
|
|
"operationId": "get_treasury_transactions_v1_governance_enhanced_treasury_transactions_get",
|
|
"parameters": [
|
|
{
|
|
"name": "limit",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"type": "integer",
|
|
"maximum": 500,
|
|
"minimum": 1,
|
|
"description": "Maximum number of transactions",
|
|
"default": 100,
|
|
"title": "Limit"
|
|
},
|
|
"description": "Maximum number of transactions"
|
|
},
|
|
{
|
|
"name": "offset",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"type": "integer",
|
|
"minimum": 0,
|
|
"description": "Offset for pagination",
|
|
"default": 0,
|
|
"title": "Offset"
|
|
},
|
|
"description": "Offset for pagination"
|
|
},
|
|
{
|
|
"name": "region",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"description": "Filter by region",
|
|
"title": "Region"
|
|
},
|
|
"description": "Filter by region"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"additionalProperties": true
|
|
},
|
|
"title": "Response Get Treasury Transactions V1 Governance Enhanced Treasury Transactions Get"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/governance-enhanced/staking/pools": {
|
|
"post": {
|
|
"tags": [
|
|
"Enhanced Governance"
|
|
],
|
|
"summary": "Create Staking Pool",
|
|
"description": "Create a staking pool for an agent developer",
|
|
"operationId": "create_staking_pool_v1_governance_enhanced_staking_pools_post",
|
|
"parameters": [
|
|
{
|
|
"name": "pool_name",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Pool Name"
|
|
}
|
|
},
|
|
{
|
|
"name": "developer_address",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Developer Address"
|
|
}
|
|
},
|
|
{
|
|
"name": "base_apy",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "number",
|
|
"title": "Base Apy"
|
|
}
|
|
},
|
|
{
|
|
"name": "reputation_multiplier",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "number",
|
|
"title": "Reputation Multiplier"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Create Staking Pool V1 Governance Enhanced Staking Pools Post"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"get": {
|
|
"tags": [
|
|
"Enhanced Governance"
|
|
],
|
|
"summary": "Get Developer Staking Pools",
|
|
"description": "Get staking pools for a specific developer or all pools",
|
|
"operationId": "get_developer_staking_pools_v1_governance_enhanced_staking_pools_get",
|
|
"parameters": [
|
|
{
|
|
"name": "developer_address",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"description": "Filter by developer address",
|
|
"title": "Developer Address"
|
|
},
|
|
"description": "Filter by developer address"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"additionalProperties": true
|
|
},
|
|
"title": "Response Get Developer Staking Pools V1 Governance Enhanced Staking Pools Get"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/governance-enhanced/staking/calculate-rewards": {
|
|
"get": {
|
|
"tags": [
|
|
"Enhanced Governance"
|
|
],
|
|
"summary": "Calculate Staking Rewards",
|
|
"description": "Calculate staking rewards for a specific position",
|
|
"operationId": "calculate_staking_rewards_v1_governance_enhanced_staking_calculate_rewards_get",
|
|
"parameters": [
|
|
{
|
|
"name": "pool_id",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Pool Id"
|
|
}
|
|
},
|
|
{
|
|
"name": "staker_address",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Staker Address"
|
|
}
|
|
},
|
|
{
|
|
"name": "amount",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "number",
|
|
"title": "Amount"
|
|
}
|
|
},
|
|
{
|
|
"name": "duration_days",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "integer",
|
|
"title": "Duration Days"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Calculate Staking Rewards V1 Governance Enhanced Staking Calculate Rewards Get"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/governance-enhanced/staking/distribute-rewards/{pool_id}": {
|
|
"post": {
|
|
"tags": [
|
|
"Enhanced Governance"
|
|
],
|
|
"summary": "Distribute Staking Rewards",
|
|
"description": "Distribute rewards to all stakers in a pool",
|
|
"operationId": "distribute_staking_rewards_v1_governance_enhanced_staking_distribute_rewards__pool_id__post",
|
|
"parameters": [
|
|
{
|
|
"name": "pool_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Pool Id"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Distribute Staking Rewards V1 Governance Enhanced Staking Distribute Rewards Pool Id Post"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/governance-enhanced/analytics/governance": {
|
|
"get": {
|
|
"tags": [
|
|
"Enhanced Governance"
|
|
],
|
|
"summary": "Get Governance Analytics",
|
|
"description": "Get comprehensive governance analytics",
|
|
"operationId": "get_governance_analytics_v1_governance_enhanced_analytics_governance_get",
|
|
"parameters": [
|
|
{
|
|
"name": "time_period_days",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"type": "integer",
|
|
"maximum": 365,
|
|
"minimum": 1,
|
|
"description": "Time period in days",
|
|
"default": 30,
|
|
"title": "Time Period Days"
|
|
},
|
|
"description": "Time period in days"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Get Governance Analytics V1 Governance Enhanced Analytics Governance Get"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/governance-enhanced/analytics/regional-health/{region}": {
|
|
"get": {
|
|
"tags": [
|
|
"Enhanced Governance"
|
|
],
|
|
"summary": "Get Regional Governance Health",
|
|
"description": "Get health metrics for a specific region's governance",
|
|
"operationId": "get_regional_governance_health_v1_governance_enhanced_analytics_regional_health__region__get",
|
|
"parameters": [
|
|
{
|
|
"name": "region",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Region"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Get Regional Governance Health V1 Governance Enhanced Analytics Regional Health Region Get"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/governance-enhanced/profiles/create": {
|
|
"post": {
|
|
"tags": [
|
|
"Enhanced Governance"
|
|
],
|
|
"summary": "Create Governance Profile",
|
|
"description": "Create or get a governance profile",
|
|
"operationId": "create_governance_profile_v1_governance_enhanced_profiles_create_post",
|
|
"parameters": [
|
|
{
|
|
"name": "user_id",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "User Id"
|
|
}
|
|
},
|
|
{
|
|
"name": "initial_voting_power",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"type": "number",
|
|
"default": 0.0,
|
|
"title": "Initial Voting Power"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Create Governance Profile V1 Governance Enhanced Profiles Create Post"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/governance-enhanced/profiles/delegate": {
|
|
"post": {
|
|
"tags": [
|
|
"Enhanced Governance"
|
|
],
|
|
"summary": "Delegate Votes",
|
|
"description": "Delegate voting power from one profile to another",
|
|
"operationId": "delegate_votes_v1_governance_enhanced_profiles_delegate_post",
|
|
"parameters": [
|
|
{
|
|
"name": "delegator_id",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Delegator Id"
|
|
}
|
|
},
|
|
{
|
|
"name": "delegatee_id",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Delegatee Id"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Delegate Votes V1 Governance Enhanced Profiles Delegate Post"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/governance-enhanced/profiles/{user_id}": {
|
|
"get": {
|
|
"tags": [
|
|
"Enhanced Governance"
|
|
],
|
|
"summary": "Get Governance Profile",
|
|
"description": "Get governance profile by user ID",
|
|
"operationId": "get_governance_profile_v1_governance_enhanced_profiles__user_id__get",
|
|
"parameters": [
|
|
{
|
|
"name": "user_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "User Id"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Get Governance Profile V1 Governance Enhanced Profiles User Id Get"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/governance-enhanced/jurisdictions": {
|
|
"get": {
|
|
"tags": [
|
|
"Enhanced Governance"
|
|
],
|
|
"summary": "Get Supported Jurisdictions",
|
|
"description": "Get list of supported jurisdictions and their requirements",
|
|
"operationId": "get_supported_jurisdictions_v1_governance_enhanced_jurisdictions_get",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"items": {
|
|
"additionalProperties": true,
|
|
"type": "object"
|
|
},
|
|
"type": "array",
|
|
"title": "Response Get Supported Jurisdictions V1 Governance Enhanced Jurisdictions Get"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/governance-enhanced/compliance/check/{user_address}": {
|
|
"get": {
|
|
"tags": [
|
|
"Enhanced Governance"
|
|
],
|
|
"summary": "Check Compliance Status",
|
|
"description": "Check compliance status for a user in a specific jurisdiction",
|
|
"operationId": "check_compliance_status_v1_governance_enhanced_compliance_check__user_address__get",
|
|
"parameters": [
|
|
{
|
|
"name": "user_address",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "User Address"
|
|
}
|
|
},
|
|
{
|
|
"name": "jurisdiction",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Jurisdiction"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Check Compliance Status V1 Governance Enhanced Compliance Check User Address Get"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/governance-enhanced/health": {
|
|
"get": {
|
|
"tags": [
|
|
"Enhanced Governance"
|
|
],
|
|
"summary": "Get Governance System Health",
|
|
"description": "Get overall governance system health status",
|
|
"operationId": "get_governance_system_health_v1_governance_enhanced_health_get",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"additionalProperties": true,
|
|
"type": "object",
|
|
"title": "Response Get Governance System Health V1 Governance Enhanced Health Get"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/governance-enhanced/status": {
|
|
"get": {
|
|
"tags": [
|
|
"Enhanced Governance"
|
|
],
|
|
"summary": "Get Governance Platform Status",
|
|
"description": "Get comprehensive platform status information",
|
|
"operationId": "get_governance_platform_status_v1_governance_enhanced_status_get",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"additionalProperties": true,
|
|
"type": "object",
|
|
"title": "Response Get Governance Platform Status V1 Governance Enhanced Status Get"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/marketplace/sync-offers": {
|
|
"post": {
|
|
"tags": [
|
|
"marketplace-offers"
|
|
],
|
|
"summary": "Create offers from registered miners",
|
|
"description": "Create marketplace offers from all registered miners",
|
|
"operationId": "sync_offers_v1_marketplace_sync_offers_post",
|
|
"parameters": [
|
|
{
|
|
"name": "X-Api-Key",
|
|
"in": "header",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "X-Api-Key"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Sync Offers V1 Marketplace Sync Offers Post"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/marketplace/miner-offers": {
|
|
"get": {
|
|
"tags": [
|
|
"marketplace-offers"
|
|
],
|
|
"summary": "List all miner offers",
|
|
"description": "List all offers created from miners",
|
|
"operationId": "list_miner_offers_v1_marketplace_miner_offers_get",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"items": {
|
|
"$ref": "#/components/schemas/MarketplaceOfferView"
|
|
},
|
|
"type": "array",
|
|
"title": "Response List Miner Offers V1 Marketplace Miner Offers Get"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/offers": {
|
|
"get": {
|
|
"tags": [
|
|
"marketplace-offers"
|
|
],
|
|
"summary": "List all marketplace offers (Fixed)",
|
|
"description": "List all marketplace offers - Fixed version to avoid AttributeError",
|
|
"operationId": "list_all_offers_v1_offers_get",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"items": {
|
|
"additionalProperties": true,
|
|
"type": "object"
|
|
},
|
|
"type": "array",
|
|
"title": "Response List All Offers V1 Offers Get"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/status": {
|
|
"get": {
|
|
"tags": [
|
|
"blockchain"
|
|
],
|
|
"summary": "Blockchain Status",
|
|
"description": "Get blockchain status.",
|
|
"operationId": "blockchain_status_v1_status_get",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"additionalProperties": true,
|
|
"type": "object",
|
|
"title": "Response Blockchain Status V1 Status Get"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/sync-status": {
|
|
"get": {
|
|
"tags": [
|
|
"blockchain"
|
|
],
|
|
"summary": "Blockchain Sync Status",
|
|
"description": "Get blockchain synchronization status.",
|
|
"operationId": "blockchain_sync_status_v1_sync_status_get",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"additionalProperties": true,
|
|
"type": "object",
|
|
"title": "Response Blockchain Sync Status V1 Sync Status Get"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/blocks/{height}": {
|
|
"get": {
|
|
"tags": [
|
|
"blockchain"
|
|
],
|
|
"summary": "Get Block",
|
|
"description": "Get block by height.",
|
|
"operationId": "get_block_v1_blocks__height__get",
|
|
"parameters": [
|
|
{
|
|
"name": "height",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "integer",
|
|
"title": "Height"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Get Block V1 Blocks Height Get"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/blocks/hash/{block_hash}": {
|
|
"get": {
|
|
"tags": [
|
|
"blockchain"
|
|
],
|
|
"summary": "Get Block By Hash",
|
|
"description": "Get block by hash.",
|
|
"operationId": "get_block_by_hash_v1_blocks_hash__block_hash__get",
|
|
"parameters": [
|
|
{
|
|
"name": "block_hash",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Block Hash"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Get Block By Hash V1 Blocks Hash Block Hash Get"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/transactions/{tx_hash}": {
|
|
"get": {
|
|
"tags": [
|
|
"blockchain"
|
|
],
|
|
"summary": "Get Transaction",
|
|
"description": "Get transaction by hash.",
|
|
"operationId": "get_transaction_v1_transactions__tx_hash__get",
|
|
"parameters": [
|
|
{
|
|
"name": "tx_hash",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Tx Hash"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Get Transaction V1 Transactions Tx Hash Get"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/accounts/{address}": {
|
|
"get": {
|
|
"tags": [
|
|
"blockchain"
|
|
],
|
|
"summary": "Get Account",
|
|
"description": "Get account balance and state.",
|
|
"operationId": "get_account_v1_accounts__address__get",
|
|
"parameters": [
|
|
{
|
|
"name": "address",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Address"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Get Account V1 Accounts Address Get"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/validators": {
|
|
"get": {
|
|
"tags": [
|
|
"blockchain"
|
|
],
|
|
"summary": "Get Validators",
|
|
"description": "List validators.",
|
|
"operationId": "get_validators_v1_validators_get",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"additionalProperties": true,
|
|
"type": "object",
|
|
"title": "Response Get Validators V1 Validators Get"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/supply": {
|
|
"get": {
|
|
"tags": [
|
|
"blockchain"
|
|
],
|
|
"summary": "Get Supply",
|
|
"description": "Get token supply.",
|
|
"operationId": "get_supply_v1_supply_get",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"additionalProperties": true,
|
|
"type": "object",
|
|
"title": "Response Get Supply V1 Supply Get"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/state/dump": {
|
|
"get": {
|
|
"tags": [
|
|
"blockchain"
|
|
],
|
|
"summary": "Get State Dump",
|
|
"description": "Get state dump.",
|
|
"operationId": "get_state_dump_v1_state_dump_get",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"additionalProperties": true,
|
|
"type": "object",
|
|
"title": "Response Get State Dump V1 State Dump Get"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/edge-gpu/profiles": {
|
|
"get": {
|
|
"tags": [
|
|
"edge-gpu"
|
|
],
|
|
"summary": "List Profiles",
|
|
"description": "List available edge GPU profiles",
|
|
"operationId": "list_profiles_v1_edge_gpu_profiles_get",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"additionalProperties": true,
|
|
"type": "object",
|
|
"title": "Response List Profiles V1 Edge Gpu Profiles Get"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/edge-gpu/metrics/{gpu_id}": {
|
|
"get": {
|
|
"tags": [
|
|
"edge-gpu"
|
|
],
|
|
"summary": "Get Gpu Metrics",
|
|
"description": "Get metrics for a specific GPU",
|
|
"operationId": "get_gpu_metrics_v1_edge_gpu_metrics__gpu_id__get",
|
|
"parameters": [
|
|
{
|
|
"name": "gpu_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Gpu Id"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Get Gpu Metrics V1 Edge Gpu Metrics Gpu Id Get"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/edge-gpu/metrics": {
|
|
"post": {
|
|
"tags": [
|
|
"edge-gpu"
|
|
],
|
|
"summary": "Submit Metrics",
|
|
"description": "Submit GPU metrics",
|
|
"operationId": "submit_metrics_v1_edge_gpu_metrics_post",
|
|
"requestBody": {
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/GPUMetrics"
|
|
}
|
|
}
|
|
},
|
|
"required": true
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"additionalProperties": true,
|
|
"type": "object",
|
|
"title": "Response Submit Metrics V1 Edge Gpu Metrics Post"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/edge-gpu/discover": {
|
|
"post": {
|
|
"tags": [
|
|
"edge-gpu"
|
|
],
|
|
"summary": "Discover Edge Gpus",
|
|
"description": "Discover and register edge GPUs for a miner",
|
|
"operationId": "discover_edge_gpus_v1_edge_gpu_discover_post",
|
|
"parameters": [
|
|
{
|
|
"name": "miner_id",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Miner Id"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Discover Edge Gpus V1 Edge Gpu Discover Post"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/edge-gpu/optimize": {
|
|
"post": {
|
|
"tags": [
|
|
"edge-gpu"
|
|
],
|
|
"summary": "Optimize Inference",
|
|
"description": "Optimize ML inference request for edge GPU",
|
|
"operationId": "optimize_inference_v1_edge_gpu_optimize_post",
|
|
"parameters": [
|
|
{
|
|
"name": "gpu_id",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Gpu Id"
|
|
}
|
|
},
|
|
{
|
|
"name": "model_name",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Model Name"
|
|
}
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"required": true,
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Request Data"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Optimize Inference V1 Edge Gpu Optimize Post"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/multi-modal-rl/jobs": {
|
|
"post": {
|
|
"tags": [
|
|
"multi-modal-rl"
|
|
],
|
|
"summary": "Submit Job",
|
|
"description": "Submit a job for execution (proxies to AI service)",
|
|
"operationId": "submit_job_v1_multi_modal_rl_jobs_post",
|
|
"parameters": [
|
|
{
|
|
"name": "client_id",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"type": "string",
|
|
"default": "default_client",
|
|
"title": "Client Id"
|
|
}
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"required": true,
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/app__routers__multi_modal_rl__JobCreate"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Submit Job V1 Multi Modal Rl Jobs Post"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"get": {
|
|
"tags": [
|
|
"multi-modal-rl"
|
|
],
|
|
"summary": "List Jobs",
|
|
"description": "List jobs with filtering (proxies to AI service)",
|
|
"operationId": "list_jobs_v1_multi_modal_rl_jobs_get",
|
|
"parameters": [
|
|
{
|
|
"name": "client_id",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"type": "string",
|
|
"default": "default_client",
|
|
"title": "Client Id"
|
|
}
|
|
},
|
|
{
|
|
"name": "limit",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"type": "integer",
|
|
"default": 10,
|
|
"title": "Limit"
|
|
}
|
|
},
|
|
{
|
|
"name": "state",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "State"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response List Jobs V1 Multi Modal Rl Jobs Get"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/multi-modal-rl/jobs/{job_id}": {
|
|
"get": {
|
|
"tags": [
|
|
"multi-modal-rl"
|
|
],
|
|
"summary": "Get Job",
|
|
"description": "Get job status (proxies to AI service)",
|
|
"operationId": "get_job_v1_multi_modal_rl_jobs__job_id__get",
|
|
"parameters": [
|
|
{
|
|
"name": "job_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Job Id"
|
|
}
|
|
},
|
|
{
|
|
"name": "client_id",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"type": "string",
|
|
"default": "default_client",
|
|
"title": "Client Id"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Get Job V1 Multi Modal Rl Jobs Job Id Get"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/multi-modal-rl/jobs/{job_id}/result": {
|
|
"get": {
|
|
"tags": [
|
|
"multi-modal-rl"
|
|
],
|
|
"summary": "Get Job Result",
|
|
"description": "Get job result (proxies to AI service)",
|
|
"operationId": "get_job_result_v1_multi_modal_rl_jobs__job_id__result_get",
|
|
"parameters": [
|
|
{
|
|
"name": "job_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Job Id"
|
|
}
|
|
},
|
|
{
|
|
"name": "client_id",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"type": "string",
|
|
"default": "default_client",
|
|
"title": "Client Id"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Get Job Result V1 Multi Modal Rl Jobs Job Id Result Get"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/multi-modal-rl/jobs/{job_id}/cancel": {
|
|
"post": {
|
|
"tags": [
|
|
"multi-modal-rl"
|
|
],
|
|
"summary": "Cancel Job",
|
|
"description": "Cancel a job (proxies to AI service)",
|
|
"operationId": "cancel_job_v1_multi_modal_rl_jobs__job_id__cancel_post",
|
|
"parameters": [
|
|
{
|
|
"name": "job_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Job Id"
|
|
}
|
|
},
|
|
{
|
|
"name": "client_id",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"type": "string",
|
|
"default": "default_client",
|
|
"title": "Client Id"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Cancel Job V1 Multi Modal Rl Jobs Job Id Cancel Post"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/multi-modal-rl/health": {
|
|
"get": {
|
|
"tags": [
|
|
"multi-modal-rl"
|
|
],
|
|
"summary": "Health",
|
|
"description": "Health check for multi-modal RL router",
|
|
"operationId": "health_v1_multi_modal_rl_health_get",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"additionalProperties": true,
|
|
"type": "object",
|
|
"title": "Response Health V1 Multi Modal Rl Health Get"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/swarm/list": {
|
|
"get": {
|
|
"tags": [
|
|
"Swarm"
|
|
],
|
|
"summary": "List Swarms",
|
|
"description": "List active swarms.",
|
|
"operationId": "list_swarms_v1_swarm_list_get",
|
|
"parameters": [
|
|
{
|
|
"name": "swarm_id",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"description": "Filter by swarm ID",
|
|
"title": "Swarm Id"
|
|
},
|
|
"description": "Filter by swarm ID"
|
|
},
|
|
{
|
|
"name": "status",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"description": "Filter by status",
|
|
"title": "Status"
|
|
},
|
|
"description": "Filter by status"
|
|
},
|
|
{
|
|
"name": "limit",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"type": "integer",
|
|
"description": "Number of swarms to list",
|
|
"default": 20,
|
|
"title": "Limit"
|
|
},
|
|
"description": "Number of swarms to list"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/SwarmInfo"
|
|
},
|
|
"title": "Response List Swarms V1 Swarm List Get"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/swarm/join": {
|
|
"post": {
|
|
"tags": [
|
|
"Swarm"
|
|
],
|
|
"summary": "Join Swarm",
|
|
"description": "Join agent swarm for collective optimization.",
|
|
"operationId": "join_swarm_v1_swarm_join_post",
|
|
"requestBody": {
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/JoinRequest"
|
|
}
|
|
}
|
|
},
|
|
"required": true
|
|
},
|
|
"responses": {
|
|
"201": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"additionalProperties": true,
|
|
"type": "object",
|
|
"title": "Response Join Swarm V1 Swarm Join Post"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/swarm/coordinate": {
|
|
"post": {
|
|
"tags": [
|
|
"Swarm"
|
|
],
|
|
"summary": "Coordinate Swarm",
|
|
"description": "Coordinate swarm task execution.",
|
|
"operationId": "coordinate_swarm_v1_swarm_coordinate_post",
|
|
"requestBody": {
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/CoordinateRequest"
|
|
}
|
|
}
|
|
},
|
|
"required": true
|
|
},
|
|
"responses": {
|
|
"202": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"additionalProperties": true,
|
|
"type": "object",
|
|
"title": "Response Coordinate Swarm V1 Swarm Coordinate Post"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/swarm/tasks/{task_id}/status": {
|
|
"get": {
|
|
"tags": [
|
|
"Swarm"
|
|
],
|
|
"summary": "Get Task Status",
|
|
"description": "Get swarm task status.",
|
|
"operationId": "get_task_status_v1_swarm_tasks__task_id__status_get",
|
|
"parameters": [
|
|
{
|
|
"name": "task_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Task Id"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/TaskStatus"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/swarm/{swarm_id}/leave": {
|
|
"post": {
|
|
"tags": [
|
|
"Swarm"
|
|
],
|
|
"summary": "Leave Swarm",
|
|
"description": "Leave swarm.",
|
|
"operationId": "leave_swarm_v1_swarm__swarm_id__leave_post",
|
|
"parameters": [
|
|
{
|
|
"name": "swarm_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Swarm Id"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Leave Swarm V1 Swarm Swarm Id Leave Post"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/swarm/tasks/{task_id}/consensus": {
|
|
"post": {
|
|
"tags": [
|
|
"Swarm"
|
|
],
|
|
"summary": "Achieve Consensus",
|
|
"description": "Achieve swarm consensus on task result.",
|
|
"operationId": "achieve_consensus_v1_swarm_tasks__task_id__consensus_post",
|
|
"parameters": [
|
|
{
|
|
"name": "task_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Task Id"
|
|
}
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"required": true,
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ConsensusRequest"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Achieve Consensus V1 Swarm Tasks Task Id Consensus Post"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/swarm/api/v1/dashboard": {
|
|
"get": {
|
|
"tags": [
|
|
"Swarm"
|
|
],
|
|
"summary": "Get Dashboard",
|
|
"description": "Get monitoring dashboard data.",
|
|
"operationId": "get_dashboard_v1_swarm_api_v1_dashboard_get",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"additionalProperties": true,
|
|
"type": "object",
|
|
"title": "Response Get Dashboard V1 Swarm Api V1 Dashboard Get"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/swarm/status": {
|
|
"get": {
|
|
"tags": [
|
|
"Swarm"
|
|
],
|
|
"summary": "Get Status",
|
|
"description": "Get coordinator status.",
|
|
"operationId": "get_status_v1_swarm_status_get",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"additionalProperties": true,
|
|
"type": "object",
|
|
"title": "Response Get Status V1 Swarm Status Get"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/swarm/miners": {
|
|
"get": {
|
|
"tags": [
|
|
"Swarm"
|
|
],
|
|
"summary": "Get Miners",
|
|
"description": "Get miners list.",
|
|
"operationId": "get_miners_v1_swarm_miners_get",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"items": {},
|
|
"type": "array",
|
|
"title": "Response Get Miners V1 Swarm Miners Get"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/swarm/dashboard": {
|
|
"get": {
|
|
"tags": [
|
|
"Swarm"
|
|
],
|
|
"summary": "Get History Dashboard",
|
|
"description": "Get historical dashboard data.",
|
|
"operationId": "get_history_dashboard_v1_swarm_dashboard_get",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"items": {},
|
|
"type": "array",
|
|
"title": "Response Get History Dashboard V1 Swarm Dashboard Get"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/swarm/list": {
|
|
"get": {
|
|
"tags": [
|
|
"Swarm"
|
|
],
|
|
"summary": "List Swarms",
|
|
"description": "List active swarms.",
|
|
"operationId": "list_swarms_swarm_list_get",
|
|
"parameters": [
|
|
{
|
|
"name": "swarm_id",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"description": "Filter by swarm ID",
|
|
"title": "Swarm Id"
|
|
},
|
|
"description": "Filter by swarm ID"
|
|
},
|
|
{
|
|
"name": "status",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"description": "Filter by status",
|
|
"title": "Status"
|
|
},
|
|
"description": "Filter by status"
|
|
},
|
|
{
|
|
"name": "limit",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"type": "integer",
|
|
"description": "Number of swarms to list",
|
|
"default": 20,
|
|
"title": "Limit"
|
|
},
|
|
"description": "Number of swarms to list"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/SwarmInfo"
|
|
},
|
|
"title": "Response List Swarms Swarm List Get"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/swarm/join": {
|
|
"post": {
|
|
"tags": [
|
|
"Swarm"
|
|
],
|
|
"summary": "Join Swarm",
|
|
"description": "Join agent swarm for collective optimization.",
|
|
"operationId": "join_swarm_swarm_join_post",
|
|
"requestBody": {
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/JoinRequest"
|
|
}
|
|
}
|
|
},
|
|
"required": true
|
|
},
|
|
"responses": {
|
|
"201": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"additionalProperties": true,
|
|
"type": "object",
|
|
"title": "Response Join Swarm Swarm Join Post"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/swarm/coordinate": {
|
|
"post": {
|
|
"tags": [
|
|
"Swarm"
|
|
],
|
|
"summary": "Coordinate Swarm",
|
|
"description": "Coordinate swarm task execution.",
|
|
"operationId": "coordinate_swarm_swarm_coordinate_post",
|
|
"requestBody": {
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/CoordinateRequest"
|
|
}
|
|
}
|
|
},
|
|
"required": true
|
|
},
|
|
"responses": {
|
|
"202": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"additionalProperties": true,
|
|
"type": "object",
|
|
"title": "Response Coordinate Swarm Swarm Coordinate Post"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/swarm/tasks/{task_id}/status": {
|
|
"get": {
|
|
"tags": [
|
|
"Swarm"
|
|
],
|
|
"summary": "Get Task Status",
|
|
"description": "Get swarm task status.",
|
|
"operationId": "get_task_status_swarm_tasks__task_id__status_get",
|
|
"parameters": [
|
|
{
|
|
"name": "task_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Task Id"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/TaskStatus"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/swarm/{swarm_id}/leave": {
|
|
"post": {
|
|
"tags": [
|
|
"Swarm"
|
|
],
|
|
"summary": "Leave Swarm",
|
|
"description": "Leave swarm.",
|
|
"operationId": "leave_swarm_swarm__swarm_id__leave_post",
|
|
"parameters": [
|
|
{
|
|
"name": "swarm_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Swarm Id"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Leave Swarm Swarm Swarm Id Leave Post"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/swarm/tasks/{task_id}/consensus": {
|
|
"post": {
|
|
"tags": [
|
|
"Swarm"
|
|
],
|
|
"summary": "Achieve Consensus",
|
|
"description": "Achieve swarm consensus on task result.",
|
|
"operationId": "achieve_consensus_swarm_tasks__task_id__consensus_post",
|
|
"parameters": [
|
|
{
|
|
"name": "task_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Task Id"
|
|
}
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"required": true,
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ConsensusRequest"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"title": "Response Achieve Consensus Swarm Tasks Task Id Consensus Post"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/swarm/api/v1/dashboard": {
|
|
"get": {
|
|
"tags": [
|
|
"Swarm"
|
|
],
|
|
"summary": "Get Dashboard",
|
|
"description": "Get monitoring dashboard data.",
|
|
"operationId": "get_dashboard_swarm_api_v1_dashboard_get",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"additionalProperties": true,
|
|
"type": "object",
|
|
"title": "Response Get Dashboard Swarm Api V1 Dashboard Get"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/swarm/status": {
|
|
"get": {
|
|
"tags": [
|
|
"Swarm"
|
|
],
|
|
"summary": "Get Status",
|
|
"description": "Get coordinator status.",
|
|
"operationId": "get_status_swarm_status_get",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"additionalProperties": true,
|
|
"type": "object",
|
|
"title": "Response Get Status Swarm Status Get"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/swarm/miners": {
|
|
"get": {
|
|
"tags": [
|
|
"Swarm"
|
|
],
|
|
"summary": "Get Miners",
|
|
"description": "Get miners list.",
|
|
"operationId": "get_miners_swarm_miners_get",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"items": {},
|
|
"type": "array",
|
|
"title": "Response Get Miners Swarm Miners Get"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/swarm/dashboard": {
|
|
"get": {
|
|
"tags": [
|
|
"Swarm"
|
|
],
|
|
"summary": "Get History Dashboard",
|
|
"description": "Get historical dashboard data.",
|
|
"operationId": "get_history_dashboard_swarm_dashboard_get",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"items": {},
|
|
"type": "array",
|
|
"title": "Response Get History Dashboard Swarm Dashboard Get"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/api/v1/dashboard": {
|
|
"get": {
|
|
"tags": [
|
|
"Monitor"
|
|
],
|
|
"summary": "Get Dashboard",
|
|
"description": "Get monitoring dashboard data.",
|
|
"operationId": "get_dashboard_api_v1_dashboard_get",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"additionalProperties": true,
|
|
"type": "object",
|
|
"title": "Response Get Dashboard Api V1 Dashboard Get"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/status": {
|
|
"get": {
|
|
"tags": [
|
|
"Monitor"
|
|
],
|
|
"summary": "Get Status",
|
|
"description": "Get coordinator status.",
|
|
"operationId": "get_status_status_get",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"additionalProperties": true,
|
|
"type": "object",
|
|
"title": "Response Get Status Status Get"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/miners": {
|
|
"get": {
|
|
"tags": [
|
|
"Monitor"
|
|
],
|
|
"summary": "Get Miners",
|
|
"description": "Get miners list.",
|
|
"operationId": "get_miners_miners_get",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"items": {
|
|
"additionalProperties": true,
|
|
"type": "object"
|
|
},
|
|
"type": "array",
|
|
"title": "Response Get Miners Miners Get"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/dashboard": {
|
|
"get": {
|
|
"tags": [
|
|
"Monitor"
|
|
],
|
|
"summary": "Get History Dashboard",
|
|
"description": "Get historical dashboard data.",
|
|
"operationId": "get_history_dashboard_dashboard_get",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"items": {
|
|
"additionalProperties": true,
|
|
"type": "object"
|
|
},
|
|
"type": "array",
|
|
"title": "Response Get History Dashboard Dashboard Get"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/jobs": {
|
|
"get": {
|
|
"tags": [
|
|
"Monitor"
|
|
],
|
|
"summary": "Get Jobs",
|
|
"description": "Get jobs list for history and metrics commands.",
|
|
"operationId": "get_jobs_jobs_get",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"items": {
|
|
"additionalProperties": true,
|
|
"type": "object"
|
|
},
|
|
"type": "array",
|
|
"title": "Response Get Jobs Jobs Get"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/rate-limit-metrics": {
|
|
"get": {
|
|
"summary": "Rate Limit Metrics",
|
|
"description": "Rate limiting metrics endpoint.",
|
|
"operationId": "rate_limit_metrics_rate_limit_metrics_get",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/metrics": {
|
|
"get": {
|
|
"tags": [
|
|
"health"
|
|
],
|
|
"summary": "Live JSON metrics for dashboard consumption",
|
|
"operationId": "live_metrics_v1_metrics_get",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"additionalProperties": true,
|
|
"type": "object",
|
|
"title": "Response Live Metrics V1 Metrics Get"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/health": {
|
|
"get": {
|
|
"tags": [
|
|
"health"
|
|
],
|
|
"summary": "Root health endpoint for CLI compatibility",
|
|
"operationId": "root_health_health_get",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"additionalProperties": {
|
|
"type": "string"
|
|
},
|
|
"type": "object",
|
|
"title": "Response Root Health Health Get"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/health": {
|
|
"get": {
|
|
"tags": [
|
|
"health"
|
|
],
|
|
"summary": "Service healthcheck",
|
|
"operationId": "health_v1_health_get",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"additionalProperties": {
|
|
"type": "string"
|
|
},
|
|
"type": "object",
|
|
"title": "Response Health V1 Health Get"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/health/live": {
|
|
"get": {
|
|
"tags": [
|
|
"health"
|
|
],
|
|
"summary": "Liveness probe",
|
|
"operationId": "liveness_health_live_get",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"additionalProperties": {
|
|
"type": "string"
|
|
},
|
|
"type": "object",
|
|
"title": "Response Liveness Health Live Get"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/health/ready": {
|
|
"get": {
|
|
"tags": [
|
|
"health"
|
|
],
|
|
"summary": "Readiness probe",
|
|
"operationId": "readiness_health_ready_get",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"additionalProperties": {
|
|
"type": "string"
|
|
},
|
|
"type": "object",
|
|
"title": "Response Readiness Health Ready Get"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"components": {
|
|
"schemas": {
|
|
"AIAgentWorkflow": {
|
|
"properties": {
|
|
"id": {
|
|
"type": "string",
|
|
"title": "Id"
|
|
},
|
|
"owner_id": {
|
|
"type": "string",
|
|
"title": "Owner Id"
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"maxLength": 100,
|
|
"title": "Name"
|
|
},
|
|
"description": {
|
|
"type": "string",
|
|
"title": "Description",
|
|
"default": ""
|
|
},
|
|
"steps": {
|
|
"additionalProperties": true,
|
|
"type": "object",
|
|
"title": "Steps"
|
|
},
|
|
"dependencies": {
|
|
"additionalProperties": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"type": "object",
|
|
"title": "Dependencies"
|
|
},
|
|
"max_execution_time": {
|
|
"type": "integer",
|
|
"title": "Max Execution Time",
|
|
"default": 3600
|
|
},
|
|
"max_cost_budget": {
|
|
"type": "number",
|
|
"title": "Max Cost Budget",
|
|
"default": 0.0
|
|
},
|
|
"requires_verification": {
|
|
"type": "boolean",
|
|
"title": "Requires Verification",
|
|
"default": true
|
|
},
|
|
"verification_level": {
|
|
"$ref": "#/components/schemas/VerificationLevel",
|
|
"default": "basic"
|
|
},
|
|
"tags": {
|
|
"type": "string",
|
|
"title": "Tags",
|
|
"default": ""
|
|
},
|
|
"version": {
|
|
"type": "string",
|
|
"title": "Version",
|
|
"default": "1.0.0"
|
|
},
|
|
"is_public": {
|
|
"type": "boolean",
|
|
"title": "Is Public",
|
|
"default": false
|
|
},
|
|
"created_at": {
|
|
"type": "string",
|
|
"format": "date-time",
|
|
"title": "Created At"
|
|
},
|
|
"updated_at": {
|
|
"type": "string",
|
|
"format": "date-time",
|
|
"title": "Updated At"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"owner_id",
|
|
"name"
|
|
],
|
|
"title": "AIAgentWorkflow",
|
|
"description": "Definition of an AI agent workflow"
|
|
},
|
|
"AddressListResponse": {
|
|
"properties": {
|
|
"items": {
|
|
"items": {
|
|
"$ref": "#/components/schemas/AddressSummary"
|
|
},
|
|
"type": "array",
|
|
"title": "Items"
|
|
},
|
|
"next_offset": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Next Offset"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"items"
|
|
],
|
|
"title": "AddressListResponse"
|
|
},
|
|
"AddressSummary": {
|
|
"properties": {
|
|
"address": {
|
|
"type": "string",
|
|
"title": "Address"
|
|
},
|
|
"balance": {
|
|
"type": "string",
|
|
"title": "Balance"
|
|
},
|
|
"txCount": {
|
|
"type": "integer",
|
|
"title": "Txcount"
|
|
},
|
|
"lastActive": {
|
|
"type": "string",
|
|
"format": "date-time",
|
|
"title": "Lastactive"
|
|
},
|
|
"recentTransactions": {
|
|
"anyOf": [
|
|
{
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Recenttransactions"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"address",
|
|
"balance",
|
|
"txCount",
|
|
"lastActive"
|
|
],
|
|
"title": "AddressSummary"
|
|
},
|
|
"AgentCollaborationRequest": {
|
|
"properties": {
|
|
"task_data": {
|
|
"additionalProperties": true,
|
|
"type": "object",
|
|
"title": "Task Data",
|
|
"description": "Task data and requirements"
|
|
},
|
|
"agent_ids": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array",
|
|
"title": "Agent Ids",
|
|
"description": "List of agent IDs to coordinate"
|
|
},
|
|
"coordination_algorithm": {
|
|
"type": "string",
|
|
"title": "Coordination Algorithm",
|
|
"description": "Coordination algorithm",
|
|
"default": "distributed_consensus"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"task_data",
|
|
"agent_ids"
|
|
],
|
|
"title": "AgentCollaborationRequest",
|
|
"description": "Request for agent collaboration"
|
|
},
|
|
"AgentExecutionRequest": {
|
|
"properties": {
|
|
"workflow_id": {
|
|
"type": "string",
|
|
"title": "Workflow Id"
|
|
},
|
|
"inputs": {
|
|
"additionalProperties": true,
|
|
"type": "object",
|
|
"title": "Inputs"
|
|
},
|
|
"verification_level": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/VerificationLevel"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": "basic"
|
|
},
|
|
"max_execution_time": {
|
|
"anyOf": [
|
|
{
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Max Execution Time"
|
|
},
|
|
"max_cost_budget": {
|
|
"anyOf": [
|
|
{
|
|
"type": "number"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Max Cost Budget"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"workflow_id",
|
|
"inputs"
|
|
],
|
|
"title": "AgentExecutionRequest",
|
|
"description": "Request model for executing agent workflows"
|
|
},
|
|
"AgentExecutionResponse": {
|
|
"properties": {
|
|
"execution_id": {
|
|
"type": "string",
|
|
"title": "Execution Id"
|
|
},
|
|
"workflow_id": {
|
|
"type": "string",
|
|
"title": "Workflow Id"
|
|
},
|
|
"status": {
|
|
"$ref": "#/components/schemas/AgentStatus"
|
|
},
|
|
"current_step": {
|
|
"type": "integer",
|
|
"title": "Current Step"
|
|
},
|
|
"total_steps": {
|
|
"type": "integer",
|
|
"title": "Total Steps"
|
|
},
|
|
"started_at": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Started At"
|
|
},
|
|
"estimated_completion": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Estimated Completion"
|
|
},
|
|
"current_cost": {
|
|
"type": "number",
|
|
"title": "Current Cost"
|
|
},
|
|
"estimated_total_cost": {
|
|
"anyOf": [
|
|
{
|
|
"type": "number"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Estimated Total Cost"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"execution_id",
|
|
"workflow_id",
|
|
"status",
|
|
"current_step",
|
|
"total_steps",
|
|
"started_at",
|
|
"estimated_completion",
|
|
"current_cost",
|
|
"estimated_total_cost"
|
|
],
|
|
"title": "AgentExecutionResponse",
|
|
"description": "Response model for agent execution"
|
|
},
|
|
"AgentExecutionStatus": {
|
|
"properties": {
|
|
"execution_id": {
|
|
"type": "string",
|
|
"title": "Execution Id"
|
|
},
|
|
"workflow_id": {
|
|
"type": "string",
|
|
"title": "Workflow Id"
|
|
},
|
|
"status": {
|
|
"$ref": "#/components/schemas/AgentStatus"
|
|
},
|
|
"current_step": {
|
|
"type": "integer",
|
|
"title": "Current Step"
|
|
},
|
|
"total_steps": {
|
|
"type": "integer",
|
|
"title": "Total Steps"
|
|
},
|
|
"step_states": {
|
|
"additionalProperties": true,
|
|
"type": "object",
|
|
"title": "Step States"
|
|
},
|
|
"final_result": {
|
|
"anyOf": [
|
|
{
|
|
"additionalProperties": true,
|
|
"type": "object"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Final Result"
|
|
},
|
|
"error_message": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Error Message"
|
|
},
|
|
"started_at": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Started At"
|
|
},
|
|
"completed_at": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Completed At"
|
|
},
|
|
"total_execution_time": {
|
|
"anyOf": [
|
|
{
|
|
"type": "number"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Total Execution Time"
|
|
},
|
|
"total_cost": {
|
|
"type": "number",
|
|
"title": "Total Cost"
|
|
},
|
|
"verification_proof": {
|
|
"anyOf": [
|
|
{
|
|
"additionalProperties": true,
|
|
"type": "object"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Verification Proof"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"execution_id",
|
|
"workflow_id",
|
|
"status",
|
|
"current_step",
|
|
"total_steps",
|
|
"step_states",
|
|
"final_result",
|
|
"error_message",
|
|
"started_at",
|
|
"completed_at",
|
|
"total_execution_time",
|
|
"total_cost",
|
|
"verification_proof"
|
|
],
|
|
"title": "AgentExecutionStatus",
|
|
"description": "Response model for execution status"
|
|
},
|
|
"AgentStatus": {
|
|
"type": "string",
|
|
"enum": [
|
|
"pending",
|
|
"running",
|
|
"completed",
|
|
"failed",
|
|
"cancelled"
|
|
],
|
|
"title": "AgentStatus",
|
|
"description": "Agent execution status enumeration"
|
|
},
|
|
"AgentWorkflowCreate": {
|
|
"properties": {
|
|
"name": {
|
|
"type": "string",
|
|
"maxLength": 100,
|
|
"title": "Name"
|
|
},
|
|
"description": {
|
|
"type": "string",
|
|
"title": "Description",
|
|
"default": ""
|
|
},
|
|
"steps": {
|
|
"additionalProperties": true,
|
|
"type": "object",
|
|
"title": "Steps"
|
|
},
|
|
"dependencies": {
|
|
"additionalProperties": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"type": "object",
|
|
"title": "Dependencies"
|
|
},
|
|
"max_execution_time": {
|
|
"type": "integer",
|
|
"title": "Max Execution Time",
|
|
"default": 3600
|
|
},
|
|
"max_cost_budget": {
|
|
"type": "number",
|
|
"title": "Max Cost Budget",
|
|
"default": 0.0
|
|
},
|
|
"requires_verification": {
|
|
"type": "boolean",
|
|
"title": "Requires Verification",
|
|
"default": true
|
|
},
|
|
"verification_level": {
|
|
"$ref": "#/components/schemas/VerificationLevel",
|
|
"default": "basic"
|
|
},
|
|
"tags": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array",
|
|
"title": "Tags"
|
|
},
|
|
"is_public": {
|
|
"type": "boolean",
|
|
"title": "Is Public",
|
|
"default": false
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"name",
|
|
"steps"
|
|
],
|
|
"title": "AgentWorkflowCreate",
|
|
"description": "Request model for creating agent workflows"
|
|
},
|
|
"AgentWorkflowUpdate": {
|
|
"properties": {
|
|
"name": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string",
|
|
"maxLength": 100
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Name"
|
|
},
|
|
"description": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Description"
|
|
},
|
|
"steps": {
|
|
"anyOf": [
|
|
{
|
|
"additionalProperties": true,
|
|
"type": "object"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Steps"
|
|
},
|
|
"dependencies": {
|
|
"anyOf": [
|
|
{
|
|
"additionalProperties": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"type": "object"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Dependencies"
|
|
},
|
|
"max_execution_time": {
|
|
"anyOf": [
|
|
{
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Max Execution Time"
|
|
},
|
|
"max_cost_budget": {
|
|
"anyOf": [
|
|
{
|
|
"type": "number"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Max Cost Budget"
|
|
},
|
|
"requires_verification": {
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Requires Verification"
|
|
},
|
|
"verification_level": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/VerificationLevel"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"tags": {
|
|
"anyOf": [
|
|
{
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Tags"
|
|
},
|
|
"is_public": {
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Is Public"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"title": "AgentWorkflowUpdate",
|
|
"description": "Request model for updating agent workflows"
|
|
},
|
|
"BlenderEngine": {
|
|
"type": "string",
|
|
"enum": [
|
|
"cycles",
|
|
"eevee",
|
|
"eevee-next"
|
|
],
|
|
"title": "BlenderEngine",
|
|
"description": "Blender render engines"
|
|
},
|
|
"BlenderFormat": {
|
|
"type": "string",
|
|
"enum": [
|
|
"png",
|
|
"jpg",
|
|
"exr",
|
|
"bmp",
|
|
"tiff"
|
|
],
|
|
"title": "BlenderFormat",
|
|
"description": "Output formats"
|
|
},
|
|
"BlenderRequest": {
|
|
"properties": {
|
|
"blend_file_url": {
|
|
"type": "string",
|
|
"title": "Blend File Url",
|
|
"description": "URL of .blend file"
|
|
},
|
|
"engine": {
|
|
"$ref": "#/components/schemas/BlenderEngine",
|
|
"description": "Render engine",
|
|
"default": "cycles"
|
|
},
|
|
"format": {
|
|
"$ref": "#/components/schemas/BlenderFormat",
|
|
"description": "Output format",
|
|
"default": "png"
|
|
},
|
|
"resolution_x": {
|
|
"type": "integer",
|
|
"maximum": 65536.0,
|
|
"minimum": 1.0,
|
|
"title": "Resolution X",
|
|
"description": "Image width",
|
|
"default": 1920
|
|
},
|
|
"resolution_y": {
|
|
"type": "integer",
|
|
"maximum": 65536.0,
|
|
"minimum": 1.0,
|
|
"title": "Resolution Y",
|
|
"description": "Image height",
|
|
"default": 1080
|
|
},
|
|
"resolution_percentage": {
|
|
"type": "integer",
|
|
"maximum": 100.0,
|
|
"minimum": 1.0,
|
|
"title": "Resolution Percentage",
|
|
"description": "Resolution scale",
|
|
"default": 100
|
|
},
|
|
"samples": {
|
|
"type": "integer",
|
|
"maximum": 10000.0,
|
|
"minimum": 1.0,
|
|
"title": "Samples",
|
|
"description": "Samples (Cycles only)",
|
|
"default": 128
|
|
},
|
|
"frame_start": {
|
|
"type": "integer",
|
|
"minimum": 1.0,
|
|
"title": "Frame Start",
|
|
"description": "Start frame",
|
|
"default": 1
|
|
},
|
|
"frame_end": {
|
|
"type": "integer",
|
|
"minimum": 1.0,
|
|
"title": "Frame End",
|
|
"description": "End frame",
|
|
"default": 1
|
|
},
|
|
"frame_step": {
|
|
"type": "integer",
|
|
"minimum": 1.0,
|
|
"title": "Frame Step",
|
|
"description": "Frame step",
|
|
"default": 1
|
|
},
|
|
"denoise": {
|
|
"type": "boolean",
|
|
"title": "Denoise",
|
|
"description": "Enable denoising",
|
|
"default": true
|
|
},
|
|
"transparent": {
|
|
"type": "boolean",
|
|
"title": "Transparent",
|
|
"description": "Transparent background",
|
|
"default": false
|
|
},
|
|
"custom_args": {
|
|
"anyOf": [
|
|
{
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Custom Args",
|
|
"description": "Custom Blender arguments"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"blend_file_url"
|
|
],
|
|
"title": "BlenderRequest",
|
|
"description": "Blender rendering request"
|
|
},
|
|
"BlockListResponse": {
|
|
"properties": {
|
|
"items": {
|
|
"items": {
|
|
"$ref": "#/components/schemas/BlockSummary"
|
|
},
|
|
"type": "array",
|
|
"title": "Items"
|
|
},
|
|
"next_offset": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Next Offset"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"items"
|
|
],
|
|
"title": "BlockListResponse"
|
|
},
|
|
"BlockSummary": {
|
|
"properties": {
|
|
"height": {
|
|
"type": "integer",
|
|
"title": "Height"
|
|
},
|
|
"hash": {
|
|
"type": "string",
|
|
"title": "Hash"
|
|
},
|
|
"timestamp": {
|
|
"type": "string",
|
|
"format": "date-time",
|
|
"title": "Timestamp"
|
|
},
|
|
"txCount": {
|
|
"type": "integer",
|
|
"title": "Txcount"
|
|
},
|
|
"proposer": {
|
|
"type": "string",
|
|
"title": "Proposer"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"height",
|
|
"hash",
|
|
"timestamp",
|
|
"txCount",
|
|
"proposer"
|
|
],
|
|
"title": "BlockSummary"
|
|
},
|
|
"Body_create_cross_chain_marketplace_offer_v1_global_marketplace_integration_offers_create_cross_chain_post": {
|
|
"properties": {
|
|
"resource_specification": {
|
|
"additionalProperties": true,
|
|
"type": "object",
|
|
"title": "Resource Specification"
|
|
},
|
|
"regions_available": {
|
|
"anyOf": [
|
|
{
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Regions Available"
|
|
},
|
|
"supported_chains": {
|
|
"anyOf": [
|
|
{
|
|
"items": {
|
|
"type": "integer"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Supported Chains"
|
|
},
|
|
"cross_chain_pricing": {
|
|
"anyOf": [
|
|
{
|
|
"additionalProperties": {
|
|
"type": "number"
|
|
},
|
|
"type": "object"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Cross Chain Pricing"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"resource_specification"
|
|
],
|
|
"title": "Body_create_cross_chain_marketplace_offer_v1_global_marketplace_integration_offers_create_cross_chain_post"
|
|
},
|
|
"Body_submit_transaction_v1_cross_chain_transactions_submit_post": {
|
|
"properties": {
|
|
"data": {
|
|
"anyOf": [
|
|
{
|
|
"additionalProperties": true,
|
|
"type": "object"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Data"
|
|
},
|
|
"metadata": {
|
|
"anyOf": [
|
|
{
|
|
"additionalProperties": true,
|
|
"type": "object"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Metadata"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"title": "Body_submit_transaction_v1_cross_chain_transactions_submit_post"
|
|
},
|
|
"BountyCreate": {
|
|
"properties": {
|
|
"title": {
|
|
"type": "string",
|
|
"title": "Title"
|
|
},
|
|
"description": {
|
|
"type": "string",
|
|
"title": "Description"
|
|
},
|
|
"required_skills": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array",
|
|
"title": "Required Skills",
|
|
"default": []
|
|
},
|
|
"difficulty_level": {
|
|
"$ref": "#/components/schemas/CertificationLevel",
|
|
"default": "intermediate"
|
|
},
|
|
"reward_amount": {
|
|
"type": "number",
|
|
"title": "Reward Amount"
|
|
},
|
|
"creator_address": {
|
|
"type": "string",
|
|
"title": "Creator Address"
|
|
},
|
|
"deadline": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Deadline"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"title",
|
|
"description",
|
|
"reward_amount",
|
|
"creator_address"
|
|
],
|
|
"title": "BountyCreate"
|
|
},
|
|
"BountyStatus": {
|
|
"type": "string",
|
|
"enum": [
|
|
"open",
|
|
"in_progress",
|
|
"in_review",
|
|
"completed",
|
|
"cancelled"
|
|
],
|
|
"title": "BountyStatus"
|
|
},
|
|
"BountySubmissionCreate": {
|
|
"properties": {
|
|
"developer_id": {
|
|
"type": "string",
|
|
"title": "Developer Id"
|
|
},
|
|
"github_pr_url": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Github Pr Url"
|
|
},
|
|
"submission_notes": {
|
|
"type": "string",
|
|
"title": "Submission Notes",
|
|
"default": ""
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"developer_id"
|
|
],
|
|
"title": "BountySubmissionCreate"
|
|
},
|
|
"BridgeProtocol": {
|
|
"type": "string",
|
|
"enum": [
|
|
"atomic_swap",
|
|
"htlc",
|
|
"liquidity_pool",
|
|
"wrapped_token"
|
|
],
|
|
"title": "BridgeProtocol",
|
|
"description": "Bridge protocol types"
|
|
},
|
|
"BridgeSecurityLevel": {
|
|
"type": "string",
|
|
"enum": [
|
|
"low",
|
|
"medium",
|
|
"high",
|
|
"maximum"
|
|
],
|
|
"title": "BridgeSecurityLevel",
|
|
"description": "Bridge security levels"
|
|
},
|
|
"CertificationGrant": {
|
|
"properties": {
|
|
"developer_id": {
|
|
"type": "string",
|
|
"title": "Developer Id"
|
|
},
|
|
"certification_name": {
|
|
"type": "string",
|
|
"title": "Certification Name"
|
|
},
|
|
"level": {
|
|
"$ref": "#/components/schemas/CertificationLevel"
|
|
},
|
|
"issued_by": {
|
|
"type": "string",
|
|
"title": "Issued By"
|
|
},
|
|
"ipfs_credential_cid": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Ipfs Credential Cid"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"developer_id",
|
|
"certification_name",
|
|
"level",
|
|
"issued_by"
|
|
],
|
|
"title": "CertificationGrant"
|
|
},
|
|
"CertificationLevel": {
|
|
"type": "string",
|
|
"enum": [
|
|
"beginner",
|
|
"intermediate",
|
|
"advanced",
|
|
"expert"
|
|
],
|
|
"title": "CertificationLevel"
|
|
},
|
|
"ChainType": {
|
|
"type": "string",
|
|
"enum": [
|
|
"ethereum",
|
|
"polygon",
|
|
"bsc",
|
|
"arbitrum",
|
|
"optimism",
|
|
"avalanche",
|
|
"solana",
|
|
"custom"
|
|
],
|
|
"title": "ChainType",
|
|
"description": "Blockchain chain type enumeration"
|
|
},
|
|
"ConsensusRequest": {
|
|
"properties": {
|
|
"consensus_threshold": {
|
|
"type": "number",
|
|
"title": "Consensus Threshold"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"consensus_threshold"
|
|
],
|
|
"title": "ConsensusRequest",
|
|
"description": "Swarm consensus request model."
|
|
},
|
|
"Constraints": {
|
|
"properties": {
|
|
"gpu": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Gpu"
|
|
},
|
|
"cuda": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Cuda"
|
|
},
|
|
"min_vram_gb": {
|
|
"anyOf": [
|
|
{
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Min Vram Gb"
|
|
},
|
|
"models": {
|
|
"anyOf": [
|
|
{
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Models"
|
|
},
|
|
"region": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Region"
|
|
},
|
|
"max_price": {
|
|
"anyOf": [
|
|
{
|
|
"type": "number"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Max Price"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"title": "Constraints"
|
|
},
|
|
"CoordinateRequest": {
|
|
"properties": {
|
|
"task": {
|
|
"type": "string",
|
|
"title": "Task"
|
|
},
|
|
"collaborators": {
|
|
"type": "integer",
|
|
"title": "Collaborators"
|
|
},
|
|
"strategy": {
|
|
"type": "string",
|
|
"title": "Strategy"
|
|
},
|
|
"timeout_seconds": {
|
|
"type": "integer",
|
|
"title": "Timeout Seconds"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"task",
|
|
"collaborators",
|
|
"strategy",
|
|
"timeout_seconds"
|
|
],
|
|
"title": "CoordinateRequest",
|
|
"description": "Swarm coordinate request model."
|
|
},
|
|
"CrossChainMappingResponse": {
|
|
"properties": {
|
|
"id": {
|
|
"type": "string",
|
|
"title": "Id"
|
|
},
|
|
"agent_id": {
|
|
"type": "string",
|
|
"title": "Agent Id"
|
|
},
|
|
"chain_id": {
|
|
"type": "integer",
|
|
"title": "Chain Id"
|
|
},
|
|
"chain_type": {
|
|
"$ref": "#/components/schemas/ChainType"
|
|
},
|
|
"chain_address": {
|
|
"type": "string",
|
|
"title": "Chain Address"
|
|
},
|
|
"is_verified": {
|
|
"type": "boolean",
|
|
"title": "Is Verified"
|
|
},
|
|
"verified_at": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Verified At"
|
|
},
|
|
"wallet_address": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Wallet Address"
|
|
},
|
|
"wallet_type": {
|
|
"type": "string",
|
|
"title": "Wallet Type"
|
|
},
|
|
"chain_meta_data": {
|
|
"additionalProperties": true,
|
|
"type": "object",
|
|
"title": "Chain Meta Data"
|
|
},
|
|
"last_transaction": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Last Transaction"
|
|
},
|
|
"transaction_count": {
|
|
"type": "integer",
|
|
"title": "Transaction Count"
|
|
},
|
|
"created_at": {
|
|
"type": "string",
|
|
"format": "date-time",
|
|
"title": "Created At"
|
|
},
|
|
"updated_at": {
|
|
"type": "string",
|
|
"format": "date-time",
|
|
"title": "Updated At"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"id",
|
|
"agent_id",
|
|
"chain_id",
|
|
"chain_type",
|
|
"chain_address",
|
|
"is_verified",
|
|
"verified_at",
|
|
"wallet_address",
|
|
"wallet_type",
|
|
"chain_meta_data",
|
|
"last_transaction",
|
|
"transaction_count",
|
|
"created_at",
|
|
"updated_at"
|
|
],
|
|
"title": "CrossChainMappingResponse",
|
|
"description": "Response model for cross-chain mapping"
|
|
},
|
|
"DeveloperCreate": {
|
|
"properties": {
|
|
"wallet_address": {
|
|
"type": "string",
|
|
"title": "Wallet Address"
|
|
},
|
|
"github_handle": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Github Handle"
|
|
},
|
|
"email": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Email"
|
|
},
|
|
"skills": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array",
|
|
"title": "Skills",
|
|
"default": []
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"wallet_address"
|
|
],
|
|
"title": "DeveloperCreate"
|
|
},
|
|
"EcosystemDevelopmentRequest": {
|
|
"properties": {
|
|
"ecosystem_config": {
|
|
"additionalProperties": true,
|
|
"type": "object",
|
|
"title": "Ecosystem Config",
|
|
"description": "Ecosystem configuration"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"ecosystem_config"
|
|
],
|
|
"title": "EcosystemDevelopmentRequest",
|
|
"description": "Request for ecosystem development"
|
|
},
|
|
"EdgeCoordinationRequest": {
|
|
"properties": {
|
|
"edge_deployment_id": {
|
|
"type": "string",
|
|
"title": "Edge Deployment Id",
|
|
"description": "Edge deployment ID"
|
|
},
|
|
"coordination_config": {
|
|
"additionalProperties": true,
|
|
"type": "object",
|
|
"title": "Coordination Config",
|
|
"description": "Coordination configuration"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"edge_deployment_id",
|
|
"coordination_config"
|
|
],
|
|
"title": "EdgeCoordinationRequest",
|
|
"description": "Request for edge-to-cloud coordination"
|
|
},
|
|
"EdgeDeploymentRequest": {
|
|
"properties": {
|
|
"agent_id": {
|
|
"type": "string",
|
|
"title": "Agent Id",
|
|
"description": "Agent ID to deploy"
|
|
},
|
|
"edge_locations": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array",
|
|
"title": "Edge Locations",
|
|
"description": "Edge locations for deployment"
|
|
},
|
|
"deployment_config": {
|
|
"additionalProperties": true,
|
|
"type": "object",
|
|
"title": "Deployment Config",
|
|
"description": "Deployment configuration"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"agent_id",
|
|
"edge_locations",
|
|
"deployment_config"
|
|
],
|
|
"title": "EdgeDeploymentRequest",
|
|
"description": "Request for edge deployment"
|
|
},
|
|
"EscrowRelease": {
|
|
"properties": {
|
|
"job_id": {
|
|
"type": "string",
|
|
"title": "Job Id"
|
|
},
|
|
"payment_id": {
|
|
"type": "string",
|
|
"title": "Payment Id"
|
|
},
|
|
"reason": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Reason"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"job_id",
|
|
"payment_id"
|
|
],
|
|
"title": "EscrowRelease",
|
|
"description": "Request to release escrow payment"
|
|
},
|
|
"ExchangePaymentRequest": {
|
|
"properties": {
|
|
"user_id": {
|
|
"type": "string",
|
|
"maxLength": 128,
|
|
"minLength": 1,
|
|
"title": "User Id",
|
|
"description": "User identifier"
|
|
},
|
|
"aitbc_amount": {
|
|
"type": "number",
|
|
"maximum": 1000000.0,
|
|
"exclusiveMinimum": 0.0,
|
|
"title": "Aitbc Amount",
|
|
"description": "AITBC amount to exchange"
|
|
},
|
|
"btc_amount": {
|
|
"type": "number",
|
|
"maximum": 100.0,
|
|
"exclusiveMinimum": 0.0,
|
|
"title": "Btc Amount",
|
|
"description": "BTC amount to receive"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"user_id",
|
|
"aitbc_amount",
|
|
"btc_amount"
|
|
],
|
|
"title": "ExchangePaymentRequest",
|
|
"description": "Request for Bitcoin exchange payment"
|
|
},
|
|
"ExchangePaymentResponse": {
|
|
"properties": {
|
|
"payment_id": {
|
|
"type": "string",
|
|
"title": "Payment Id"
|
|
},
|
|
"user_id": {
|
|
"type": "string",
|
|
"title": "User Id"
|
|
},
|
|
"aitbc_amount": {
|
|
"type": "number",
|
|
"title": "Aitbc Amount"
|
|
},
|
|
"btc_amount": {
|
|
"type": "number",
|
|
"title": "Btc Amount"
|
|
},
|
|
"payment_address": {
|
|
"type": "string",
|
|
"title": "Payment Address"
|
|
},
|
|
"status": {
|
|
"type": "string",
|
|
"title": "Status"
|
|
},
|
|
"created_at": {
|
|
"type": "integer",
|
|
"title": "Created At"
|
|
},
|
|
"expires_at": {
|
|
"type": "integer",
|
|
"title": "Expires At"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"payment_id",
|
|
"user_id",
|
|
"aitbc_amount",
|
|
"btc_amount",
|
|
"payment_address",
|
|
"status",
|
|
"created_at",
|
|
"expires_at"
|
|
],
|
|
"title": "ExchangePaymentResponse"
|
|
},
|
|
"ExchangeRatesResponse": {
|
|
"properties": {
|
|
"btc_to_aitbc": {
|
|
"type": "number",
|
|
"title": "Btc To Aitbc"
|
|
},
|
|
"aitbc_to_btc": {
|
|
"type": "number",
|
|
"title": "Aitbc To Btc"
|
|
},
|
|
"fee_percent": {
|
|
"type": "number",
|
|
"title": "Fee Percent"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"btc_to_aitbc",
|
|
"aitbc_to_btc",
|
|
"fee_percent"
|
|
],
|
|
"title": "ExchangeRatesResponse"
|
|
},
|
|
"FFmpegCodec": {
|
|
"type": "string",
|
|
"enum": [
|
|
"h264",
|
|
"h265",
|
|
"vp9",
|
|
"av1"
|
|
],
|
|
"title": "FFmpegCodec",
|
|
"description": "Supported video codecs"
|
|
},
|
|
"FFmpegPreset": {
|
|
"type": "string",
|
|
"enum": [
|
|
"ultrafast",
|
|
"superfast",
|
|
"veryfast",
|
|
"faster",
|
|
"fast",
|
|
"medium",
|
|
"slow",
|
|
"slower",
|
|
"veryslow"
|
|
],
|
|
"title": "FFmpegPreset",
|
|
"description": "Encoding presets"
|
|
},
|
|
"FFmpegRequest": {
|
|
"properties": {
|
|
"input_url": {
|
|
"type": "string",
|
|
"title": "Input Url",
|
|
"description": "URL of input video"
|
|
},
|
|
"output_format": {
|
|
"type": "string",
|
|
"title": "Output Format",
|
|
"description": "Output format",
|
|
"default": "mp4"
|
|
},
|
|
"codec": {
|
|
"$ref": "#/components/schemas/FFmpegCodec",
|
|
"description": "Video codec",
|
|
"default": "h264"
|
|
},
|
|
"preset": {
|
|
"$ref": "#/components/schemas/FFmpegPreset",
|
|
"description": "Encoding preset",
|
|
"default": "medium"
|
|
},
|
|
"crf": {
|
|
"type": "integer",
|
|
"maximum": 51.0,
|
|
"minimum": 0.0,
|
|
"title": "Crf",
|
|
"description": "Constant rate factor",
|
|
"default": 23
|
|
},
|
|
"resolution": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string",
|
|
"pattern": "^\\d+x\\d+$"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Resolution",
|
|
"description": "Output resolution (e.g., 1920x1080)"
|
|
},
|
|
"bitrate": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string",
|
|
"pattern": "^\\d+[kM]?$"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Bitrate",
|
|
"description": "Target bitrate"
|
|
},
|
|
"fps": {
|
|
"anyOf": [
|
|
{
|
|
"type": "integer",
|
|
"maximum": 120.0,
|
|
"minimum": 1.0
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Fps",
|
|
"description": "Output frame rate"
|
|
},
|
|
"audio_codec": {
|
|
"type": "string",
|
|
"title": "Audio Codec",
|
|
"description": "Audio codec",
|
|
"default": "aac"
|
|
},
|
|
"audio_bitrate": {
|
|
"type": "string",
|
|
"title": "Audio Bitrate",
|
|
"description": "Audio bitrate",
|
|
"default": "128k"
|
|
},
|
|
"custom_args": {
|
|
"anyOf": [
|
|
{
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Custom Args",
|
|
"description": "Custom FFmpeg arguments"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"input_url"
|
|
],
|
|
"title": "FFmpegRequest",
|
|
"description": "FFmpeg video processing request"
|
|
},
|
|
"GPUBookRequest": {
|
|
"properties": {
|
|
"duration_hours": {
|
|
"type": "number",
|
|
"title": "Duration Hours"
|
|
},
|
|
"job_id": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Job Id"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"duration_hours"
|
|
],
|
|
"title": "GPUBookRequest"
|
|
},
|
|
"GPUBuyRequest": {
|
|
"properties": {
|
|
"buyer_id": {
|
|
"type": "string",
|
|
"title": "Buyer Id"
|
|
},
|
|
"gpu_id": {
|
|
"type": "string",
|
|
"title": "Gpu Id"
|
|
},
|
|
"duration_hours": {
|
|
"type": "number",
|
|
"title": "Duration Hours"
|
|
},
|
|
"payment_method": {
|
|
"type": "string",
|
|
"title": "Payment Method",
|
|
"default": "blockchain"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"buyer_id",
|
|
"gpu_id",
|
|
"duration_hours"
|
|
],
|
|
"title": "GPUBuyRequest"
|
|
},
|
|
"GPUConfirmRequest": {
|
|
"properties": {
|
|
"client_id": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Client Id"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"title": "GPUConfirmRequest"
|
|
},
|
|
"GPUMetrics": {
|
|
"properties": {
|
|
"gpu_id": {
|
|
"type": "string",
|
|
"title": "Gpu Id"
|
|
},
|
|
"timestamp": {
|
|
"type": "string",
|
|
"title": "Timestamp"
|
|
},
|
|
"utilization": {
|
|
"type": "number",
|
|
"title": "Utilization"
|
|
},
|
|
"memory_used": {
|
|
"type": "number",
|
|
"title": "Memory Used"
|
|
},
|
|
"temperature": {
|
|
"type": "number",
|
|
"title": "Temperature"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"gpu_id",
|
|
"timestamp",
|
|
"utilization",
|
|
"memory_used",
|
|
"temperature"
|
|
],
|
|
"title": "GPUMetrics",
|
|
"description": "GPU metrics model"
|
|
},
|
|
"GPUReviewRequest": {
|
|
"properties": {
|
|
"rating": {
|
|
"type": "integer",
|
|
"maximum": 5.0,
|
|
"minimum": 1.0,
|
|
"title": "Rating"
|
|
},
|
|
"comment": {
|
|
"type": "string",
|
|
"title": "Comment"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"rating",
|
|
"comment"
|
|
],
|
|
"title": "GPUReviewRequest"
|
|
},
|
|
"GPUSellRequest": {
|
|
"properties": {
|
|
"seller_id": {
|
|
"type": "string",
|
|
"title": "Seller Id"
|
|
},
|
|
"gpu_id": {
|
|
"type": "string",
|
|
"title": "Gpu Id"
|
|
},
|
|
"listing_price": {
|
|
"type": "number",
|
|
"title": "Listing Price"
|
|
},
|
|
"description": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Description",
|
|
"default": ""
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"seller_id",
|
|
"gpu_id",
|
|
"listing_price"
|
|
],
|
|
"title": "GPUSellRequest"
|
|
},
|
|
"HTTPValidationError": {
|
|
"properties": {
|
|
"detail": {
|
|
"items": {
|
|
"$ref": "#/components/schemas/ValidationError"
|
|
},
|
|
"type": "array",
|
|
"title": "Detail"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"title": "HTTPValidationError"
|
|
},
|
|
"HybridExecutionRequest": {
|
|
"properties": {
|
|
"execution_request": {
|
|
"additionalProperties": true,
|
|
"type": "object",
|
|
"title": "Execution Request",
|
|
"description": "Execution request data"
|
|
},
|
|
"optimization_strategy": {
|
|
"type": "string",
|
|
"title": "Optimization Strategy",
|
|
"description": "Optimization strategy",
|
|
"default": "performance"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"execution_request"
|
|
],
|
|
"title": "HybridExecutionRequest",
|
|
"description": "Request for hybrid execution optimization"
|
|
},
|
|
"IdentityStatus": {
|
|
"type": "string",
|
|
"enum": [
|
|
"active",
|
|
"inactive",
|
|
"suspended",
|
|
"revoked"
|
|
],
|
|
"title": "IdentityStatus",
|
|
"description": "Agent identity status enumeration"
|
|
},
|
|
"JobOffloadingRequest": {
|
|
"properties": {
|
|
"job_data": {
|
|
"additionalProperties": true,
|
|
"type": "object",
|
|
"title": "Job Data",
|
|
"description": "Job data and requirements"
|
|
},
|
|
"cost_optimization": {
|
|
"type": "boolean",
|
|
"title": "Cost Optimization",
|
|
"description": "Enable cost optimization",
|
|
"default": true
|
|
},
|
|
"performance_analysis": {
|
|
"type": "boolean",
|
|
"title": "Performance Analysis",
|
|
"description": "Enable performance analysis",
|
|
"default": true
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"job_data"
|
|
],
|
|
"title": "JobOffloadingRequest",
|
|
"description": "Request for intelligent job offloading"
|
|
},
|
|
"JobPaymentCreate": {
|
|
"properties": {
|
|
"job_id": {
|
|
"type": "string",
|
|
"maxLength": 128,
|
|
"minLength": 1,
|
|
"title": "Job Id",
|
|
"description": "Job identifier"
|
|
},
|
|
"amount": {
|
|
"type": "number",
|
|
"maximum": 1000000.0,
|
|
"exclusiveMinimum": 0.0,
|
|
"title": "Amount",
|
|
"description": "Payment amount in AITBC"
|
|
},
|
|
"currency": {
|
|
"type": "string",
|
|
"title": "Currency",
|
|
"description": "Payment currency",
|
|
"default": "AITBC"
|
|
},
|
|
"payment_method": {
|
|
"type": "string",
|
|
"title": "Payment Method",
|
|
"description": "Payment method",
|
|
"default": "aitbc_token"
|
|
},
|
|
"escrow_timeout_seconds": {
|
|
"type": "integer",
|
|
"maximum": 86400.0,
|
|
"minimum": 300.0,
|
|
"title": "Escrow Timeout Seconds",
|
|
"description": "Escrow timeout in seconds",
|
|
"default": 3600
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"job_id",
|
|
"amount"
|
|
],
|
|
"title": "JobPaymentCreate",
|
|
"description": "Request to create a payment for a job"
|
|
},
|
|
"JobPaymentView": {
|
|
"properties": {
|
|
"job_id": {
|
|
"type": "string",
|
|
"title": "Job Id"
|
|
},
|
|
"payment_id": {
|
|
"type": "string",
|
|
"title": "Payment Id"
|
|
},
|
|
"amount": {
|
|
"type": "number",
|
|
"title": "Amount"
|
|
},
|
|
"currency": {
|
|
"type": "string",
|
|
"title": "Currency"
|
|
},
|
|
"status": {
|
|
"type": "string",
|
|
"title": "Status"
|
|
},
|
|
"payment_method": {
|
|
"type": "string",
|
|
"title": "Payment Method"
|
|
},
|
|
"escrow_address": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Escrow Address"
|
|
},
|
|
"refund_address": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Refund Address"
|
|
},
|
|
"created_at": {
|
|
"type": "string",
|
|
"format": "date-time",
|
|
"title": "Created At"
|
|
},
|
|
"updated_at": {
|
|
"type": "string",
|
|
"format": "date-time",
|
|
"title": "Updated At"
|
|
},
|
|
"released_at": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Released At"
|
|
},
|
|
"refunded_at": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Refunded At"
|
|
},
|
|
"transaction_hash": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Transaction Hash"
|
|
},
|
|
"refund_transaction_hash": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Refund Transaction Hash"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"job_id",
|
|
"payment_id",
|
|
"amount",
|
|
"currency",
|
|
"status",
|
|
"payment_method",
|
|
"created_at",
|
|
"updated_at"
|
|
],
|
|
"title": "JobPaymentView",
|
|
"description": "Payment information for a job"
|
|
},
|
|
"JobResult": {
|
|
"properties": {
|
|
"result": {
|
|
"anyOf": [
|
|
{
|
|
"additionalProperties": true,
|
|
"type": "object"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Result"
|
|
},
|
|
"receipt": {
|
|
"anyOf": [
|
|
{
|
|
"additionalProperties": true,
|
|
"type": "object"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Receipt"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"title": "JobResult"
|
|
},
|
|
"JobState": {
|
|
"type": "string",
|
|
"enum": [
|
|
"QUEUED",
|
|
"RUNNING",
|
|
"COMPLETED",
|
|
"FAILED",
|
|
"CANCELED",
|
|
"EXPIRED"
|
|
],
|
|
"title": "JobState"
|
|
},
|
|
"JobView": {
|
|
"properties": {
|
|
"job_id": {
|
|
"type": "string",
|
|
"title": "Job Id"
|
|
},
|
|
"state": {
|
|
"$ref": "#/components/schemas/JobState"
|
|
},
|
|
"assigned_miner_id": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Assigned Miner Id"
|
|
},
|
|
"requested_at": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Requested At"
|
|
},
|
|
"expires_at": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Expires At"
|
|
},
|
|
"error": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Error"
|
|
},
|
|
"payment_id": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Payment Id"
|
|
},
|
|
"payment_status": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Payment Status"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"job_id",
|
|
"state"
|
|
],
|
|
"title": "JobView"
|
|
},
|
|
"JoinRequest": {
|
|
"properties": {
|
|
"role": {
|
|
"type": "string",
|
|
"title": "Role"
|
|
},
|
|
"capability": {
|
|
"type": "string",
|
|
"title": "Capability"
|
|
},
|
|
"priority": {
|
|
"type": "string",
|
|
"title": "Priority"
|
|
},
|
|
"region": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Region"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"role",
|
|
"capability",
|
|
"priority"
|
|
],
|
|
"title": "JoinRequest",
|
|
"description": "Swarm join request model."
|
|
},
|
|
"LLMModel": {
|
|
"type": "string",
|
|
"enum": [
|
|
"llama-7b",
|
|
"llama-13b",
|
|
"llama-70b",
|
|
"mistral-7b",
|
|
"mixtral-8x7b",
|
|
"codellama-7b",
|
|
"codellama-13b",
|
|
"codellama-34b"
|
|
],
|
|
"title": "LLMModel",
|
|
"description": "Supported LLM models"
|
|
},
|
|
"LLMRequest": {
|
|
"properties": {
|
|
"model": {
|
|
"$ref": "#/components/schemas/LLMModel",
|
|
"description": "Model to use"
|
|
},
|
|
"prompt": {
|
|
"type": "string",
|
|
"maxLength": 10000,
|
|
"minLength": 1,
|
|
"title": "Prompt",
|
|
"description": "Input prompt"
|
|
},
|
|
"max_tokens": {
|
|
"type": "integer",
|
|
"maximum": 4096.0,
|
|
"minimum": 1.0,
|
|
"title": "Max Tokens",
|
|
"description": "Maximum tokens to generate",
|
|
"default": 256
|
|
},
|
|
"temperature": {
|
|
"type": "number",
|
|
"maximum": 2.0,
|
|
"minimum": 0.0,
|
|
"title": "Temperature",
|
|
"description": "Sampling temperature",
|
|
"default": 0.7
|
|
},
|
|
"top_p": {
|
|
"type": "number",
|
|
"maximum": 1.0,
|
|
"minimum": 0.0,
|
|
"title": "Top P",
|
|
"description": "Top-p sampling",
|
|
"default": 0.9
|
|
},
|
|
"top_k": {
|
|
"type": "integer",
|
|
"maximum": 100.0,
|
|
"minimum": 0.0,
|
|
"title": "Top K",
|
|
"description": "Top-k sampling",
|
|
"default": 40
|
|
},
|
|
"repetition_penalty": {
|
|
"type": "number",
|
|
"maximum": 2.0,
|
|
"minimum": 0.0,
|
|
"title": "Repetition Penalty",
|
|
"description": "Repetition penalty",
|
|
"default": 1.1
|
|
},
|
|
"stop_sequences": {
|
|
"anyOf": [
|
|
{
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Stop Sequences",
|
|
"description": "Stop sequences"
|
|
},
|
|
"stream": {
|
|
"type": "boolean",
|
|
"title": "Stream",
|
|
"description": "Stream response",
|
|
"default": false
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"model",
|
|
"prompt"
|
|
],
|
|
"title": "LLMRequest",
|
|
"description": "LLM inference request"
|
|
},
|
|
"LicenseType": {
|
|
"type": "string",
|
|
"enum": [
|
|
"commercial",
|
|
"research",
|
|
"educational",
|
|
"custom"
|
|
],
|
|
"title": "LicenseType",
|
|
"description": "Model license types"
|
|
},
|
|
"MarketStatsResponse": {
|
|
"properties": {
|
|
"price": {
|
|
"type": "number",
|
|
"title": "Price"
|
|
},
|
|
"price_change_24h": {
|
|
"type": "number",
|
|
"title": "Price Change 24H"
|
|
},
|
|
"daily_volume": {
|
|
"type": "number",
|
|
"title": "Daily Volume"
|
|
},
|
|
"daily_volume_btc": {
|
|
"type": "number",
|
|
"title": "Daily Volume Btc"
|
|
},
|
|
"total_payments": {
|
|
"type": "integer",
|
|
"title": "Total Payments"
|
|
},
|
|
"pending_payments": {
|
|
"type": "integer",
|
|
"title": "Pending Payments"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"price",
|
|
"price_change_24h",
|
|
"daily_volume",
|
|
"daily_volume_btc",
|
|
"total_payments",
|
|
"pending_payments"
|
|
],
|
|
"title": "MarketStatsResponse"
|
|
},
|
|
"MarketplaceAnalyticsRequest": {
|
|
"properties": {
|
|
"period_days": {
|
|
"type": "integer",
|
|
"title": "Period Days",
|
|
"description": "Period in days for analytics",
|
|
"default": 30
|
|
},
|
|
"metrics": {
|
|
"anyOf": [
|
|
{
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Metrics",
|
|
"description": "Specific metrics to retrieve"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"title": "MarketplaceAnalyticsRequest",
|
|
"description": "Request for marketplace analytics"
|
|
},
|
|
"MarketplaceBidRequest": {
|
|
"properties": {
|
|
"provider": {
|
|
"type": "string",
|
|
"minLength": 1,
|
|
"title": "Provider"
|
|
},
|
|
"capacity": {
|
|
"type": "integer",
|
|
"exclusiveMinimum": 0.0,
|
|
"title": "Capacity"
|
|
},
|
|
"price": {
|
|
"type": "number",
|
|
"exclusiveMinimum": 0.0,
|
|
"title": "Price"
|
|
},
|
|
"notes": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string",
|
|
"maxLength": 1024
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Notes"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"provider",
|
|
"capacity",
|
|
"price"
|
|
],
|
|
"title": "MarketplaceBidRequest"
|
|
},
|
|
"MarketplaceBidView": {
|
|
"properties": {
|
|
"id": {
|
|
"type": "string",
|
|
"title": "Id"
|
|
},
|
|
"provider": {
|
|
"type": "string",
|
|
"title": "Provider"
|
|
},
|
|
"capacity": {
|
|
"type": "integer",
|
|
"title": "Capacity"
|
|
},
|
|
"price": {
|
|
"type": "number",
|
|
"title": "Price"
|
|
},
|
|
"notes": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Notes"
|
|
},
|
|
"status": {
|
|
"type": "string",
|
|
"title": "Status"
|
|
},
|
|
"submitted_at": {
|
|
"type": "string",
|
|
"format": "date-time",
|
|
"title": "Submitted At"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"id",
|
|
"provider",
|
|
"capacity",
|
|
"price",
|
|
"status",
|
|
"submitted_at"
|
|
],
|
|
"title": "MarketplaceBidView"
|
|
},
|
|
"MarketplaceOfferView": {
|
|
"properties": {
|
|
"id": {
|
|
"type": "string",
|
|
"title": "Id"
|
|
},
|
|
"provider": {
|
|
"type": "string",
|
|
"title": "Provider"
|
|
},
|
|
"capacity": {
|
|
"type": "integer",
|
|
"title": "Capacity"
|
|
},
|
|
"price": {
|
|
"type": "number",
|
|
"title": "Price"
|
|
},
|
|
"sla": {
|
|
"type": "string",
|
|
"title": "Sla"
|
|
},
|
|
"status": {
|
|
"type": "string",
|
|
"title": "Status"
|
|
},
|
|
"created_at": {
|
|
"type": "string",
|
|
"format": "date-time",
|
|
"title": "Created At"
|
|
},
|
|
"gpu_model": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Gpu Model"
|
|
},
|
|
"gpu_memory_gb": {
|
|
"anyOf": [
|
|
{
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Gpu Memory Gb"
|
|
},
|
|
"gpu_count": {
|
|
"anyOf": [
|
|
{
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Gpu Count",
|
|
"default": 1
|
|
},
|
|
"cuda_version": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Cuda Version"
|
|
},
|
|
"price_per_hour": {
|
|
"anyOf": [
|
|
{
|
|
"type": "number"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Price Per Hour"
|
|
},
|
|
"region": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Region"
|
|
},
|
|
"attributes": {
|
|
"anyOf": [
|
|
{
|
|
"additionalProperties": true,
|
|
"type": "object"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Attributes"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"id",
|
|
"provider",
|
|
"capacity",
|
|
"price",
|
|
"sla",
|
|
"status",
|
|
"created_at"
|
|
],
|
|
"title": "MarketplaceOfferView"
|
|
},
|
|
"MarketplaceStatsView": {
|
|
"properties": {
|
|
"totalOffers": {
|
|
"type": "integer",
|
|
"title": "Totaloffers"
|
|
},
|
|
"openCapacity": {
|
|
"type": "integer",
|
|
"title": "Opencapacity"
|
|
},
|
|
"averagePrice": {
|
|
"type": "number",
|
|
"title": "Averageprice"
|
|
},
|
|
"activeBids": {
|
|
"type": "integer",
|
|
"title": "Activebids"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"totalOffers",
|
|
"openCapacity",
|
|
"averagePrice",
|
|
"activeBids"
|
|
],
|
|
"title": "MarketplaceStatsView"
|
|
},
|
|
"ModelLicenseRequest": {
|
|
"properties": {
|
|
"license_type": {
|
|
"$ref": "#/components/schemas/LicenseType",
|
|
"description": "Type of license"
|
|
},
|
|
"terms": {
|
|
"additionalProperties": true,
|
|
"type": "object",
|
|
"title": "Terms",
|
|
"description": "License terms and conditions"
|
|
},
|
|
"usage_rights": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array",
|
|
"title": "Usage Rights",
|
|
"description": "List of usage rights"
|
|
},
|
|
"custom_terms": {
|
|
"anyOf": [
|
|
{
|
|
"additionalProperties": true,
|
|
"type": "object"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Custom Terms",
|
|
"description": "Custom license terms"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"license_type",
|
|
"terms",
|
|
"usage_rights"
|
|
],
|
|
"title": "ModelLicenseRequest",
|
|
"description": "Request for creating model license"
|
|
},
|
|
"ModelVerificationRequest": {
|
|
"properties": {
|
|
"verification_type": {
|
|
"$ref": "#/components/schemas/app__services__marketplace_enhanced_simple__VerificationType",
|
|
"description": "Type of verification",
|
|
"default": "comprehensive"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"title": "ModelVerificationRequest",
|
|
"description": "Request for model verification"
|
|
},
|
|
"OllamaTaskRequest": {
|
|
"properties": {
|
|
"gpu_id": {
|
|
"type": "string",
|
|
"title": "Gpu Id"
|
|
},
|
|
"model": {
|
|
"type": "string",
|
|
"title": "Model",
|
|
"default": "llama2"
|
|
},
|
|
"prompt": {
|
|
"type": "string",
|
|
"title": "Prompt"
|
|
},
|
|
"parameters": {
|
|
"additionalProperties": true,
|
|
"type": "object",
|
|
"title": "Parameters",
|
|
"default": {}
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"gpu_id",
|
|
"prompt"
|
|
],
|
|
"title": "OllamaTaskRequest"
|
|
},
|
|
"PaymentReceipt": {
|
|
"properties": {
|
|
"payment_id": {
|
|
"type": "string",
|
|
"title": "Payment Id"
|
|
},
|
|
"job_id": {
|
|
"type": "string",
|
|
"title": "Job Id"
|
|
},
|
|
"amount": {
|
|
"type": "number",
|
|
"title": "Amount"
|
|
},
|
|
"currency": {
|
|
"type": "string",
|
|
"title": "Currency"
|
|
},
|
|
"status": {
|
|
"type": "string",
|
|
"title": "Status"
|
|
},
|
|
"transaction_hash": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Transaction Hash"
|
|
},
|
|
"created_at": {
|
|
"type": "string",
|
|
"format": "date-time",
|
|
"title": "Created At"
|
|
},
|
|
"verified_at": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Verified At"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"payment_id",
|
|
"job_id",
|
|
"amount",
|
|
"currency",
|
|
"status",
|
|
"created_at"
|
|
],
|
|
"title": "PaymentReceipt",
|
|
"description": "Receipt for a payment"
|
|
},
|
|
"PaymentRequest": {
|
|
"properties": {
|
|
"from_wallet": {
|
|
"type": "string",
|
|
"title": "From Wallet"
|
|
},
|
|
"to_wallet": {
|
|
"type": "string",
|
|
"title": "To Wallet"
|
|
},
|
|
"amount": {
|
|
"type": "number",
|
|
"title": "Amount"
|
|
},
|
|
"booking_id": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Booking Id"
|
|
},
|
|
"task_id": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Task Id"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"from_wallet",
|
|
"to_wallet",
|
|
"amount"
|
|
],
|
|
"title": "PaymentRequest"
|
|
},
|
|
"PaymentStatusResponse": {
|
|
"properties": {
|
|
"payment_id": {
|
|
"type": "string",
|
|
"title": "Payment Id"
|
|
},
|
|
"user_id": {
|
|
"type": "string",
|
|
"title": "User Id"
|
|
},
|
|
"aitbc_amount": {
|
|
"type": "number",
|
|
"title": "Aitbc Amount"
|
|
},
|
|
"btc_amount": {
|
|
"type": "number",
|
|
"title": "Btc Amount"
|
|
},
|
|
"payment_address": {
|
|
"type": "string",
|
|
"title": "Payment Address"
|
|
},
|
|
"status": {
|
|
"type": "string",
|
|
"title": "Status"
|
|
},
|
|
"created_at": {
|
|
"type": "integer",
|
|
"title": "Created At"
|
|
},
|
|
"expires_at": {
|
|
"type": "integer",
|
|
"title": "Expires At"
|
|
},
|
|
"confirmations": {
|
|
"type": "integer",
|
|
"title": "Confirmations",
|
|
"default": 0
|
|
},
|
|
"tx_hash": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Tx Hash"
|
|
},
|
|
"confirmed_at": {
|
|
"anyOf": [
|
|
{
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Confirmed At"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"payment_id",
|
|
"user_id",
|
|
"aitbc_amount",
|
|
"btc_amount",
|
|
"payment_address",
|
|
"status",
|
|
"created_at",
|
|
"expires_at"
|
|
],
|
|
"title": "PaymentStatusResponse"
|
|
},
|
|
"ReceiptListResponse": {
|
|
"properties": {
|
|
"jobId": {
|
|
"type": "string",
|
|
"title": "Jobid"
|
|
},
|
|
"items": {
|
|
"items": {
|
|
"$ref": "#/components/schemas/ReceiptSummary"
|
|
},
|
|
"type": "array",
|
|
"title": "Items"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"jobId",
|
|
"items"
|
|
],
|
|
"title": "ReceiptListResponse"
|
|
},
|
|
"ReceiptSummary": {
|
|
"properties": {
|
|
"receiptId": {
|
|
"type": "string",
|
|
"title": "Receiptid"
|
|
},
|
|
"jobId": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Jobid"
|
|
},
|
|
"miner": {
|
|
"type": "string",
|
|
"title": "Miner"
|
|
},
|
|
"coordinator": {
|
|
"type": "string",
|
|
"title": "Coordinator"
|
|
},
|
|
"issuedAt": {
|
|
"type": "string",
|
|
"format": "date-time",
|
|
"title": "Issuedat"
|
|
},
|
|
"status": {
|
|
"type": "string",
|
|
"title": "Status"
|
|
},
|
|
"payload": {
|
|
"anyOf": [
|
|
{
|
|
"additionalProperties": true,
|
|
"type": "object"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Payload"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"receiptId",
|
|
"miner",
|
|
"coordinator",
|
|
"issuedAt",
|
|
"status"
|
|
],
|
|
"title": "ReceiptSummary"
|
|
},
|
|
"RefundRequest": {
|
|
"properties": {
|
|
"job_id": {
|
|
"type": "string",
|
|
"title": "Job Id"
|
|
},
|
|
"payment_id": {
|
|
"type": "string",
|
|
"title": "Payment Id"
|
|
},
|
|
"reason": {
|
|
"type": "string",
|
|
"title": "Reason"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"job_id",
|
|
"payment_id",
|
|
"reason"
|
|
],
|
|
"title": "RefundRequest",
|
|
"description": "Request to refund a payment"
|
|
},
|
|
"RoutingStrategy": {
|
|
"type": "string",
|
|
"enum": [
|
|
"fastest",
|
|
"cheapest",
|
|
"balanced",
|
|
"reliable",
|
|
"priority"
|
|
],
|
|
"title": "RoutingStrategy",
|
|
"description": "Transaction routing strategies"
|
|
},
|
|
"RoyaltyDistributionRequest": {
|
|
"properties": {
|
|
"tiers": {
|
|
"additionalProperties": {
|
|
"type": "number"
|
|
},
|
|
"type": "object",
|
|
"title": "Tiers",
|
|
"description": "Royalty tiers and percentages"
|
|
},
|
|
"dynamic_rates": {
|
|
"type": "boolean",
|
|
"title": "Dynamic Rates",
|
|
"description": "Enable dynamic royalty rates",
|
|
"default": false
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"tiers"
|
|
],
|
|
"title": "RoyaltyDistributionRequest",
|
|
"description": "Request for creating royalty distribution"
|
|
},
|
|
"SDModel": {
|
|
"type": "string",
|
|
"enum": [
|
|
"stable-diffusion-1.5",
|
|
"stable-diffusion-2.1",
|
|
"stable-diffusion-xl",
|
|
"sdxl-turbo",
|
|
"sdxl-refiner"
|
|
],
|
|
"title": "SDModel",
|
|
"description": "Supported Stable Diffusion models"
|
|
},
|
|
"SDSize": {
|
|
"type": "string",
|
|
"enum": [
|
|
"512x512",
|
|
"512x768",
|
|
"768x512",
|
|
"768x768",
|
|
"768x1024",
|
|
"1024x768",
|
|
"1024x1024",
|
|
"1024x1536",
|
|
"1536x1024"
|
|
],
|
|
"title": "SDSize",
|
|
"description": "Standard image sizes"
|
|
},
|
|
"SecurityLevel": {
|
|
"type": "string",
|
|
"enum": [
|
|
"low",
|
|
"medium",
|
|
"high",
|
|
"maximum"
|
|
],
|
|
"title": "SecurityLevel",
|
|
"description": "Security level for wallet operations"
|
|
},
|
|
"ServiceResponse": {
|
|
"properties": {
|
|
"job_id": {
|
|
"type": "string",
|
|
"title": "Job Id",
|
|
"description": "Job ID"
|
|
},
|
|
"service_type": {
|
|
"$ref": "#/components/schemas/ServiceType",
|
|
"description": "Service type"
|
|
},
|
|
"status": {
|
|
"type": "string",
|
|
"title": "Status",
|
|
"description": "Job status"
|
|
},
|
|
"estimated_completion": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Estimated Completion",
|
|
"description": "Estimated completion time"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"job_id",
|
|
"service_type",
|
|
"status"
|
|
],
|
|
"title": "ServiceResponse",
|
|
"description": "Base service response"
|
|
},
|
|
"ServiceType": {
|
|
"type": "string",
|
|
"enum": [
|
|
"whisper",
|
|
"stable_diffusion",
|
|
"llm_inference",
|
|
"ffmpeg",
|
|
"blender"
|
|
],
|
|
"title": "ServiceType",
|
|
"description": "Supported service types"
|
|
},
|
|
"SkillRoutingRequest": {
|
|
"properties": {
|
|
"skill_type": {
|
|
"$ref": "#/components/schemas/SkillType",
|
|
"description": "Type of skill required"
|
|
},
|
|
"requirements": {
|
|
"additionalProperties": true,
|
|
"type": "object",
|
|
"title": "Requirements",
|
|
"description": "Skill requirements"
|
|
},
|
|
"performance_optimization": {
|
|
"type": "boolean",
|
|
"title": "Performance Optimization",
|
|
"description": "Enable performance optimization",
|
|
"default": true
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"skill_type",
|
|
"requirements"
|
|
],
|
|
"title": "SkillRoutingRequest",
|
|
"description": "Request for agent skill routing"
|
|
},
|
|
"SkillType": {
|
|
"type": "string",
|
|
"enum": [
|
|
"inference",
|
|
"training",
|
|
"data_processing",
|
|
"verification",
|
|
"custom"
|
|
],
|
|
"title": "SkillType",
|
|
"description": "Agent skill types"
|
|
},
|
|
"StableDiffusionRequest": {
|
|
"properties": {
|
|
"prompt": {
|
|
"type": "string",
|
|
"maxLength": 1000,
|
|
"minLength": 1,
|
|
"title": "Prompt",
|
|
"description": "Text prompt"
|
|
},
|
|
"negative_prompt": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string",
|
|
"maxLength": 1000
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Negative Prompt",
|
|
"description": "Negative prompt"
|
|
},
|
|
"model": {
|
|
"$ref": "#/components/schemas/SDModel",
|
|
"description": "Model to use",
|
|
"default": "stable-diffusion-1.5"
|
|
},
|
|
"size": {
|
|
"$ref": "#/components/schemas/SDSize",
|
|
"description": "Image size",
|
|
"default": "512x512"
|
|
},
|
|
"num_images": {
|
|
"type": "integer",
|
|
"maximum": 4.0,
|
|
"minimum": 1.0,
|
|
"title": "Num Images",
|
|
"description": "Number of images to generate",
|
|
"default": 1
|
|
},
|
|
"num_inference_steps": {
|
|
"type": "integer",
|
|
"maximum": 100.0,
|
|
"minimum": 1.0,
|
|
"title": "Num Inference Steps",
|
|
"description": "Number of inference steps",
|
|
"default": 20
|
|
},
|
|
"guidance_scale": {
|
|
"type": "number",
|
|
"maximum": 20.0,
|
|
"minimum": 1.0,
|
|
"title": "Guidance Scale",
|
|
"description": "Guidance scale",
|
|
"default": 7.5
|
|
},
|
|
"seed": {
|
|
"anyOf": [
|
|
{
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"items": {
|
|
"type": "integer"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Seed",
|
|
"description": "Random seed(s)"
|
|
},
|
|
"scheduler": {
|
|
"type": "string",
|
|
"title": "Scheduler",
|
|
"description": "Scheduler to use",
|
|
"default": "DPMSolverMultistepScheduler"
|
|
},
|
|
"enable_safety_checker": {
|
|
"type": "boolean",
|
|
"title": "Enable Safety Checker",
|
|
"description": "Enable safety checker",
|
|
"default": true
|
|
},
|
|
"lora": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Lora",
|
|
"description": "LoRA model to use"
|
|
},
|
|
"lora_scale": {
|
|
"type": "number",
|
|
"maximum": 2.0,
|
|
"minimum": 0.0,
|
|
"title": "Lora Scale",
|
|
"description": "LoRA strength",
|
|
"default": 1.0
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"prompt"
|
|
],
|
|
"title": "StableDiffusionRequest",
|
|
"description": "Stable Diffusion image generation request"
|
|
},
|
|
"SwarmInfo": {
|
|
"properties": {
|
|
"swarm_id": {
|
|
"type": "string",
|
|
"title": "Swarm Id"
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"title": "Name"
|
|
},
|
|
"status": {
|
|
"type": "string",
|
|
"title": "Status"
|
|
},
|
|
"agent_count": {
|
|
"type": "integer",
|
|
"title": "Agent Count"
|
|
},
|
|
"task_count": {
|
|
"type": "integer",
|
|
"title": "Task Count"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"swarm_id",
|
|
"name",
|
|
"status",
|
|
"agent_count",
|
|
"task_count"
|
|
],
|
|
"title": "SwarmInfo",
|
|
"description": "Swarm information model."
|
|
},
|
|
"TaskStatus": {
|
|
"properties": {
|
|
"task_id": {
|
|
"type": "string",
|
|
"title": "Task Id"
|
|
},
|
|
"status": {
|
|
"type": "string",
|
|
"title": "Status"
|
|
},
|
|
"progress": {
|
|
"type": "integer",
|
|
"title": "Progress"
|
|
},
|
|
"active_collaborators": {
|
|
"type": "integer",
|
|
"title": "Active Collaborators"
|
|
},
|
|
"total_collaborators": {
|
|
"type": "integer",
|
|
"title": "Total Collaborators"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"task_id",
|
|
"status",
|
|
"progress",
|
|
"active_collaborators",
|
|
"total_collaborators"
|
|
],
|
|
"title": "TaskStatus",
|
|
"description": "Swarm task status model."
|
|
},
|
|
"TransactionListResponse": {
|
|
"properties": {
|
|
"items": {
|
|
"items": {
|
|
"$ref": "#/components/schemas/TransactionSummary"
|
|
},
|
|
"type": "array",
|
|
"title": "Items"
|
|
},
|
|
"next_offset": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Next Offset"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"items"
|
|
],
|
|
"title": "TransactionListResponse"
|
|
},
|
|
"TransactionPriority": {
|
|
"type": "string",
|
|
"enum": [
|
|
"low",
|
|
"medium",
|
|
"high",
|
|
"urgent",
|
|
"critical"
|
|
],
|
|
"title": "TransactionPriority",
|
|
"description": "Transaction priority levels"
|
|
},
|
|
"TransactionStatus": {
|
|
"type": "string",
|
|
"enum": [
|
|
"pending",
|
|
"confirmed",
|
|
"completed",
|
|
"failed",
|
|
"cancelled",
|
|
"expired"
|
|
],
|
|
"title": "TransactionStatus",
|
|
"description": "Transaction status enumeration"
|
|
},
|
|
"TransactionSummary": {
|
|
"properties": {
|
|
"hash": {
|
|
"type": "string",
|
|
"title": "Hash"
|
|
},
|
|
"block": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "integer"
|
|
}
|
|
],
|
|
"title": "Block"
|
|
},
|
|
"from": {
|
|
"type": "string",
|
|
"title": "From"
|
|
},
|
|
"to": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "To"
|
|
},
|
|
"value": {
|
|
"type": "string",
|
|
"title": "Value"
|
|
},
|
|
"status": {
|
|
"type": "string",
|
|
"title": "Status"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"hash",
|
|
"block",
|
|
"from",
|
|
"value",
|
|
"status"
|
|
],
|
|
"title": "TransactionSummary"
|
|
},
|
|
"TransactionType": {
|
|
"type": "string",
|
|
"enum": [
|
|
"transfer",
|
|
"swap",
|
|
"bridge",
|
|
"deposit",
|
|
"withdrawal",
|
|
"contract_call",
|
|
"approval"
|
|
],
|
|
"title": "TransactionType",
|
|
"description": "Transaction types"
|
|
},
|
|
"UserBalance": {
|
|
"properties": {
|
|
"user_id": {
|
|
"type": "string",
|
|
"title": "User Id"
|
|
},
|
|
"address": {
|
|
"type": "string",
|
|
"title": "Address"
|
|
},
|
|
"balance": {
|
|
"type": "number",
|
|
"title": "Balance"
|
|
},
|
|
"updated_at": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Updated At"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"user_id",
|
|
"address",
|
|
"balance"
|
|
],
|
|
"title": "UserBalance"
|
|
},
|
|
"UserCreate": {
|
|
"properties": {
|
|
"email": {
|
|
"type": "string",
|
|
"title": "Email"
|
|
},
|
|
"username": {
|
|
"type": "string",
|
|
"title": "Username"
|
|
},
|
|
"password": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Password"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"email",
|
|
"username"
|
|
],
|
|
"title": "UserCreate"
|
|
},
|
|
"UserLogin": {
|
|
"properties": {
|
|
"wallet_address": {
|
|
"type": "string",
|
|
"title": "Wallet Address"
|
|
},
|
|
"signature": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Signature"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"wallet_address"
|
|
],
|
|
"title": "UserLogin"
|
|
},
|
|
"UserProfile": {
|
|
"properties": {
|
|
"user_id": {
|
|
"type": "string",
|
|
"title": "User Id"
|
|
},
|
|
"email": {
|
|
"type": "string",
|
|
"title": "Email"
|
|
},
|
|
"username": {
|
|
"type": "string",
|
|
"title": "Username"
|
|
},
|
|
"created_at": {
|
|
"type": "string",
|
|
"title": "Created At"
|
|
},
|
|
"session_token": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Session Token"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"user_id",
|
|
"email",
|
|
"username",
|
|
"created_at"
|
|
],
|
|
"title": "UserProfile"
|
|
},
|
|
"ValidationError": {
|
|
"properties": {
|
|
"loc": {
|
|
"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"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"loc",
|
|
"msg",
|
|
"type"
|
|
],
|
|
"title": "ValidationError"
|
|
},
|
|
"VerificationLevel": {
|
|
"type": "string",
|
|
"enum": [
|
|
"basic",
|
|
"full",
|
|
"zero-knowledge"
|
|
],
|
|
"title": "VerificationLevel",
|
|
"description": "Verification level for agent execution"
|
|
},
|
|
"VoteType": {
|
|
"type": "string",
|
|
"enum": [
|
|
"for",
|
|
"against",
|
|
"abstain"
|
|
],
|
|
"title": "VoteType"
|
|
},
|
|
"WalletBalanceResponse": {
|
|
"properties": {
|
|
"address": {
|
|
"type": "string",
|
|
"title": "Address"
|
|
},
|
|
"balance": {
|
|
"type": "number",
|
|
"title": "Balance"
|
|
},
|
|
"unconfirmed_balance": {
|
|
"type": "number",
|
|
"title": "Unconfirmed Balance"
|
|
},
|
|
"total_received": {
|
|
"type": "number",
|
|
"title": "Total Received"
|
|
},
|
|
"total_sent": {
|
|
"type": "number",
|
|
"title": "Total Sent"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"address",
|
|
"balance",
|
|
"unconfirmed_balance",
|
|
"total_received",
|
|
"total_sent"
|
|
],
|
|
"title": "WalletBalanceResponse"
|
|
},
|
|
"WalletInfoResponse": {
|
|
"properties": {
|
|
"address": {
|
|
"type": "string",
|
|
"title": "Address"
|
|
},
|
|
"balance": {
|
|
"type": "number",
|
|
"title": "Balance"
|
|
},
|
|
"unconfirmed_balance": {
|
|
"type": "number",
|
|
"title": "Unconfirmed Balance"
|
|
},
|
|
"total_received": {
|
|
"type": "number",
|
|
"title": "Total Received"
|
|
},
|
|
"total_sent": {
|
|
"type": "number",
|
|
"title": "Total Sent"
|
|
},
|
|
"transactions": {
|
|
"items": {},
|
|
"type": "array",
|
|
"title": "Transactions"
|
|
},
|
|
"network": {
|
|
"type": "string",
|
|
"title": "Network"
|
|
},
|
|
"block_height": {
|
|
"type": "integer",
|
|
"title": "Block Height"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"address",
|
|
"balance",
|
|
"unconfirmed_balance",
|
|
"total_received",
|
|
"total_sent",
|
|
"transactions",
|
|
"network",
|
|
"block_height"
|
|
],
|
|
"title": "WalletInfoResponse"
|
|
},
|
|
"WebVitalsEntry": {
|
|
"properties": {
|
|
"name": {
|
|
"type": "string",
|
|
"title": "Name"
|
|
},
|
|
"startTime": {
|
|
"anyOf": [
|
|
{
|
|
"type": "number"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Starttime"
|
|
},
|
|
"duration": {
|
|
"anyOf": [
|
|
{
|
|
"type": "number"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Duration"
|
|
},
|
|
"value": {
|
|
"anyOf": [
|
|
{
|
|
"type": "number"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Value"
|
|
},
|
|
"hadRecentInput": {
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Hadrecentinput"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"name"
|
|
],
|
|
"title": "WebVitalsEntry"
|
|
},
|
|
"WebVitalsMetric": {
|
|
"properties": {
|
|
"name": {
|
|
"type": "string",
|
|
"title": "Name"
|
|
},
|
|
"value": {
|
|
"type": "number",
|
|
"title": "Value"
|
|
},
|
|
"id": {
|
|
"type": "string",
|
|
"title": "Id"
|
|
},
|
|
"delta": {
|
|
"anyOf": [
|
|
{
|
|
"type": "number"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Delta"
|
|
},
|
|
"entries": {
|
|
"items": {
|
|
"$ref": "#/components/schemas/WebVitalsEntry"
|
|
},
|
|
"type": "array",
|
|
"title": "Entries",
|
|
"default": []
|
|
},
|
|
"url": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Url"
|
|
},
|
|
"timestamp": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Timestamp"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"name",
|
|
"value",
|
|
"id"
|
|
],
|
|
"title": "WebVitalsMetric"
|
|
},
|
|
"WhisperLanguage": {
|
|
"type": "string",
|
|
"enum": [
|
|
"auto",
|
|
"en",
|
|
"es",
|
|
"fr",
|
|
"de",
|
|
"it",
|
|
"pt",
|
|
"ru",
|
|
"ja",
|
|
"ko",
|
|
"zh"
|
|
],
|
|
"title": "WhisperLanguage",
|
|
"description": "Supported languages"
|
|
},
|
|
"WhisperModel": {
|
|
"type": "string",
|
|
"enum": [
|
|
"tiny",
|
|
"base",
|
|
"small",
|
|
"medium",
|
|
"large",
|
|
"large-v2",
|
|
"large-v3"
|
|
],
|
|
"title": "WhisperModel",
|
|
"description": "Supported Whisper models"
|
|
},
|
|
"WhisperRequest": {
|
|
"properties": {
|
|
"audio_url": {
|
|
"type": "string",
|
|
"title": "Audio Url",
|
|
"description": "URL of audio file to transcribe"
|
|
},
|
|
"model": {
|
|
"$ref": "#/components/schemas/WhisperModel",
|
|
"description": "Whisper model to use",
|
|
"default": "base"
|
|
},
|
|
"language": {
|
|
"$ref": "#/components/schemas/WhisperLanguage",
|
|
"description": "Source language",
|
|
"default": "auto"
|
|
},
|
|
"task": {
|
|
"$ref": "#/components/schemas/WhisperTask",
|
|
"description": "Task to perform",
|
|
"default": "transcribe"
|
|
},
|
|
"temperature": {
|
|
"type": "number",
|
|
"maximum": 1.0,
|
|
"minimum": 0.0,
|
|
"title": "Temperature",
|
|
"description": "Sampling temperature",
|
|
"default": 0.0
|
|
},
|
|
"best_of": {
|
|
"type": "integer",
|
|
"maximum": 10.0,
|
|
"minimum": 1.0,
|
|
"title": "Best Of",
|
|
"description": "Number of candidates",
|
|
"default": 5
|
|
},
|
|
"beam_size": {
|
|
"type": "integer",
|
|
"maximum": 10.0,
|
|
"minimum": 1.0,
|
|
"title": "Beam Size",
|
|
"description": "Beam size for decoding",
|
|
"default": 5
|
|
},
|
|
"patience": {
|
|
"type": "number",
|
|
"maximum": 2.0,
|
|
"minimum": 0.0,
|
|
"title": "Patience",
|
|
"description": "Beam search patience",
|
|
"default": 1.0
|
|
},
|
|
"suppress_tokens": {
|
|
"anyOf": [
|
|
{
|
|
"items": {
|
|
"type": "integer"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Suppress Tokens",
|
|
"description": "Tokens to suppress"
|
|
},
|
|
"initial_prompt": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Initial Prompt",
|
|
"description": "Initial prompt for context"
|
|
},
|
|
"condition_on_previous_text": {
|
|
"type": "boolean",
|
|
"title": "Condition On Previous Text",
|
|
"description": "Condition on previous text",
|
|
"default": true
|
|
},
|
|
"fp16": {
|
|
"type": "boolean",
|
|
"title": "Fp16",
|
|
"description": "Use FP16 for faster inference",
|
|
"default": true
|
|
},
|
|
"verbose": {
|
|
"type": "boolean",
|
|
"title": "Verbose",
|
|
"description": "Include verbose output",
|
|
"default": false
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"audio_url"
|
|
],
|
|
"title": "WhisperRequest",
|
|
"description": "Whisper transcription request"
|
|
},
|
|
"WhisperTask": {
|
|
"type": "string",
|
|
"enum": [
|
|
"transcribe",
|
|
"translate"
|
|
],
|
|
"title": "WhisperTask",
|
|
"description": "Whisper task types"
|
|
},
|
|
"app__domain__agent_identity__VerificationType": {
|
|
"type": "string",
|
|
"enum": [
|
|
"basic",
|
|
"advanced",
|
|
"zero-knowledge",
|
|
"multi-signature"
|
|
],
|
|
"title": "VerificationType",
|
|
"description": "Identity verification type enumeration"
|
|
},
|
|
"app__routers__multi_modal_rl__JobCreate": {
|
|
"properties": {
|
|
"task_type": {
|
|
"type": "string",
|
|
"title": "Task Type"
|
|
},
|
|
"task_data": {
|
|
"additionalProperties": true,
|
|
"type": "object",
|
|
"title": "Task Data",
|
|
"default": {}
|
|
},
|
|
"payment_amount": {
|
|
"type": "number",
|
|
"title": "Payment Amount",
|
|
"default": 0.0
|
|
},
|
|
"payment_currency": {
|
|
"type": "string",
|
|
"title": "Payment Currency",
|
|
"default": "aitbc_token"
|
|
},
|
|
"priority": {
|
|
"type": "integer",
|
|
"title": "Priority",
|
|
"default": 0
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"task_type"
|
|
],
|
|
"title": "JobCreate",
|
|
"description": "Job creation model"
|
|
},
|
|
"app__schemas__JobCreate": {
|
|
"properties": {
|
|
"payload": {
|
|
"additionalProperties": true,
|
|
"type": "object",
|
|
"title": "Payload"
|
|
},
|
|
"constraints": {
|
|
"$ref": "#/components/schemas/Constraints"
|
|
},
|
|
"ttl_seconds": {
|
|
"type": "integer",
|
|
"title": "Ttl Seconds",
|
|
"default": 900
|
|
},
|
|
"payment_amount": {
|
|
"anyOf": [
|
|
{
|
|
"type": "number"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Payment Amount"
|
|
},
|
|
"payment_currency": {
|
|
"type": "string",
|
|
"title": "Payment Currency",
|
|
"default": "AITBC"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"payload"
|
|
],
|
|
"title": "JobCreate"
|
|
},
|
|
"app__services__marketplace_enhanced_simple__VerificationType": {
|
|
"type": "string",
|
|
"enum": [
|
|
"comprehensive",
|
|
"performance",
|
|
"security"
|
|
],
|
|
"title": "VerificationType",
|
|
"description": "Model verification types"
|
|
}
|
|
}
|
|
},
|
|
"tags": [
|
|
{
|
|
"name": "health",
|
|
"description": "Health check endpoints"
|
|
},
|
|
{
|
|
"name": "client",
|
|
"description": "Client operations"
|
|
},
|
|
{
|
|
"name": "miner",
|
|
"description": "Miner operations"
|
|
},
|
|
{
|
|
"name": "admin",
|
|
"description": "Admin operations"
|
|
},
|
|
{
|
|
"name": "marketplace",
|
|
"description": "GPU Marketplace"
|
|
},
|
|
{
|
|
"name": "exchange",
|
|
"description": "Exchange operations"
|
|
},
|
|
{
|
|
"name": "governance",
|
|
"description": "Governance operations"
|
|
},
|
|
{
|
|
"name": "zk",
|
|
"description": "Zero-Knowledge proofs"
|
|
}
|
|
],
|
|
"servers": [
|
|
{
|
|
"url": "https://aitbc.bubuit.net/api",
|
|
"description": "Production server"
|
|
},
|
|
{
|
|
"url": "https://staging-api.aitbc.io",
|
|
"description": "Staging server"
|
|
},
|
|
{
|
|
"url": "http://localhost:8011",
|
|
"description": "Development server"
|
|
}
|
|
]
|
|
} |