{"openapi":"3.1.0","info":{"title":"Truman API","version":"1.0.0","description":"Use **Authorize** with your Truman API key, without the Bearer prefix. Your approved scopes, account credits and agent permissions still apply. Start with `GET /v1/workflows` or `GET /v1/agents`.\n\n**Try it out** sends a real request when you click **Execute**. Research and tool calls can consume credits; writes can change your workspace or connected services. For retries, reuse the same Idempotency-Key and identical request. A 202 response means accepted, not completed; follow its status and result URLs.\n\nFor live SSE updates use a streaming HTTP client (for example `curl -N`); Swagger UI may buffer the response until the stream closes. [Quick start, streaming and recovery guide](/truman/docs#lifecycle)."},"paths":{"/v1/sources":{"get":{"summary":"Sources","operationId":"sources_v1_sources_get","security":[{"TrumanAPIKey":[]}],"parameters":[{"name":"q","in":"query","required":false,"schema":{"type":"string","maxLength":500,"default":"","title":"Q"}},{"name":"provider","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":1,"maxLength":100},{"type":"null"}],"title":"Provider"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":1,"maxLength":4096},{"type":"null"}],"title":"Cursor"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourcePage"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Conflict"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gone"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Request Entity Too Large"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unsupported Media Type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Entity"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Too Many Requests"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Service Unavailable"}},"tags":["Discovery"]}},"/v1/discovery":{"get":{"summary":"Browse","operationId":"browse_v1_discovery_get","security":[{"TrumanAPIKey":[]}],"parameters":[{"name":"q","in":"query","required":false,"schema":{"type":"string","maxLength":120,"default":"","title":"Q"}},{"name":"source","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":1,"maxLength":200},{"type":"null"}],"title":"Source"}},{"name":"subject","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":1,"maxLength":80},{"type":"null"}],"title":"Subject"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":1,"maxLength":4096},{"type":"null"}],"title":"Cursor"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DiscoveryPage"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Conflict"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gone"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Request Entity Too Large"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unsupported Media Type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Entity"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Too Many Requests"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Service Unavailable"}},"tags":["Discovery"]}},"/v1/discovery/search":{"post":{"summary":"Search","operationId":"search_v1_discovery_search_post","security":[{"TrumanAPIKey":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":1,"maxLength":128,"pattern":"^[A-Za-z0-9_.:/-]+$","title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DiscoverySearch"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AcceptedOperation"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Conflict"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gone"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Request Entity Too Large"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unsupported Media Type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Entity"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Too Many Requests"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Service Unavailable"}},"tags":["Discovery"]}},"/v1/sessions/{session_id}/artifacts/{artifact_id}/blocks/{block_id}/comments":{"get":{"summary":"Get","operationId":"get_v1_sessions__session_id__artifacts__artifact_id__blocks__block_id__comments_get","security":[{"TrumanAPIKey":[]}],"parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":256,"pattern":"^[A-Za-z0-9_.:@/-]+$","title":"Session Id"}},{"name":"artifact_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9_.:-]{0,239}$","title":"Artifact Id"}},{"name":"block_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9_.:-]{0,239}$","title":"Block Id"}},{"name":"version","in":"query","required":true,"schema":{"type":"integer","minimum":1,"title":"Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArtifactReviewView"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Conflict"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gone"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Request Entity Too Large"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unsupported Media Type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Entity"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Too Many Requests"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Service Unavailable"}},"tags":["Workspace and files"]},"put":{"summary":"Put","operationId":"put_v1_sessions__session_id__artifacts__artifact_id__blocks__block_id__comments_put","security":[{"TrumanAPIKey":[]}],"parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":256,"pattern":"^[A-Za-z0-9_.:@/-]+$","title":"Session Id"}},{"name":"artifact_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9_.:-]{0,239}$","title":"Artifact Id"}},{"name":"block_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9_.:-]{0,239}$","title":"Block Id"}},{"name":"version","in":"query","required":true,"schema":{"type":"integer","minimum":1,"title":"Version"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArtifactReviewRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArtifactReviewView"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Conflict"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gone"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Request Entity Too Large"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unsupported Media Type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Entity"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Too Many Requests"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Service Unavailable"}},"tags":["Workspace and files"]}},"/v1/sessions/{session_id}/artifacts/{artifact_id}/blocks/{block_id}/state":{"get":{"summary":"Get","operationId":"get_v1_sessions__session_id__artifacts__artifact_id__blocks__block_id__state_get","security":[{"TrumanAPIKey":[]}],"parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":256,"pattern":"^[A-Za-z0-9_.:@/-]+$","title":"Session Id"}},{"name":"artifact_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9_.:-]{0,239}$","title":"Artifact Id"}},{"name":"block_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9_.:-]{0,239}$","title":"Block Id"}},{"name":"version","in":"query","required":true,"schema":{"type":"integer","minimum":1,"title":"Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArtifactExplorationView"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Conflict"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gone"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Request Entity Too Large"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unsupported Media Type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Entity"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Too Many Requests"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Service Unavailable"}},"tags":["Workspace and files"]},"put":{"summary":"Put","operationId":"put_v1_sessions__session_id__artifacts__artifact_id__blocks__block_id__state_put","security":[{"TrumanAPIKey":[]}],"parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":256,"pattern":"^[A-Za-z0-9_.:@/-]+$","title":"Session Id"}},{"name":"artifact_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9_.:-]{0,239}$","title":"Artifact Id"}},{"name":"block_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9_.:-]{0,239}$","title":"Block Id"}},{"name":"version","in":"query","required":true,"schema":{"type":"integer","minimum":1,"title":"Version"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArtifactStateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArtifactExplorationView"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Conflict"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gone"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Request Entity Too Large"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unsupported Media Type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Entity"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Too Many Requests"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Service Unavailable"}},"tags":["Workspace and files"]}},"/v1/memories":{"get":{"summary":"Page","operationId":"page_v1_memories_get","security":[{"TrumanAPIKey":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":512},{"type":"null"}],"title":"Cursor"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MemoryPage"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Conflict"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gone"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Request Entity Too Large"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unsupported Media Type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Entity"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Too Many Requests"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Service Unavailable"}},"tags":["Apps, skills and memory"]},"post":{"summary":"Create","operationId":"create_v1_memories_post","security":[{"TrumanAPIKey":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":1,"maxLength":128,"pattern":"^[A-Za-z0-9_.:/-]+$","title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MemoryCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MemoryView"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Conflict"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gone"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Request Entity Too Large"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unsupported Media Type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Entity"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Too Many Requests"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Service Unavailable"}},"tags":["Apps, skills and memory"]}},"/v1/memories/{memory_id}":{"get":{"summary":"Read","operationId":"read_v1_memories__memory_id__get","security":[{"TrumanAPIKey":[]}],"parameters":[{"name":"memory_id","in":"path","required":true,"schema":{"type":"string","pattern":"^mem_[a-f0-9]{32}$","title":"Memory Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MemoryView"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Conflict"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gone"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Request Entity Too Large"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unsupported Media Type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Entity"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Too Many Requests"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Service Unavailable"}},"tags":["Apps, skills and memory"]},"put":{"summary":"Edit","operationId":"edit_v1_memories__memory_id__put","security":[{"TrumanAPIKey":[]}],"parameters":[{"name":"memory_id","in":"path","required":true,"schema":{"type":"string","pattern":"^mem_[a-f0-9]{32}$","title":"Memory Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MemoryEdit"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MemoryView"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Conflict"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gone"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Request Entity Too Large"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unsupported Media Type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Entity"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Too Many Requests"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Service Unavailable"}},"tags":["Apps, skills and memory"]}},"/v1/memories/{memory_id}/delete":{"post":{"summary":"Delete","operationId":"delete_v1_memories__memory_id__delete_post","security":[{"TrumanAPIKey":[]}],"parameters":[{"name":"memory_id","in":"path","required":true,"schema":{"type":"string","pattern":"^mem_[a-f0-9]{32}$","title":"Memory Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MemoryDelete"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MemoryDeleted"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Conflict"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gone"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Request Entity Too Large"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unsupported Media Type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Entity"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Too Many Requests"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Service Unavailable"}},"tags":["Apps, skills and memory"]}},"/v1/skills":{"get":{"summary":"Page","operationId":"page_v1_skills_get","security":[{"TrumanAPIKey":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":25,"minimum":1,"default":25,"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Cursor"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SkillPage"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Conflict"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gone"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Request Entity Too Large"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unsupported Media Type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Entity"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Too Many Requests"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Service Unavailable"}},"tags":["Apps, skills and memory"]},"post":{"summary":"Create","operationId":"create_v1_skills_post","security":[{"TrumanAPIKey":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":1,"maxLength":128,"pattern":"^[A-Za-z0-9_.:/-]+$","title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SkillDocumentInput"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SkillReceipt"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Conflict"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gone"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Request Entity Too Large"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unsupported Media Type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Entity"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Too Many Requests"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Service Unavailable"}},"tags":["Apps, skills and memory"]}},"/v1/skills/{skill_id}":{"get":{"summary":"Read","operationId":"read_v1_skills__skill_id__get","security":[{"TrumanAPIKey":[]}],"parameters":[{"name":"skill_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Skill Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SkillView"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Conflict"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gone"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Request Entity Too Large"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unsupported Media Type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Entity"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Too Many Requests"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Service Unavailable"}},"tags":["Apps, skills and memory"]},"put":{"summary":"Replace","operationId":"replace_v1_skills__skill_id__put","security":[{"TrumanAPIKey":[]}],"parameters":[{"name":"skill_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Skill Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":1,"maxLength":128,"pattern":"^[A-Za-z0-9_.:/-]+$","title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SkillReplace"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SkillReceipt"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Conflict"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gone"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Request Entity Too Large"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unsupported Media Type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Entity"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Too Many Requests"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Service Unavailable"}},"tags":["Apps, skills and memory"]}},"/v1/skills/{skill_id}/document":{"get":{"summary":"Read","operationId":"read_v1_skills__skill_id__document_get","security":[{"TrumanAPIKey":[]}],"parameters":[{"name":"skill_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Skill Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SkillDocument"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Conflict"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gone"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Request Entity Too Large"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unsupported Media Type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Entity"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Too Many Requests"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Service Unavailable"}},"tags":["Apps, skills and memory"]}},"/v1/skills/{skill_id}/delete":{"post":{"summary":"Remove","operationId":"remove_v1_skills__skill_id__delete_post","security":[{"TrumanAPIKey":[]}],"parameters":[{"name":"skill_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Skill Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":1,"maxLength":128,"pattern":"^[A-Za-z0-9_.:/-]+$","title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SkillDelete"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SkillReceipt"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Conflict"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gone"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Request Entity Too Large"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unsupported Media Type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Entity"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Too Many Requests"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Service Unavailable"}},"tags":["Apps, skills and memory"]}},"/v1/connections":{"get":{"summary":"Page","operationId":"page_v1_connections_get","security":[{"TrumanAPIKey":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":25,"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Cursor"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectionPage"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Conflict"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gone"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Request Entity Too Large"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unsupported Media Type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Entity"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Too Many Requests"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Service Unavailable"}},"tags":["Apps, skills and memory"]}},"/v1/agents":{"get":{"summary":"Agents","operationId":"agents_v1_agents_get","security":[{"TrumanAPIKey":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Cursor"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentPage"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Conflict"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gone"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Request Entity Too Large"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unsupported Media Type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Entity"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Too Many Requests"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Service Unavailable"}},"tags":["Agents and conversations"]}},"/v1/agents/{agent_id}":{"get":{"summary":"Agent","operationId":"agent_v1_agents__agent_id__get","security":[{"TrumanAPIKey":[]}],"parameters":[{"name":"agent_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Agent Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentSummary"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Conflict"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gone"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Request Entity Too Large"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unsupported Media Type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Entity"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Too Many Requests"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Service Unavailable"}},"tags":["Agents and conversations"]}},"/v1/agents/{agent_id}/sessions":{"get":{"summary":"Sessions","operationId":"sessions_v1_agents__agent_id__sessions_get","security":[{"TrumanAPIKey":[]}],"parameters":[{"name":"agent_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Agent Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Cursor"}},{"name":"order","in":"query","required":false,"schema":{"enum":["id","recent"],"type":"string","default":"id","title":"Order"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionPage"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Conflict"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gone"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Request Entity Too Large"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unsupported Media Type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Entity"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Too Many Requests"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Service Unavailable"}},"tags":["Agents and conversations"]},"post":{"summary":"Create Session","operationId":"create_session_v1_agents__agent_id__sessions_post","security":[{"TrumanAPIKey":[]}],"parameters":[{"name":"agent_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Agent Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":1,"maxLength":128,"pattern":"^[A-Za-z0-9_.:/-]+$","title":"Idempotency-Key"}}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionSummary"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Conflict"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gone"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Request Entity Too Large"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unsupported Media Type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Entity"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Too Many Requests"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Service Unavailable"}},"tags":["Agents and conversations"]}},"/v1/sessions/{session_id}/reports/{artifact_id}/versions":{"get":{"summary":"Versions","operationId":"versions_v1_sessions__session_id__reports__artifact_id__versions_get","security":[{"TrumanAPIKey":[]}],"parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":256,"pattern":"^[A-Za-z0-9_.:@/-]+$","title":"Session Id"}},{"name":"artifact_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9_.:-]{0,239}$","title":"Artifact Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReportVersionListResponse"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Conflict"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gone"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Request Entity Too Large"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unsupported Media Type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Entity"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Too Many Requests"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Service Unavailable"}},"tags":["Workspace and files"]}},"/v1/sessions/{session_id}/documents/query":{"post":{"summary":"Documents","operationId":"documents_v1_sessions__session_id__documents_query_post","security":[{"TrumanAPIKey":[]}],"parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":256,"pattern":"^[A-Za-z0-9_.:@/-]+$","title":"Session Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentQuery"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentQueryResult"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Conflict"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gone"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Request Entity Too Large"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unsupported Media Type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Entity"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Too Many Requests"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Service Unavailable"}},"tags":["Workspace and files"]}},"/v1/sessions":{"post":{"summary":"Create Session","operationId":"create_session_v1_sessions_post","security":[{"TrumanAPIKey":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":1,"maxLength":128,"pattern":"^[A-Za-z0-9_.:/-]+$","title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionSummary"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Conflict"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gone"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Request Entity Too Large"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unsupported Media Type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Entity"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Too Many Requests"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Service Unavailable"}},"tags":["Agents and conversations"]},"get":{"summary":"Sessions","operationId":"sessions_v1_sessions_get","security":[{"TrumanAPIKey":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Cursor"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionPage"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Conflict"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gone"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Request Entity Too Large"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unsupported Media Type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Entity"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Too Many Requests"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Service Unavailable"}},"tags":["Agents and conversations"]}},"/v1/sessions/{session_id}/uploads":{"post":{"summary":"Create Upload","operationId":"create_upload_v1_sessions__session_id__uploads_post","security":[{"TrumanAPIKey":[]}],"parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":256,"pattern":"^[A-Za-z0-9_.:@/-]+$","title":"Session Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":1,"maxLength":128,"pattern":"^[A-Za-z0-9_.:/-]+$","title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UploadCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UploadView"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Conflict"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gone"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Request Entity Too Large"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unsupported Media Type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Entity"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Too Many Requests"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Service Unavailable"}},"tags":["Workspace and files"]}},"/v1/uploads/{upload_id}":{"get":{"summary":"Upload Status","operationId":"upload_status_v1_uploads__upload_id__get","security":[{"TrumanAPIKey":[]}],"parameters":[{"name":"upload_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-f0-9]{32}$","title":"Upload Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UploadView"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Conflict"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gone"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Request Entity Too Large"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unsupported Media Type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Entity"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Too Many Requests"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Service Unavailable"}},"tags":["Workspace and files"]}},"/v1/uploads/{upload_id}/content":{"put":{"summary":"Upload Content","operationId":"upload_content_v1_uploads__upload_id__content_put","security":[{"TrumanAPIKey":[]}],"parameters":[{"name":"upload_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-f0-9]{32}$","title":"Upload Id"}}],"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UploadView"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Conflict"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gone"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Request Entity Too Large"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unsupported Media Type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Entity"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Too Many Requests"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Service Unavailable"}},"requestBody":{"required":true,"content":{"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}},"tags":["Workspace and files"]}},"/v1/uploads/{upload_id}/cancel":{"post":{"summary":"Cancel Upload","operationId":"cancel_upload_v1_uploads__upload_id__cancel_post","security":[{"TrumanAPIKey":[]}],"parameters":[{"name":"upload_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-f0-9]{32}$","title":"Upload Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UploadView"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Conflict"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gone"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Request Entity Too Large"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unsupported Media Type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Entity"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Too Many Requests"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Service Unavailable"}},"tags":["Workspace and files"]}},"/v1/sessions/{session_id}/files/{artifact_id}":{"delete":{"summary":"Remove Attachment","operationId":"remove_attachment_v1_sessions__session_id__files__artifact_id__delete","security":[{"TrumanAPIKey":[]}],"parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":256,"pattern":"^[A-Za-z0-9_.:@/-]+$","title":"Session Id"}},{"name":"artifact_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9_.:-]{0,239}$","title":"Artifact Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":1,"maxLength":128,"pattern":"^[A-Za-z0-9_.:/-]+$","title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FileRemoval"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FileRemovalReceipt"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Conflict"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gone"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Request Entity Too Large"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unsupported Media Type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Entity"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Too Many Requests"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Service Unavailable"}},"tags":["Workspace and files"]}},"/v1/sessions/{session_id}/resources":{"get":{"summary":"Resources","operationId":"resources_v1_sessions__session_id__resources_get","security":[{"TrumanAPIKey":[]}],"parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":256,"pattern":"^[A-Za-z0-9_.:@/-]+$","title":"Session Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9_.:-]{0,239}$"},{"type":"null"}],"title":"Cursor"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkspacePage"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Conflict"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gone"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Request Entity Too Large"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unsupported Media Type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Entity"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Too Many Requests"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Service Unavailable"}},"tags":["Workspace and files"]}},"/v1/sessions/{session_id}/resources/{kind}/{artifact_id}":{"get":{"summary":"Resource","operationId":"resource_v1_sessions__session_id__resources__kind___artifact_id__get","security":[{"TrumanAPIKey":[]}],"parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":256,"pattern":"^[A-Za-z0-9_.:@/-]+$","title":"Session Id"}},{"name":"kind","in":"path","required":true,"schema":{"enum":["artifact","dataset","file"],"type":"string","title":"Kind"}},{"name":"artifact_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9_.:-]{0,239}$","title":"Artifact Id"}},{"name":"version","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":1},{"type":"null"}],"title":"Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkspaceSummary"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Conflict"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gone"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Request Entity Too Large"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unsupported Media Type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Entity"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Too Many Requests"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Service Unavailable"}},"tags":["Workspace and files"]}},"/v1/sessions/{session_id}/resources/{kind}/{artifact_id}/content":{"get":{"summary":"Content","operationId":"content_v1_sessions__session_id__resources__kind___artifact_id__content_get","security":[{"TrumanAPIKey":[]}],"parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":256,"pattern":"^[A-Za-z0-9_.:@/-]+$","title":"Session Id"}},{"name":"kind","in":"path","required":true,"schema":{"enum":["artifact","dataset","file"],"type":"string","title":"Kind"}},{"name":"artifact_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9_.:-]{0,239}$","title":"Artifact Id"}},{"name":"version","in":"query","required":true,"schema":{"type":"integer","minimum":1,"title":"Version"}}],"responses":{"200":{"description":"Original file bytes from the requested saved version.","content":{"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Conflict"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gone"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Request Entity Too Large"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unsupported Media Type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Entity"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Too Many Requests"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Service Unavailable"}},"tags":["Workspace and files"]}},"/v1/sessions/{session_id}/artifacts/{artifact_id}/structure":{"get":{"summary":"Structure","operationId":"structure_v1_sessions__session_id__artifacts__artifact_id__structure_get","security":[{"TrumanAPIKey":[]}],"parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":256,"pattern":"^[A-Za-z0-9_.:@/-]+$","title":"Session Id"}},{"name":"artifact_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9_.:-]{0,239}$","title":"Artifact Id"}},{"name":"version","in":"query","required":true,"schema":{"type":"integer","minimum":1,"title":"Version"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"default":25,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArtifactStructurePage"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Conflict"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gone"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Request Entity Too Large"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unsupported Media Type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Entity"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Too Many Requests"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Service Unavailable"}},"tags":["Workspace and files"]}},"/v1/sessions/{session_id}/datasets/{artifact_id}/rows":{"post":{"summary":"Rows","operationId":"rows_v1_sessions__session_id__datasets__artifact_id__rows_post","security":[{"TrumanAPIKey":[]}],"parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":256,"pattern":"^[A-Za-z0-9_.:@/-]+$","title":"Session Id"}},{"name":"artifact_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9_.:-]{0,239}$","title":"Artifact Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DatasetRowsRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DatasetRowsPage"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Conflict"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gone"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Request Entity Too Large"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unsupported Media Type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Entity"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Too Many Requests"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Service Unavailable"}},"tags":["Workspace and files"]}},"/v1/sessions/{session_id}/datasets/{artifact_id}/export":{"get":{"summary":"Dataset Export","operationId":"dataset_export_v1_sessions__session_id__datasets__artifact_id__export_get","security":[{"TrumanAPIKey":[]}],"parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":256,"pattern":"^[A-Za-z0-9_.:@/-]+$","title":"Session Id"}},{"name":"artifact_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9_.:-]{0,239}$","title":"Artifact Id"}},{"name":"version","in":"query","required":true,"schema":{"type":"integer","minimum":1,"title":"Version"}}],"responses":{"200":{"description":"All stored rows from the selected version as CSV; coverage is reported separately.","content":{"text/csv":{"schema":{"type":"string","format":"binary"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Conflict"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gone"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Request Entity Too Large"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unsupported Media Type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Entity"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Too Many Requests"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Service Unavailable"}},"tags":["Workspace and files"]}},"/v1/sessions/{session_id}/files/{artifact_id}/passages":{"post":{"summary":"Passages","operationId":"passages_v1_sessions__session_id__files__artifact_id__passages_post","security":[{"TrumanAPIKey":[]}],"parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":256,"pattern":"^[A-Za-z0-9_.:@/-]+$","title":"Session Id"}},{"name":"artifact_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9_.:-]{0,239}$","title":"Artifact Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DatasetRowsRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DatasetRowsPage"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Conflict"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gone"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Request Entity Too Large"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unsupported Media Type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Entity"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Too Many Requests"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Service Unavailable"}},"tags":["Workspace and files"]}},"/v1/sessions/{session_id}/artifact-jobs":{"post":{"summary":"Submit","operationId":"submit_v1_sessions__session_id__artifact_jobs_post","security":[{"TrumanAPIKey":[]}],"parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":256,"pattern":"^[A-Za-z0-9_.:@/-]+$","title":"Session Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":1,"maxLength":128,"pattern":"^[A-Za-z0-9_.:/-]+$","title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArtifactJobRequest"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArtifactJobView"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Conflict"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gone"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Request Entity Too Large"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unsupported Media Type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Entity"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Too Many Requests"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Service Unavailable"}},"tags":["Workspace and files"]}},"/v1/artifact-jobs/{job_id}":{"get":{"summary":"Status","operationId":"status_v1_artifact_jobs__job_id__get","security":[{"TrumanAPIKey":[]}],"parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-f0-9]{32}$","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArtifactJobView"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Conflict"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gone"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Request Entity Too Large"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unsupported Media Type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Entity"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Too Many Requests"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Service Unavailable"}},"tags":["Workspace and files"]}},"/v1/artifact-jobs/{job_id}/cancel":{"post":{"summary":"Cancel","operationId":"cancel_v1_artifact_jobs__job_id__cancel_post","security":[{"TrumanAPIKey":[]}],"parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-f0-9]{32}$","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArtifactJobView"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Conflict"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gone"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Request Entity Too Large"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unsupported Media Type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Entity"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Too Many Requests"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Service Unavailable"}},"tags":["Workspace and files"]}},"/v1/artifact-jobs/{job_id}/content":{"get":{"summary":"Content","operationId":"content_v1_artifact_jobs__job_id__content_get","security":[{"TrumanAPIKey":[]}],"parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-f0-9]{32}$","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Conflict"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gone"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Request Entity Too Large"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unsupported Media Type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Entity"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Too Many Requests"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Service Unavailable"}},"tags":["Workspace and files"]}},"/v1/sessions/{session_id}/artifacts/{artifact_id}/shares":{"get":{"summary":"Shares","operationId":"shares_v1_sessions__session_id__artifacts__artifact_id__shares_get","security":[{"TrumanAPIKey":[]}],"parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":256,"pattern":"^[A-Za-z0-9_.:@/-]+$","title":"Session Id"}},{"name":"artifact_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9_.:-]{0,239}$","title":"Artifact Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shares"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Conflict"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gone"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Request Entity Too Large"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unsupported Media Type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Entity"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Too Many Requests"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Service Unavailable"}},"tags":["Workspace and files"]}},"/v1/sessions/{session_id}/artifacts/{artifact_id}/shares/{share_id}/revoke":{"post":{"summary":"Revoke","operationId":"revoke_v1_sessions__session_id__artifacts__artifact_id__shares__share_id__revoke_post","security":[{"TrumanAPIKey":[]}],"parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":256,"pattern":"^[A-Za-z0-9_.:@/-]+$","title":"Session Id"}},{"name":"artifact_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9_.:-]{0,239}$","title":"Artifact Id"}},{"name":"share_id","in":"path","required":true,"schema":{"type":"string","title":"Share Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Revoked"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Conflict"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gone"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Request Entity Too Large"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unsupported Media Type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Entity"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Too Many Requests"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Service Unavailable"}},"tags":["Workspace and files"]}},"/v1/sessions/{session_id}/runs":{"get":{"summary":"Research Runs","operationId":"research_runs_v1_sessions__session_id__runs_get","security":[{"TrumanAPIKey":[]}],"parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":256,"pattern":"^[A-Za-z0-9_.:@/-]+$","title":"Session Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":1,"maxLength":256,"pattern":"^[A-Za-z0-9_.:@/-]+$"},{"type":"null"}],"title":"Cursor"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResearchRunsPage"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Conflict"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gone"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Request Entity Too Large"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unsupported Media Type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Entity"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Too Many Requests"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Service Unavailable"}},"tags":["Research and streaming"]}},"/v1/sessions/{session_id}/runs/{run_id}":{"get":{"summary":"Research Status","operationId":"research_status_v1_sessions__session_id__runs__run_id__get","security":[{"TrumanAPIKey":[]}],"parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":256,"pattern":"^[A-Za-z0-9_.:@/-]+$","title":"Session Id"}},{"name":"run_id","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":256,"pattern":"^[A-Za-z0-9_.:@/-]+$","title":"Run Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResearchRunView"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Conflict"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gone"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Request Entity Too Large"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unsupported Media Type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Entity"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Too Many Requests"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Service Unavailable"}},"tags":["Research and streaming"]}},"/v1/sessions/{session_id}/runs/{run_id}/events":{"get":{"summary":"Research Events","operationId":"research_events_v1_sessions__session_id__runs__run_id__events_get","security":[{"TrumanAPIKey":[]}],"parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":256,"pattern":"^[A-Za-z0-9_.:@/-]+$","title":"Session Id"}},{"name":"run_id","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":256,"pattern":"^[A-Za-z0-9_.:@/-]+$","title":"Run Id"}},{"name":"after_sequence","in":"query","required":false,"schema":{"type":"integer","maximum":2147483647,"minimum":0,"default":0,"title":"After Sequence"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResearchEventsPage"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Conflict"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gone"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Request Entity Too Large"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unsupported Media Type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Entity"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Too Many Requests"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Service Unavailable"}},"tags":["Research and streaming"]}},"/v1/sessions/{session_id}/runs/{run_id}/audits":{"get":{"summary":"Research Audits","operationId":"research_audits_v1_sessions__session_id__runs__run_id__audits_get","security":[{"TrumanAPIKey":[]}],"parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":256,"pattern":"^[A-Za-z0-9_.:@/-]+$","title":"Session Id"}},{"name":"run_id","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":256,"pattern":"^[A-Za-z0-9_.:@/-]+$","title":"Run Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":1,"maxLength":256,"pattern":"^[A-Za-z0-9_.:@/-]+$"},{"type":"null"}],"title":"Cursor"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuditPage"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Conflict"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gone"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Request Entity Too Large"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unsupported Media Type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Entity"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Too Many Requests"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Service Unavailable"}},"tags":["Research and streaming"]}},"/v1/research/options":{"get":{"summary":"Research Options","operationId":"research_options_v1_research_options_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResearchOptions"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"410":{"description":"Gone","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Request Entity Too Large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"415":{"description":"Unsupported Media Type","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Unprocessable Entity","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Too Many Requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"Service Unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"TrumanAPIKey":[]}],"tags":["Research and streaming"]}},"/v1/sessions/{session_id}/research":{"post":{"summary":"Submit Research","operationId":"submit_research_v1_sessions__session_id__research_post","security":[{"TrumanAPIKey":[]}],"parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":256,"pattern":"^[A-Za-z0-9_.:@/-]+$","title":"Session Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":1,"maxLength":128,"pattern":"^[A-Za-z0-9_.:/-]+$","title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResearchSubmission"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AcceptedOperation"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Conflict"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gone"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Request Entity Too Large"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unsupported Media Type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Entity"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Too Many Requests"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Service Unavailable"}},"tags":["Research and streaming"]}},"/v1/sessions/{session_id}/research/{operation_id}":{"get":{"summary":"Research Operation","operationId":"research_operation_v1_sessions__session_id__research__operation_id__get","security":[{"TrumanAPIKey":[]}],"parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":256,"pattern":"^[A-Za-z0-9_.:@/-]+$","title":"Session Id"}},{"name":"operation_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-f0-9]{32}$","title":"Operation Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResearchOperation"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Conflict"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gone"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Request Entity Too Large"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unsupported Media Type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Entity"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Too Many Requests"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Service Unavailable"}},"tags":["Research and streaming"]}},"/v1/sessions/{session_id}/research/{operation_id}/analysts":{"get":{"summary":"Research Analysts","operationId":"research_analysts_v1_sessions__session_id__research__operation_id__analysts_get","security":[{"TrumanAPIKey":[]}],"parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":256,"pattern":"^[A-Za-z0-9_.:@/-]+$","title":"Session Id"}},{"name":"operation_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-f0-9]{32}$","title":"Operation Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnalystProgressPage"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Conflict"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gone"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Request Entity Too Large"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unsupported Media Type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Entity"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Too Many Requests"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Service Unavailable"}},"tags":["Research and streaming"]}},"/v1/sessions/{session_id}/research/{operation_id}/stream":{"get":{"summary":"Research Stream","operationId":"research_stream_v1_sessions__session_id__research__operation_id__stream_get","security":[{"TrumanAPIKey":[]}],"parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":256,"pattern":"^[A-Za-z0-9_.:@/-]+$","title":"Session Id"}},{"name":"operation_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-f0-9]{32}$","title":"Operation Id"}}],"responses":{"200":{"description":"Bounded research status and questions; no answer content.","content":{"text/event-stream":{"schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Conflict"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gone"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Request Entity Too Large"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unsupported Media Type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Entity"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Too Many Requests"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Service Unavailable"}},"tags":["Research and streaming"]}},"/v1/sessions/{session_id}/research/{operation_id}/live/stream":{"get":{"summary":"Research Live","operationId":"research_live_v1_sessions__session_id__research__operation_id__live_stream_get","security":[{"TrumanAPIKey":[]}],"parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":256,"pattern":"^[A-Za-z0-9_.:@/-]+$","title":"Session Id"}},{"name":"operation_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-f0-9]{32}$","title":"Operation Id"}}],"responses":{"200":{"description":"Opt-in provisional answer preview under a confirmed credit reservation.","content":{"text/event-stream":{"schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Conflict"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gone"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Request Entity Too Large"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unsupported Media Type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Entity"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Too Many Requests"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Service Unavailable"}},"tags":["Research and streaming"]}},"/v1/sessions/{session_id}/research/{operation_id}/resume":{"post":{"summary":"Resume Research","operationId":"resume_research_v1_sessions__session_id__research__operation_id__resume_post","security":[{"TrumanAPIKey":[]}],"parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":256,"pattern":"^[A-Za-z0-9_.:@/-]+$","title":"Session Id"}},{"name":"operation_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-f0-9]{32}$","title":"Operation Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResearchContinuation"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResearchOperation"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Conflict"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gone"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Request Entity Too Large"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unsupported Media Type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Entity"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Too Many Requests"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Service Unavailable"}},"tags":["Research and streaming"]}},"/v1/sessions/{session_id}/research/{operation_id}/steer":{"post":{"summary":"Steer Research","operationId":"steer_research_v1_sessions__session_id__research__operation_id__steer_post","security":[{"TrumanAPIKey":[]}],"parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":256,"pattern":"^[A-Za-z0-9_.:@/-]+$","title":"Session Id"}},{"name":"operation_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-f0-9]{32}$","title":"Operation Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SteeringRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SteeringReceipt"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Conflict"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gone"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Request Entity Too Large"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unsupported Media Type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Entity"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Too Many Requests"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Service Unavailable"}},"tags":["Research and streaming"]}},"/v1/usage/export":{"get":{"summary":"Usage Export","operationId":"usage_export_v1_usage_export_get","security":[{"TrumanAPIKey":[]}],"parameters":[{"name":"created_after","in":"query","required":true,"schema":{"type":"string","format":"date-time","title":"Created After"}},{"name":"created_before","in":"query","required":true,"schema":{"type":"string","format":"date-time","title":"Created Before"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","pattern":"^[a-f0-9]{32}$"},{"type":"null"}],"title":"Cursor"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsageExportPage"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Conflict"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gone"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Request Entity Too Large"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unsupported Media Type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Entity"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Too Many Requests"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Service Unavailable"}},"tags":["Operations and usage"]}},"/v1/alerts":{"get":{"summary":"Alerts","operationId":"alerts_v1_alerts_get","security":[{"TrumanAPIKey":[]}],"parameters":[{"name":"created_after","in":"query","required":true,"schema":{"type":"string","format":"date-time","title":"Created After"}},{"name":"created_before","in":"query","required":true,"schema":{"type":"string","format":"date-time","title":"Created Before"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","pattern":"^[a-f0-9]{32}$"},{"type":"null"}],"title":"Cursor"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AlertPage"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Conflict"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gone"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Request Entity Too Large"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unsupported Media Type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Entity"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Too Many Requests"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Service Unavailable"}},"tags":["Schedules and email"]}},"/v1/operations/{operation_id}/result":{"delete":{"summary":"Delete Result","operationId":"delete_result_v1_operations__operation_id__result_delete","security":[{"TrumanAPIKey":[]}],"parameters":[{"name":"operation_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-f0-9]{32}$","title":"Operation Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteResult"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResultTombstone"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Conflict"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gone"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Request Entity Too Large"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unsupported Media Type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Entity"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Too Many Requests"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Service Unavailable"}},"tags":["Operations and usage"]},"get":{"summary":"Result","operationId":"result_v1_operations__operation_id__result_get","security":[{"TrumanAPIKey":[]}],"parameters":[{"name":"operation_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-f0-9]{32}$","title":"Operation Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DirectOperationResult"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Conflict"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gone"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Request Entity Too Large"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unsupported Media Type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Entity"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Too Many Requests"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Service Unavailable"}},"tags":["Operations and usage"]}},"/v1/schedules":{"post":{"summary":"Create","operationId":"create_v1_schedules_post","security":[{"TrumanAPIKey":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":1,"maxLength":128,"pattern":"^[A-Za-z0-9_.:/-]+$","title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduleCreate-Input"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduleView"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Conflict"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gone"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Request Entity Too Large"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unsupported Media Type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Entity"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Too Many Requests"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Service Unavailable"}},"tags":["Schedules and email"]},"get":{"summary":"List Schedules","operationId":"list_schedules_v1_schedules_get","security":[{"TrumanAPIKey":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","pattern":"^[a-f0-9]{32}$"},{"type":"null"}],"title":"Cursor"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SchedulePage"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Conflict"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gone"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Request Entity Too Large"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unsupported Media Type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Entity"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Too Many Requests"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Service Unavailable"}},"tags":["Schedules and email"]}},"/v1/schedules/{schedule_id}":{"get":{"summary":"Get","operationId":"get_v1_schedules__schedule_id__get","security":[{"TrumanAPIKey":[]}],"parameters":[{"name":"schedule_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-f0-9]{32}$","title":"Schedule Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduleView"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Conflict"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gone"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Request Entity Too Large"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unsupported Media Type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Entity"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Too Many Requests"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Service Unavailable"}},"tags":["Schedules and email"]},"put":{"summary":"Edit","operationId":"edit_v1_schedules__schedule_id__put","security":[{"TrumanAPIKey":[]}],"parameters":[{"name":"schedule_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-f0-9]{32}$","title":"Schedule Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduleEdit"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduleView"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Conflict"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gone"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Request Entity Too Large"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unsupported Media Type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Entity"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Too Many Requests"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Service Unavailable"}},"tags":["Schedules and email"]}},"/v1/schedules/{schedule_id}/control":{"post":{"summary":"Control","operationId":"control_v1_schedules__schedule_id__control_post","security":[{"TrumanAPIKey":[]}],"parameters":[{"name":"schedule_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-f0-9]{32}$","title":"Schedule Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduleControl"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduleView"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Conflict"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gone"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Request Entity Too Large"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unsupported Media Type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Entity"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Too Many Requests"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Service Unavailable"}},"tags":["Schedules and email"]}},"/v1/schedules/{schedule_id}/opened":{"post":{"summary":"Opened","operationId":"opened_v1_schedules__schedule_id__opened_post","security":[{"TrumanAPIKey":[]}],"parameters":[{"name":"schedule_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-f0-9]{32}$","title":"Schedule Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduleView"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Conflict"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gone"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Request Entity Too Large"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unsupported Media Type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Entity"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Too Many Requests"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Service Unavailable"}},"tags":["Schedules and email"]}},"/v1/email-deliveries/access":{"get":{"summary":"Access","operationId":"access_v1_email_deliveries_access_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"410":{"description":"Gone","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Request Entity Too Large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"415":{"description":"Unsupported Media Type","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Unprocessable Entity","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Too Many Requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"Service Unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"TrumanAPIKey":[]}],"tags":["Schedules and email"]}},"/v1/email-deliveries/preview":{"post":{"summary":"Preview","operationId":"preview_v1_email_deliveries_preview_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmailDraftRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"410":{"description":"Gone","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Request Entity Too Large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"415":{"description":"Unsupported Media Type","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Unprocessable Entity","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Too Many Requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"Service Unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"TrumanAPIKey":[]}],"tags":["Schedules and email"]}},"/v1/email-deliveries":{"post":{"summary":"Create","operationId":"create_v1_email_deliveries_post","security":[{"TrumanAPIKey":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":1,"maxLength":128,"pattern":"^[A-Za-z0-9_.:/-]+$","title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmailDeliveryCreate"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmailDeliveryView"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Conflict"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gone"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Request Entity Too Large"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unsupported Media Type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Entity"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Too Many Requests"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Service Unavailable"}},"tags":["Schedules and email"]}},"/v1/email-deliveries/{delivery_id}":{"get":{"summary":"Get","operationId":"get_v1_email_deliveries__delivery_id__get","security":[{"TrumanAPIKey":[]}],"parameters":[{"name":"delivery_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-f0-9]{32}$","title":"Delivery Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmailDeliveryView"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Conflict"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gone"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Request Entity Too Large"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unsupported Media Type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Entity"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Too Many Requests"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Service Unavailable"}},"tags":["Schedules and email"]}},"/v1/email-deliveries/{delivery_id}/cancel":{"post":{"summary":"Cancel","operationId":"cancel_v1_email_deliveries__delivery_id__cancel_post","security":[{"TrumanAPIKey":[]}],"parameters":[{"name":"delivery_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-f0-9]{32}$","title":"Delivery Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmailDeliveryView"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Conflict"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gone"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Request Entity Too Large"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unsupported Media Type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Entity"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Too Many Requests"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Service Unavailable"}},"tags":["Schedules and email"]}},"/v1/account/scheduled-deliveries/{execution_id}":{"get":{"summary":"Scheduled Delivery","operationId":"scheduled_delivery_v1_account_scheduled_deliveries__execution_id__get","security":[{"TrumanAPIKey":[]}],"parameters":[{"name":"execution_id","in":"path","required":true,"schema":{"type":"string","title":"Execution Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Conflict"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gone"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Request Entity Too Large"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unsupported Media Type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Entity"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Too Many Requests"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Service Unavailable"}},"tags":["Account and reports"]}},"/v1/account/credits":{"get":{"summary":"Credits","description":"Read your personal Truman credit balance with usage:read. This lookup is free and does not start research or reserve credits.","operationId":"credits_v1_account_credits_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreditBalance"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"410":{"description":"Gone","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Request Entity Too Large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"415":{"description":"Unsupported Media Type","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Unprocessable Entity","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Too Many Requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"Service Unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"TrumanAPIKey":[]}],"tags":["Account and reports"]}},"/v1/account":{"get":{"summary":"Account","operationId":"account_v1_account_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"410":{"description":"Gone","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Request Entity Too Large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"415":{"description":"Unsupported Media Type","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Unprocessable Entity","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Too Many Requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"Service Unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"TrumanAPIKey":[]}],"tags":["Account and reports"]}},"/v1/account/reports":{"get":{"summary":"Reports","operationId":"reports_v1_account_reports_get","security":[{"TrumanAPIKey":[]}],"parameters":[{"name":"offset","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"Offset"}},{"name":"category","in":"query","required":false,"schema":{"type":"string","default":"","title":"Category"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Conflict"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gone"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Request Entity Too Large"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unsupported Media Type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Entity"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Too Many Requests"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Service Unavailable"}},"tags":["Account and reports"]}},"/v1/account/reports/{report_id}":{"get":{"summary":"Report","operationId":"report_v1_account_reports__report_id__get","security":[{"TrumanAPIKey":[]}],"parameters":[{"name":"report_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Report Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Conflict"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gone"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Request Entity Too Large"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unsupported Media Type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Entity"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Too Many Requests"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Service Unavailable"}},"tags":["Account and reports"]}},"/v1/account/reports/{report_id}/pdf":{"get":{"summary":"Pdf","operationId":"pdf_v1_account_reports__report_id__pdf_get","security":[{"TrumanAPIKey":[]}],"parameters":[{"name":"report_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Report Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Conflict"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gone"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Request Entity Too Large"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unsupported Media Type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Entity"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Too Many Requests"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Service Unavailable"}},"tags":["Account and reports"]}},"/v1/workflows":{"get":{"summary":"Workflows","operationId":"workflows_v1_workflows_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowPage"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"410":{"description":"Gone","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Request Entity Too Large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"415":{"description":"Unsupported Media Type","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Unprocessable Entity","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Too Many Requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"Service Unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"TrumanAPIKey":[]}],"tags":["Discovery"]}},"/v1/capabilities":{"get":{"summary":"Capabilities","operationId":"capabilities_v1_capabilities_get","security":[{"TrumanAPIKey":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","pattern":"^[a-z][a-z0-9_.]{0,99}@[1-9][0-9]{0,3}$"},{"type":"null"}],"title":"Cursor"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapabilityPage"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Conflict"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gone"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Request Entity Too Large"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unsupported Media Type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Entity"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Too Many Requests"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Service Unavailable"}},"tags":["Discovery"]}},"/v1/capabilities/{capability_ref}":{"get":{"summary":"Describe","operationId":"describe_v1_capabilities__capability_ref__get","security":[{"TrumanAPIKey":[]}],"parameters":[{"name":"capability_ref","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9_.]{0,99}@[1-9][0-9]{0,3}$","title":"Capability Ref"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapabilityDescription"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Conflict"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gone"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Request Entity Too Large"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unsupported Media Type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Entity"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Too Many Requests"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Service Unavailable"}},"tags":["Discovery"]}},"/v1/operations":{"post":{"summary":"Submit","operationId":"submit_v1_operations_post","security":[{"TrumanAPIKey":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":1,"maxLength":128,"pattern":"^[A-Za-z0-9_.:/-]+$","title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DirectOperationRequest"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AcceptedOperation"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Conflict"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gone"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Request Entity Too Large"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unsupported Media Type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Entity"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Too Many Requests"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Service Unavailable"}},"tags":["Operations and usage"]},"get":{"summary":"History","operationId":"history_v1_operations_get","security":[{"TrumanAPIKey":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","pattern":"^[a-f0-9]{32}$"},{"type":"null"}],"title":"Cursor"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/OperationStatus"},{"type":"null"}],"title":"Status"}},{"name":"capability_ref","in":"query","required":false,"schema":{"anyOf":[{"type":"string","pattern":"^[a-z][a-z0-9_.]{0,99}@[1-9][0-9]{0,3}$"},{"type":"null"}],"title":"Capability Ref"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationPage"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Conflict"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gone"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Request Entity Too Large"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unsupported Media Type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Entity"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Too Many Requests"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Service Unavailable"}},"tags":["Operations and usage"]}},"/v1/programs":{"post":{"summary":"Program","operationId":"program_v1_programs_post","security":[{"TrumanAPIKey":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":1,"maxLength":128,"pattern":"^[A-Za-z0-9_.:/-]+$","title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProgramSubmission"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AcceptedOperation"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Conflict"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gone"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Request Entity Too Large"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unsupported Media Type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Entity"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Too Many Requests"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Service Unavailable"}},"tags":["Operations and usage"]}},"/v1/operations/{operation_id}":{"get":{"summary":"Status","operationId":"status_v1_operations__operation_id__get","security":[{"TrumanAPIKey":[]}],"parameters":[{"name":"operation_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-f0-9]{32}$","title":"Operation Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationView"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Conflict"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gone"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Request Entity Too Large"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unsupported Media Type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Entity"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Too Many Requests"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Service Unavailable"}},"tags":["Operations and usage"]}},"/v1/operations/{operation_id}/cancel":{"post":{"summary":"Cancel","operationId":"cancel_v1_operations__operation_id__cancel_post","security":[{"TrumanAPIKey":[]}],"parameters":[{"name":"operation_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-f0-9]{32}$","title":"Operation Id"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/Contract"},{"type":"null"}],"title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationView"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Conflict"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gone"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Request Entity Too Large"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unsupported Media Type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Entity"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Too Many Requests"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Service Unavailable"}},"tags":["Operations and usage"]}},"/v1/operations/{operation_id}/usage":{"get":{"summary":"Usage","operationId":"usage_v1_operations__operation_id__usage_get","security":[{"TrumanAPIKey":[]}],"parameters":[{"name":"operation_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-f0-9]{32}$","title":"Operation Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationUsage"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Conflict"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gone"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Request Entity Too Large"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unsupported Media Type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Entity"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Too Many Requests"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Service Unavailable"}},"tags":["Operations and usage"]}}},"components":{"schemas":{"APIProblem":{"properties":{"code":{"type":"string","title":"Code"},"message":{"type":"string","title":"Message"},"retryable":{"type":"boolean","title":"Retryable","default":false}},"additionalProperties":false,"type":"object","required":["code","message"],"title":"APIProblem"},"AcceptedOperation":{"properties":{"operation_id":{"type":"string","maxLength":256,"minLength":1,"pattern":"^[A-Za-z0-9_.:@/-]+$","title":"Operation Id"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"status_url":{"type":"string","title":"Status Url"},"result_url":{"type":"string","title":"Result Url"}},"additionalProperties":false,"type":"object","required":["operation_id","created_at","status_url","result_url"],"title":"AcceptedOperation"},"AccountScope":{"properties":{"session_id":{"type":"string","maxLength":256,"minLength":1,"pattern":"^[A-Za-z0-9_.:@/-]+$","title":"Session Id"},"connection_id":{"type":"string","maxLength":256,"minLength":1,"pattern":"^[A-Za-z0-9_.:@/-]+$","title":"Connection Id"},"tenant_id":{"type":"string","maxLength":256,"minLength":1,"pattern":"^[A-Za-z0-9_.:@/-]+$","title":"Tenant Id"}},"additionalProperties":false,"type":"object","required":["session_id","connection_id","tenant_id"],"title":"AccountScope"},"AgentAppearance":{"properties":{"color":{"type":"string","enum":["ocean","violet","forest","amber","rose","slate","aurora","citrus","lagoon"],"title":"Color","default":"ocean"},"animate":{"type":"boolean","title":"Animate","default":true},"icon":{"type":"string","enum":["classic","scholar","shades","reader","headphones","bowtie"],"title":"Icon","default":"classic"}},"additionalProperties":false,"type":"object","title":"AgentAppearance"},"AgentPage":{"properties":{"items":{"items":{"$ref":"#/components/schemas/AgentSummary"},"type":"array","maxItems":100,"title":"Items"},"next_cursor":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Next Cursor"}},"additionalProperties":false,"type":"object","required":["items"],"title":"AgentPage"},"AgentSummary":{"properties":{"agent_id":{"type":"string","format":"uuid","title":"Agent Id"},"name":{"type":"string","title":"Name"},"description":{"type":"string","title":"Description"},"appearance":{"$ref":"#/components/schemas/AgentAppearance"},"revision":{"type":"integer","title":"Revision"},"status":{"type":"string","enum":["active","paused","archived"],"title":"Status"},"is_default":{"type":"boolean","title":"Is Default"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"additionalProperties":false,"type":"object","required":["agent_id","name","description","appearance","revision","status","is_default","updated_at"],"title":"AgentSummary"},"AlertPage":{"properties":{"items":{"items":{"$ref":"#/components/schemas/OperationAlert"},"type":"array","title":"Items"},"next_cursor":{"anyOf":[{"type":"string","pattern":"^[a-f0-9]{32}$"},{"type":"null"}],"title":"Next Cursor"},"delivery":{"type":"string","const":"poll","title":"Delivery","default":"poll"}},"additionalProperties":false,"type":"object","required":["items","next_cursor"],"title":"AlertPage"},"AnalystProgress":{"properties":{"task_id":{"type":"string","maxLength":256,"minLength":1,"pattern":"^[A-Za-z0-9_.:@/-]+$","title":"Task Id"},"label":{"type":"string","maxLength":160,"title":"Label"},"status":{"type":"string","enum":["pending","running","completed","partial","failed","cancelled"],"title":"Status"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"additionalProperties":false,"type":"object","required":["task_id","label","status","updated_at"],"title":"AnalystProgress"},"AnalystProgressPage":{"properties":{"operation_id":{"type":"string","maxLength":256,"minLength":1,"pattern":"^[A-Za-z0-9_.:@/-]+$","title":"Operation Id"},"items":{"items":{"$ref":"#/components/schemas/AnalystProgress"},"type":"array","maxItems":5,"title":"Items"},"state_source":{"type":"string","const":"durable_snapshot","title":"State Source","default":"durable_snapshot"}},"additionalProperties":false,"type":"object","required":["operation_id","items"],"title":"AnalystProgressPage"},"AnalyzeDataset":{"properties":{"action":{"type":"string","const":"analyze_dataset","title":"Action"},"dataset_id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9_.:-]{0,239}$","title":"Dataset Id"},"version":{"type":"integer","minimum":1.0,"title":"Version"},"operations":{"items":{"additionalProperties":{"$ref":"#/components/schemas/JsonValue"},"type":"object"},"type":"array","maxItems":8,"minItems":1,"title":"Operations"},"result_name":{"type":"string","maxLength":240,"minLength":1,"title":"Result Name","default":"Dataset analysis"}},"additionalProperties":false,"type":"object","required":["action","dataset_id","version","operations"],"title":"AnalyzeDataset"},"AnalyzeStep":{"properties":{"kind":{"type":"string","const":"analyze","title":"Kind"},"name":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,39}$","title":"Name"},"source_step":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,39}$","title":"Source Step"},"operations":{"items":{"additionalProperties":{"$ref":"#/components/schemas/JsonValue"},"type":"object"},"type":"array","maxItems":8,"minItems":1,"title":"Operations"},"result_name":{"type":"string","maxLength":240,"minLength":1,"title":"Result Name","default":"Dataset analysis"}},"additionalProperties":false,"type":"object","required":["kind","name","source_step","operations"],"title":"AnalyzeStep"},"AppDataBinding":{"properties":{"artifact_id":{"type":"string","maxLength":240,"minLength":1,"title":"Artifact Id"},"version":{"type":"integer","minimum":1.0,"title":"Version"}},"additionalProperties":false,"type":"object","required":["artifact_id","version"],"title":"AppDataBinding"},"AppDocumentLink":{"properties":{"report_id":{"type":"string","maxLength":240,"minLength":1,"title":"Report Id"},"report_version":{"type":"integer","minimum":1.0,"title":"Report Version","description":"Exact report version used as the merge baseline; synchronization advances it after saving both views."},"fields":{"patternProperties":{"^[A-Za-z][A-Za-z0-9_-]{0,79}$":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9_.:-]{0,119}$"}},"type":"object","maxProperties":120,"minProperties":1,"title":"Fields","description":"EditableText field ID to stable working-report prose block ID. Share plain prose blocks, not calculated data or embedded artifacts."}},"additionalProperties":false,"type":"object","required":["report_id","report_version","fields"],"title":"AppDocumentLink"},"AppInteractionCheck":{"properties":{"action":{"type":"string","enum":["text","click","change"],"title":"Action","default":"text"},"test_id":{"anyOf":[{"type":"string","maxLength":120,"pattern":"^[\\w-]+$"},{"type":"null"}],"title":"Test Id"},"value":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Value"},"expect_text":{"type":"string","maxLength":300,"minLength":1,"title":"Expect Text"},"document_field":{"anyOf":[{"type":"string","pattern":"^[A-Za-z][A-Za-z0-9_-]{0,79}$"},{"type":"null"}],"title":"Document Field","description":"For editable prose, assert the current document_text value of this stable field instead of freezing the initial expect_text wording."}},"additionalProperties":false,"type":"object","required":["expect_text"],"title":"AppInteractionCheck","description":"Small browser assertions the author supplies alongside the application."},"AppPageDimensions":{"properties":{"width_mm":{"type":"number","maximum":2000.0,"minimum":50.0,"title":"Width Mm"},"height_mm":{"type":"number","maximum":2000.0,"minimum":50.0,"title":"Height Mm"}},"additionalProperties":false,"type":"object","required":["width_mm","height_mm"],"title":"AppPageDimensions"},"AppSourceEdit":{"properties":{"path":{"type":"string","maxLength":180,"title":"Path","default":"artifact.tsx"},"before":{"type":"string","maxLength":40000,"minLength":1,"title":"Before"},"after":{"type":"string","maxLength":40000,"title":"After"}},"additionalProperties":false,"type":"object","required":["before","after"],"title":"AppSourceEdit","description":"Exact, single-match edits keep unrelated source and bindings intact."},"ArtifactAppContent":{"properties":{"schema_version":{"type":"string","const":"artifact-app.v1","title":"Schema Version","default":"artifact-app.v1"},"source":{"type":"string","maxLength":40000,"minLength":1,"title":"Source"},"files":{"additionalProperties":{"type":"string"},"type":"object","maxProperties":24,"title":"Files"},"dependencies":{"additionalProperties":{"type":"string"},"type":"object","maxProperties":12,"title":"Dependencies"},"css":{"type":"string","maxLength":16000,"title":"Css","default":""},"document_text":{"additionalProperties":{"type":"string"},"type":"object","maxProperties":120,"title":"Document Text"},"document_toolbar":{"type":"string","enum":["viewer","inline"],"title":"Document Toolbar","default":"viewer"},"document_link":{"anyOf":[{"$ref":"#/components/schemas/AppDocumentLink"},{"type":"null"}]},"bindings":{"additionalProperties":{"$ref":"#/components/schemas/AppDataBinding"},"type":"object","maxProperties":32,"title":"Bindings"},"deferred_bindings":{"items":{"type":"string"},"type":"array","maxItems":32,"title":"Deferred Bindings","default":[]},"assets":{"additionalProperties":{"$ref":"#/components/schemas/AppDataBinding"},"type":"object","maxProperties":12,"title":"Assets"},"style_references":{"additionalProperties":{"$ref":"#/components/schemas/AppDataBinding"},"type":"object","maxProperties":6,"title":"Style References"},"format":{"type":"string","enum":["dashboard","report","slides"],"title":"Format","default":"dashboard"},"page_size":{"type":"string","enum":["A4","letter","16:9","custom"],"title":"Page Size","default":"A4"},"page_dimensions":{"anyOf":[{"$ref":"#/components/schemas/AppPageDimensions"},{"type":"null"}]},"orientation":{"type":"string","enum":["portrait","landscape"],"title":"Orientation","default":"portrait"},"height":{"type":"integer","maximum":1600.0,"minimum":320.0,"title":"Height","default":760},"description":{"type":"string","maxLength":800,"minLength":1,"title":"Description"}},"additionalProperties":false,"type":"object","required":["source","description"],"title":"ArtifactAppContent","description":"Authored source is untrusted text, never a ready-to-execute bundle."},"ArtifactAppSource":{"properties":{"schema_version":{"type":"string","const":"artifact-app.v1","title":"Schema Version","default":"artifact-app.v1"},"source":{"type":"string","maxLength":40000,"minLength":1,"title":"Source","description":"React TSX module with a default App export. Foundation packages are listed by describe_artifact_families; declare exact versions for additional browser npm packages. Data comes from @truman/artifact, never provider requests or invented observations."},"document_brand_asset":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Document Brand Asset","description":"Replace the bottom-right Truflation mark only when the user explicitly asks to use their supplied logo. Reference an owned app.assets alias, never a URL. Omit for the default Truflation logo."},"document_toolbar":{"type":"string","enum":["viewer","inline"],"title":"Document Toolbar","description":"Standalone reports/slides keep the viewer toolbar. In mixed dashboards use inline and place DocumentControls next to the editable document section.","default":"viewer"},"document_link":{"anyOf":[{"$ref":"#/components/schemas/AppDocumentLink"},{"type":"null"}],"description":"Optional explicit link to an owned working Report. Use sync_artifact_document to merge edits in either direction; conflicting edits are never overwritten. Reference the report's actual stable block IDs."},"document_text":{"patternProperties":{"^[A-Za-z][A-Za-z0-9_-]{0,79}$":{"type":"string","maxLength":6000}},"type":"object","maxProperties":120,"title":"Document Text","description":"Authored prose keyed by stable field IDs. Render with EditableText field='id'; direct browser edits create a new version. Never put dataset values, calculations or source metadata here."},"document_format":{"patternProperties":{"^[A-Za-z][A-Za-z0-9_-]{0,79}$":{"$ref":"#/components/schemas/TextFormat"}},"type":"object","maxProperties":120,"title":"Document Format","description":"Optional safe rich text and paragraph formatting for declared document_text fields. Run text must match the field exactly; never include HTML."},"document_layout":{"patternProperties":{"^[A-Za-z][A-Za-z0-9_-]{0,79}$":{"$ref":"#/components/schemas/ElementLayout"}},"type":"object","maxProperties":120,"title":"Document Layout","description":"Stable editable region/image IDs rendered by EditableRegion/EditableImage. Images reference owned app.assets aliases only. Users can adjust columns, spacing, alignment and width; layout checks run before saves."},"files":{"additionalProperties":{"type":"string"},"type":"object","maxProperties":24,"title":"Files","description":"Optional relative TSX/TS/JS/CSS component files, including copied shadcn components. No config files or scripts."},"dependencies":{"additionalProperties":{"type":"string"},"type":"object","maxProperties":12,"title":"Dependencies","description":"Additional browser npm packages, each pinned to an exact published version. Foundation libraries need no declaration. No remote imports, install scripts or server packages."},"css":{"type":"string","maxLength":16000,"title":"Css","description":"Custom CSS. Use --app-bg, --app-surface, --app-text, --app-muted, --app-border, --app-accent theme tokens.","default":""},"bindings":{"additionalProperties":{"$ref":"#/components/schemas/AppDataBinding"},"type":"object","maxProperties":32,"title":"Bindings"},"deferred_bindings":{"items":{"type":"string"},"type":"array","maxItems":32,"title":"Deferred Bindings","description":"Saved resources to load only when their detail view mounts or requests them. Export/review still uses complete data.","default":[]},"assets":{"additionalProperties":{"$ref":"#/components/schemas/AppDataBinding"},"type":"object","maxProperties":12,"title":"Assets","description":"Session-owned uploaded images to embed and preserve with the artifact; access with useAsset(alias)."},"style_references":{"additionalProperties":{"$ref":"#/components/schemas/AppDataBinding"},"type":"object","maxProperties":6,"title":"Style References","description":"Uploaded documents/images used only as visual references. These do not validate factual claims or authorize copying their old figures."},"format":{"type":"string","enum":["dashboard","report","slides"],"title":"Format","default":"dashboard"},"page_size":{"type":"string","enum":["A4","letter","16:9","custom"],"title":"Page Size","default":"A4"},"page_dimensions":{"anyOf":[{"$ref":"#/components/schemas/AppPageDimensions"},{"type":"null"}],"description":"Required only for custom pages. Exact final width and height in mm; orientation does not swap custom dimensions."},"orientation":{"type":"string","enum":["portrait","landscape"],"title":"Orientation","default":"portrait"},"style_notes":{"type":"string","maxLength":2000,"title":"Style Notes","description":"Design observations from the reference: typography, palette, spacing, page structure. State when visual inspection was unavailable; text extraction alone cannot verify styling.","default":""},"checks":{"items":{"$ref":"#/components/schemas/AppInteractionCheck"},"type":"array","maxItems":32,"minItems":1,"title":"Checks"},"height":{"type":"integer","maximum":1600.0,"minimum":320.0,"title":"Height","default":760},"description":{"type":"string","maxLength":800,"minLength":1,"title":"Description","description":"Describe what users can inspect and interact with. Do not claim that compilation proves visual or factual correctness."}},"additionalProperties":false,"type":"object","required":["source","checks","description"],"title":"ArtifactAppSource"},"ArtifactCheck":{"properties":{"block_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Block Id"},"check":{"type":"string","enum":["saved_evidence_status","schema_and_dependencies","browser_render"],"title":"Check"},"status":{"type":"string","enum":["passed","failed","needs_review","not_run"],"title":"Status"},"issue_categories":{"items":{"type":"string","enum":["layout","interaction","navigation","runtime","other"]},"type":"array","title":"Issue Categories","default":[]}},"additionalProperties":false,"type":"object","required":["check","status"],"title":"ArtifactCheck"},"ArtifactExplorationView":{"properties":{"revision":{"type":"integer","minimum":0.0,"title":"Revision"},"artifact_version":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Artifact Version"},"state":{"additionalProperties":{"$ref":"#/components/schemas/JsonValue"},"type":"object","title":"State"}},"additionalProperties":false,"type":"object","required":["revision","state"],"title":"ArtifactExplorationView"},"ArtifactExport":{"properties":{"filename":{"type":"string","title":"Filename"},"content_type":{"type":"string","title":"Content Type"},"byte_count":{"type":"integer","title":"Byte Count"},"sha256":{"type":"string","title":"Sha256"},"content_url":{"type":"string","title":"Content Url"}},"additionalProperties":false,"type":"object","required":["filename","content_type","byte_count","sha256","content_url"],"title":"ArtifactExport"},"ArtifactInput":{"properties":{"kind":{"type":"string","enum":["artifact","dataset","file"],"title":"Kind"},"artifact_id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9_.:-]{0,239}$","title":"Artifact Id"},"version":{"type":"integer","minimum":1.0,"title":"Version"}},"additionalProperties":false,"type":"object","required":["kind","artifact_id","version"],"title":"ArtifactInput"},"ArtifactJobRequest":{"properties":{"command":{"oneOf":[{"$ref":"#/components/schemas/StartEquityBrief"},{"$ref":"#/components/schemas/RerunEquityBrief"},{"$ref":"#/components/schemas/DatasetProgram"},{"$ref":"#/components/schemas/RefreshInteractive"},{"$ref":"#/components/schemas/ExtractDocumentTable"},{"$ref":"#/components/schemas/SyncDocument"},{"$ref":"#/components/schemas/EditReportDocument"},{"$ref":"#/components/schemas/EditDocumentText"},{"$ref":"#/components/schemas/RestoreReport"},{"$ref":"#/components/schemas/ExtractReportTable"},{"$ref":"#/components/schemas/Compute"},{"$ref":"#/components/schemas/ImportSeries"},{"$ref":"#/components/schemas/ImportProvider"},{"$ref":"#/components/schemas/CollectProvider"},{"$ref":"#/components/schemas/AnalyzeDataset"},{"$ref":"#/components/schemas/CreateReport"},{"$ref":"#/components/schemas/ReviseReport"},{"$ref":"#/components/schemas/CreateInteractive"},{"$ref":"#/components/schemas/ReviseInteractive"},{"$ref":"#/components/schemas/CreateChart"},{"$ref":"#/components/schemas/ReviseChart"},{"$ref":"#/components/schemas/ValidateArtifact"},{"$ref":"#/components/schemas/ExportArtifact"},{"$ref":"#/components/schemas/PublishArtifact"}],"title":"Command","discriminator":{"propertyName":"action","mapping":{"analyze_dataset":"#/components/schemas/AnalyzeDataset","collect_provider":"#/components/schemas/CollectProvider","compute":"#/components/schemas/Compute","create_chart":"#/components/schemas/CreateChart","create_interactive":"#/components/schemas/CreateInteractive","create_report":"#/components/schemas/CreateReport","dataset_program":"#/components/schemas/DatasetProgram","edit_document_text":"#/components/schemas/EditDocumentText","edit_report_document":"#/components/schemas/EditReportDocument","export":"#/components/schemas/ExportArtifact","extract_document_table":"#/components/schemas/ExtractDocumentTable","extract_report_table":"#/components/schemas/ExtractReportTable","import_provider":"#/components/schemas/ImportProvider","import_series":"#/components/schemas/ImportSeries","publish":"#/components/schemas/PublishArtifact","refresh_interactive":"#/components/schemas/RefreshInteractive","rerun_equity_brief":"#/components/schemas/RerunEquityBrief","restore_report":"#/components/schemas/RestoreReport","revise_chart":"#/components/schemas/ReviseChart","revise_interactive":"#/components/schemas/ReviseInteractive","revise_report":"#/components/schemas/ReviseReport","start_equity_brief":"#/components/schemas/StartEquityBrief","sync_document":"#/components/schemas/SyncDocument","validate":"#/components/schemas/ValidateArtifact"}}},"inputs":{"items":{"$ref":"#/components/schemas/ArtifactInput"},"type":"array","maxItems":40,"title":"Inputs","default":[]}},"additionalProperties":false,"type":"object","required":["command"],"title":"ArtifactJobRequest"},"ArtifactJobView":{"properties":{"job_id":{"type":"string","title":"Job Id"},"session_id":{"type":"string","title":"Session Id"},"action":{"type":"string","title":"Action"},"status":{"type":"string","enum":["queued","processing","completed","failed","cancelled"],"title":"Status"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"},"failure_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Failure Code"},"failure_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Failure Message"},"resource":{"anyOf":[{"$ref":"#/components/schemas/WorkspaceSummary"},{"type":"null"}]},"resources":{"items":{"$ref":"#/components/schemas/WorkspaceSummary"},"type":"array","title":"Resources","default":[]},"computation":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/JsonValue"},"type":"object"},{"type":"null"}],"title":"Computation"},"provider_cost_usd":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Provider Cost Usd"},"collection":{"anyOf":[{"$ref":"#/components/schemas/CollectionProgress"},{"type":"null"}]},"program":{"anyOf":[{"$ref":"#/components/schemas/ProgramProgress"},{"type":"null"}]},"equity":{"anyOf":[{"$ref":"#/components/schemas/EquityProgress"},{"type":"null"}]},"validation":{"anyOf":[{"$ref":"#/components/schemas/ArtifactValidation"},{"type":"null"}]},"export":{"anyOf":[{"$ref":"#/components/schemas/ArtifactExport"},{"type":"null"}]},"share":{"anyOf":[{"$ref":"#/components/schemas/ArtifactShare"},{"type":"null"}]},"pricing_policy_id":{"type":"string","const":"staging-artifact-test@1","title":"Pricing Policy Id","default":"staging-artifact-test@1"},"test_only":{"type":"boolean","const":true,"title":"Test Only","default":true},"credits":{"type":"integer","const":0,"title":"Credits","default":0}},"additionalProperties":false,"type":"object","required":["job_id","session_id","action","status","created_at","expires_at"],"title":"ArtifactJobView"},"ArtifactReviewComment":{"properties":{"id":{"type":"string","maxLength":80,"minLength":1,"pattern":"^[A-Za-z0-9_-]+$","title":"Id"},"label":{"type":"string","maxLength":160,"title":"Label"},"text":{"type":"string","maxLength":3000,"title":"Text"},"element":{"type":"string","maxLength":120,"title":"Element"},"page":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Page"},"comment":{"type":"string","maxLength":1200,"title":"Comment"},"version":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Version"},"status":{"type":"string","enum":["open","resolved"],"title":"Status","default":"open"},"anchor":{"anyOf":[{"type":"string","maxLength":800},{"type":"null"}],"title":"Anchor"},"prefix":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Prefix"},"suffix":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Suffix"}},"additionalProperties":false,"type":"object","required":["id","label","text","element","comment"],"title":"ArtifactReviewComment"},"ArtifactReviewRequest":{"properties":{"artifact_version":{"type":"integer","minimum":1.0,"title":"Artifact Version"},"expected_revision":{"type":"integer","minimum":0.0,"title":"Expected Revision"},"comments":{"items":{"$ref":"#/components/schemas/ArtifactReviewComment"},"type":"array","maxItems":50,"title":"Comments"}},"additionalProperties":false,"type":"object","required":["artifact_version","expected_revision","comments"],"title":"ArtifactReviewRequest"},"ArtifactReviewView":{"properties":{"revision":{"type":"integer","minimum":0.0,"title":"Revision"},"comments":{"items":{"$ref":"#/components/schemas/ArtifactReviewComment"},"type":"array","maxItems":50,"title":"Comments"}},"additionalProperties":false,"type":"object","required":["revision","comments"],"title":"ArtifactReviewView"},"ArtifactShare":{"properties":{"share_id":{"type":"string","title":"Share Id"},"title":{"type":"string","title":"Title"},"version":{"type":"integer","title":"Version"},"theme":{"type":"string","enum":["light","dark"],"title":"Theme"},"published_at":{"type":"string","format":"date-time","title":"Published At"},"url":{"type":"string","title":"Url"}},"additionalProperties":false,"type":"object","required":["share_id","title","version","theme","published_at","url"],"title":"ArtifactShare"},"ArtifactStateRequest":{"properties":{"artifact_version":{"type":"integer","minimum":1.0,"title":"Artifact Version"},"expected_revision":{"type":"integer","minimum":0.0,"title":"Expected Revision"},"state":{"additionalProperties":{"$ref":"#/components/schemas/JsonValue"},"type":"object","maxProperties":40,"title":"State"}},"additionalProperties":false,"type":"object","required":["artifact_version","expected_revision"],"title":"ArtifactStateRequest"},"ArtifactStructurePage":{"properties":{"schema_version":{"type":"string","const":"artifact-structure.v1","title":"Schema Version","default":"artifact-structure.v1"},"artifact":{"$ref":"#/components/schemas/WorkspaceSummary"},"report":{"anyOf":[{"$ref":"#/components/schemas/ReportMetadata"},{"type":"null"}]},"interactive":{"anyOf":[{"$ref":"#/components/schemas/InteractiveMetadata"},{"type":"null"}]},"chart":{"anyOf":[{"$ref":"#/components/schemas/ChartMetadata"},{"type":"null"}]},"blocks":{"items":{"anyOf":[{"$ref":"#/components/schemas/ReportBlock"},{"$ref":"#/components/schemas/InteractiveBlock"}]},"type":"array","title":"Blocks"},"offset":{"type":"integer","title":"Offset"},"limit":{"type":"integer","title":"Limit"},"total_blocks":{"type":"integer","title":"Total Blocks"},"next_offset":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Next Offset"}},"additionalProperties":false,"type":"object","required":["artifact","blocks","offset","limit","total_blocks","next_offset"],"title":"ArtifactStructurePage"},"ArtifactValidation":{"properties":{"artifact_id":{"type":"string","title":"Artifact Id"},"version":{"type":"integer","title":"Version"},"checks":{"items":{"$ref":"#/components/schemas/ArtifactCheck"},"type":"array","title":"Checks"},"evidence_status":{"type":"string","title":"Evidence Status"},"factuality_audit":{"type":"string","const":"not_run","title":"Factuality Audit","default":"not_run"}},"additionalProperties":false,"type":"object","required":["artifact_id","version","checks","evidence_status"],"title":"ArtifactValidation"},"ArtifactWorkflow":{"properties":{"workflow_ref":{"type":"string","const":"artifacts.manage@1","title":"Workflow Ref","default":"artifacts.manage@1"},"description":{"type":"string","title":"Description","default":"Create or edit a saved artifact, validate it, download an export or explicitly publish an immutable snapshot."},"required_scopes":{"items":{"$ref":"#/components/schemas/Scope"},"type":"array","title":"Required Scopes","default":["workspace:read","workspace:write"]},"optional_scopes":{"items":{"$ref":"#/components/schemas/Scope"},"type":"array","title":"Optional Scopes","default":["validation:run","exports:create","shares:read","shares:write","operations:cancel","computation:run","equity:run","files:delete"]},"submit_path":{"type":"string","title":"Submit Path","default":"/v1/sessions/{session_id}/artifact-jobs"},"status_path":{"type":"string","title":"Status Path","default":"/v1/artifact-jobs/{job_id}"},"cancel_path":{"type":"string","title":"Cancel Path","default":"/v1/artifact-jobs/{job_id}/cancel"},"content_path":{"type":"string","title":"Content Path","default":"/v1/artifact-jobs/{job_id}/content"},"dataset_export_path":{"type":"string","title":"Dataset Export Path","default":"/v1/sessions/{session_id}/datasets/{artifact_id}/export?version={version}"},"file_removal_path":{"type":"string","title":"File Removal Path","default":"/v1/sessions/{session_id}/files/{artifact_id}"},"file_removal_method":{"type":"string","const":"DELETE","title":"File Removal Method","default":"DELETE"},"shares_path":{"type":"string","title":"Shares Path","default":"/v1/sessions/{session_id}/artifacts/{artifact_id}/shares"},"idempotency_header":{"type":"string","title":"Idempotency Header","default":"Idempotency-Key"},"submission_schema":{"additionalProperties":{"$ref":"#/components/schemas/JsonValue"},"type":"object","title":"Submission Schema"},"actions":{"items":{"type":"string"},"type":"array","title":"Actions"},"pricing_policy_id":{"type":"string","const":"staging-artifact-test@1","title":"Pricing Policy Id","default":"staging-artifact-test@1"},"test_only":{"type":"boolean","const":true,"title":"Test Only","default":true},"maximum_credits":{"type":"integer","const":0,"title":"Maximum Credits","default":0},"limitations":{"items":{"type":"string"},"type":"array","title":"Limitations","default":["Staging only, zero-credit test policy; production tariffs are not configured.","collect_provider saves native macro/USDA, FRED, Truflation Feed, TRUF Network, FMP, Cambrian, PortWatch, FIRMS, DeFiLlama and market-composite data with durable provider-response replay and chunked storage. Native collection ceilings and account storage quotas apply; quota exhaustion fails without truncated success. Partial upstream coverage remains explicit.","analyze_dataset runs the native deterministic operation engine on an explicitly pinned dataset version, not its paginated preview. Requires data:read and derived_analysis authority.","dataset_program durably chains up to 12 named collect/analyze steps using the same jobs. It yields while children run, resumes after restart, and retains completed datasets if a later step fails. This is a declarative data pipeline; arbitrary code-mode programs remain read-only.","refresh_interactive replaces explicit existing data bindings while preserving authored design. Pin old bindings in previous_inputs and replacements in inputs. Partial refreshed coverage requires allow_partial=true. For an automatic policy, create a refresh schedule with follow_latest=true and explicit spending ceilings.","start_equity_brief/rerun_equity_brief use native Exa Agent/FMP jobs with explicit equity:run consent and source authority. Poll the artifact job for durable progress; no provider job ID is exposed. Completed modern briefs return source material for custom authoring. Staging only, at most 10 submissions per grant per day; production pricing remains unset.","compute uses the native isolated scientific sandbox over pinned datasets. It requires explicit computation:run consent and configured sandbox access. All output datasets retain source lineage. An uncertain execution is never automatically repeated.","Inputs must explicitly pin every referenced resource and version. Edits compare expected_version; retries reuse Idempotency-Key.","Schemas and browser checks reuse native services. No fresh factuality model audit is run.","Exports require the download entitlement. PDF/PowerPoint require paper documents; dashboards use HTML or a selected PNG block.","Dataset CSV export includes every stored row from an explicit version, with separate coverage metadata and native collection byte ceilings. It requires exports:create and dataset read access. The CSV is verified and disk-spooled before delivery, not limited to preview rows.","Removing an uploaded file requires files:delete plus workspace read/write, Idempotency-Key and expected_version in the DELETE body. Removal unlinks all saved versions; shared physical bodies and existing report/share snapshots retain their normal lifecycle. It is distinct from deleting an operation result.","Publishing requires shares:read/write, exports:create, external_action permission and include_bound_data=true. Revocation is explicit.","Hosts may submit jobs directly; delegated research requires artifacts=true and the same workspace/action permissions. Pending collections pause and resume automatically with the original credit reservation. Clarification questions still require host input. Research cannot publish public links."]}},"additionalProperties":false,"type":"object","required":["submission_schema","actions"],"title":"ArtifactWorkflow"},"AuditMetric":{"properties":{"metric":{"$ref":"#/components/schemas/FactualityMetricName"},"polarity":{"$ref":"#/components/schemas/MetricPolarity"},"verdict":{"$ref":"#/components/schemas/MetricVerdict"},"score":{"anyOf":[{"type":"number","maximum":1.0,"minimum":0.0},{"type":"null"}],"title":"Score"},"numerator":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Numerator"},"denominator":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Denominator"}},"additionalProperties":false,"type":"object","required":["metric","polarity","verdict"],"title":"AuditMetric"},"AuditPage":{"properties":{"items":{"items":{"$ref":"#/components/schemas/AuditView"},"type":"array","title":"Items"},"next_cursor":{"anyOf":[{"type":"string","maxLength":256,"minLength":1,"pattern":"^[A-Za-z0-9_.:@/-]+$"},{"type":"null"}],"title":"Next Cursor"},"source":{"type":"string","const":"saved_async_audits","title":"Source","default":"saved_async_audits"},"empty_means":{"type":"string","const":"no_matching_saved_audits","title":"Empty Means","default":"no_matching_saved_audits"}},"additionalProperties":false,"type":"object","required":["items","next_cursor"],"title":"AuditPage"},"AuditView":{"properties":{"evaluation_id":{"type":"string","maxLength":256,"minLength":1,"pattern":"^[A-Za-z0-9_.:@/-]+$","title":"Evaluation Id"},"run_id":{"type":"string","maxLength":256,"minLength":1,"pattern":"^[A-Za-z0-9_.:@/-]+$","title":"Run Id"},"session_id":{"type":"string","maxLength":256,"minLength":1,"pattern":"^[A-Za-z0-9_.:@/-]+$","title":"Session Id"},"evaluator_version":{"type":"string","maxLength":64,"title":"Evaluator Version"},"evaluator_config_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$","title":"Evaluator Config Sha256"},"source_checkpoint_revision":{"type":"integer","minimum":0.0,"title":"Source Checkpoint Revision"},"applies_to_current_checkpoint":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Applies To Current Checkpoint"},"status":{"$ref":"#/components/schemas/FactualityEvaluationStatus"},"scorable_coverage":{"anyOf":[{"$ref":"#/components/schemas/ScorableCoverage"},{"type":"null"}]},"metrics_status":{"type":"string","enum":["available","not_ready","unavailable"],"title":"Metrics Status"},"metrics":{"items":{"$ref":"#/components/schemas/AuditMetric"},"type":"array","title":"Metrics"},"reason":{"anyOf":[{"type":"string","enum":["checkpoint_too_large","audit_input_too_large","invalid_checkpoint","audit_skipped","audit_failed","metrics_unavailable"]},{"type":"null"}],"title":"Reason"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"completed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Completed At"}},"additionalProperties":false,"type":"object","required":["evaluation_id","run_id","session_id","evaluator_version","evaluator_config_sha256","source_checkpoint_revision","applies_to_current_checkpoint","status","scorable_coverage","metrics_status","metrics","created_at","updated_at","completed_at"],"title":"AuditView"},"CapabilityDescription":{"properties":{"capability_ref":{"type":"string","pattern":"^[a-z][a-z0-9_.]{0,99}@[1-9][0-9]{0,3}$","title":"Capability Ref"},"description":{"type":"string","title":"Description"},"when_to_use":{"type":"string","title":"When To Use"},"limitations":{"items":{"type":"string"},"type":"array","title":"Limitations"},"required_scopes":{"items":{"$ref":"#/components/schemas/Scope"},"type":"array","title":"Required Scopes"},"requires_connection":{"type":"boolean","title":"Requires Connection"},"pricing":{"$ref":"#/components/schemas/CapabilityPricing"},"input_schema":{"additionalProperties":{"$ref":"#/components/schemas/JsonValue"},"type":"object","title":"Input Schema"},"output_schema":{"additionalProperties":{"$ref":"#/components/schemas/JsonValue"},"type":"object","title":"Output Schema"},"max_output_bytes":{"type":"integer","minimum":1.0,"title":"Max Output Bytes"}},"additionalProperties":false,"type":"object","required":["capability_ref","description","when_to_use","limitations","required_scopes","requires_connection","pricing","input_schema","output_schema","max_output_bytes"],"title":"CapabilityDescription"},"CapabilityPage":{"properties":{"items":{"items":{"$ref":"#/components/schemas/CapabilitySummary"},"type":"array","title":"Items"},"next_cursor":{"anyOf":[{"type":"string","pattern":"^[a-z][a-z0-9_.]{0,99}@[1-9][0-9]{0,3}$"},{"type":"null"}],"title":"Next Cursor"}},"additionalProperties":false,"type":"object","required":["items"],"title":"CapabilityPage"},"CapabilityPricing":{"properties":{"unit":{"type":"string","const":"credits","title":"Unit"},"test_only":{"type":"boolean","title":"Test Only","default":false},"pricing_policy_id":{"type":"string","maxLength":256,"minLength":1,"pattern":"^[A-Za-z0-9_.:@/-]+$","title":"Pricing Policy Id"},"maximum_credits":{"type":"integer","minimum":0.0,"title":"Maximum Credits"},"completed_credits":{"type":"integer","minimum":0.0,"title":"Completed Credits"},"partial_credits":{"type":"integer","minimum":0.0,"title":"Partial Credits"}},"additionalProperties":false,"type":"object","required":["unit","pricing_policy_id","maximum_credits","completed_credits","partial_credits"],"title":"CapabilityPricing"},"CapabilitySummary":{"properties":{"capability_ref":{"type":"string","pattern":"^[a-z][a-z0-9_.]{0,99}@[1-9][0-9]{0,3}$","title":"Capability Ref"},"description":{"type":"string","title":"Description"},"when_to_use":{"type":"string","title":"When To Use"},"limitations":{"items":{"type":"string"},"type":"array","title":"Limitations"},"required_scopes":{"items":{"$ref":"#/components/schemas/Scope"},"type":"array","title":"Required Scopes"},"requires_connection":{"type":"boolean","title":"Requires Connection"},"pricing":{"$ref":"#/components/schemas/CapabilityPricing"},"side_effect":{"$ref":"#/components/schemas/SideEffectClass"},"idempotency":{"$ref":"#/components/schemas/IdempotencyPolicy"}},"additionalProperties":false,"type":"object","required":["capability_ref","description","when_to_use","limitations","required_scopes","requires_connection","pricing","side_effect","idempotency"],"title":"CapabilitySummary"},"ChartAnnotation":{"properties":{"annotation_id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9_.:-]{0,79}$","title":"Annotation Id"},"label":{"type":"string","maxLength":300,"minLength":1,"title":"Label"},"kind":{"$ref":"#/components/schemas/ChartAnnotationKind","default":"point"},"x_value":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"null"}],"title":"X Value"},"x_end":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"null"}],"title":"X End"},"y_value":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Y Value"},"y_end":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Y End"},"series_field":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Series Field"},"color":{"type":"string","pattern":"^#[0-9A-Fa-f]{6}$","title":"Color","default":"#94a3b8"}},"additionalProperties":false,"type":"object","required":["annotation_id","label"],"title":"ChartAnnotation"},"ChartAnnotationKind":{"type":"string","enum":["point","x_line","y_line","x_band","y_band"],"title":"ChartAnnotationKind"},"ChartAxisScale":{"type":"string","enum":["auto","linear","log","time","category"],"title":"ChartAxisScale"},"ChartAxisSide":{"type":"string","enum":["left","right"],"title":"ChartAxisSide"},"ChartAxisSpec":{"properties":{"label":{"type":"string","maxLength":160,"minLength":1,"title":"Label","description":"Semantic axis label without a unit suffix, e.g. Inflation rate. The renderer adds axis.unit once."},"unit":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Unit","description":"Display unit, e.g. %, pp, bps or USD. Do not repeat it in label or numeric values. % expects percent-valued numbers (3.2 means 3.2%), not fractions; preserve the source representation or explicitly derive the required conversion once."},"number_format":{"type":"string","pattern":"^[a-z0-9_.-]{1,40}$","title":"Number Format","default":"auto"},"zero_baseline":{"type":"boolean","title":"Zero Baseline","default":false},"scale":{"$ref":"#/components/schemas/ChartAxisScale","default":"auto"},"domain_min":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Domain Min"},"domain_max":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Domain Max"},"tick_count":{"anyOf":[{"type":"integer","maximum":20.0,"minimum":2.0},{"type":"null"}],"title":"Tick Count","description":"Optional tick-density hint. Prefer automatic ticks; the renderer may show fewer labels at narrow widths while retaining every observation."}},"additionalProperties":false,"type":"object","required":["label"],"title":"ChartAxisSpec"},"ChartCurve":{"type":"string","enum":["linear","monotone","step"],"title":"ChartCurve"},"ChartIntent":{"type":"string","enum":["trend","comparison","composition","distribution","relationship"],"title":"ChartIntent"},"ChartLegendPosition":{"type":"string","enum":["top","bottom","right","hidden"],"title":"ChartLegendPosition"},"ChartLineStyle":{"type":"string","enum":["solid","dashed","dotted"],"title":"ChartLineStyle"},"ChartMarkType":{"type":"string","enum":["line","bar","area","point"],"title":"ChartMarkType"},"ChartMetadata":{"properties":{"parent_version":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Parent Version"},"revision_kind":{"$ref":"#/components/schemas/WorkspaceRevisionKind"},"schema_version":{"type":"string","title":"Schema Version"},"spec":{"$ref":"#/components/schemas/ChartSpecInput-Output"},"editable":{"type":"boolean","title":"Editable"}},"additionalProperties":false,"type":"object","required":["revision_kind","schema_version","spec","editable"],"title":"ChartMetadata"},"ChartPresentation":{"properties":{"background":{"anyOf":[{"type":"string","pattern":"^#[0-9A-Fa-f]{6}$"},{"type":"null"}],"title":"Background"},"foreground":{"anyOf":[{"type":"string","pattern":"^#[0-9A-Fa-f]{6}$"},{"type":"null"}],"title":"Foreground"},"muted":{"anyOf":[{"type":"string","pattern":"^#[0-9A-Fa-f]{6}$"},{"type":"null"}],"title":"Muted"},"grid":{"anyOf":[{"type":"string","pattern":"^#[0-9A-Fa-f]{6}$"},{"type":"null"}],"title":"Grid"},"height":{"anyOf":[{"type":"integer","maximum":1200.0,"minimum":240.0},{"type":"null"}],"title":"Height","description":"Plot height in pixels, shared by inline, workspace and exports."}},"additionalProperties":false,"type":"object","title":"ChartPresentation","description":"Portable paint tokens shared by inline, workspace and exported charts."},"ChartRangePreset":{"type":"string","enum":["all","1m","3m","6m","ytd","1y","3y","5y"],"title":"ChartRangePreset"},"ChartSeriesSpec":{"properties":{"field":{"type":"string","maxLength":120,"minLength":1,"title":"Field"},"label":{"type":"string","maxLength":160,"minLength":1,"title":"Label"},"color":{"type":"string","pattern":"^#[0-9A-Fa-f]{6}$","title":"Color"},"axis":{"$ref":"#/components/schemas/ChartAxisSide","default":"left"},"mark":{"anyOf":[{"$ref":"#/components/schemas/ChartMarkType"},{"type":"null"}]},"curve":{"$ref":"#/components/schemas/ChartCurve","default":"monotone"},"line_style":{"$ref":"#/components/schemas/ChartLineStyle","default":"solid"},"stroke_width":{"type":"number","maximum":8.0,"minimum":0.5,"title":"Stroke Width","default":2.0},"opacity":{"type":"number","maximum":1.0,"minimum":0.05,"title":"Opacity","default":1.0},"show_points":{"type":"boolean","title":"Show Points","default":false},"stack_id":{"anyOf":[{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9_.:-]{0,79}$"},{"type":"null"}],"title":"Stack Id"}},"additionalProperties":false,"type":"object","required":["field","label","color"],"title":"ChartSeriesSpec"},"ChartSpecInput-Input":{"properties":{"title":{"type":"string","maxLength":300,"minLength":1,"title":"Title"},"subtitle":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Subtitle"},"intent":{"$ref":"#/components/schemas/ChartIntent","default":"comparison"},"chart_type":{"$ref":"#/components/schemas/ChartType","default":"native"},"dataset_artifact_id":{"type":"string","maxLength":240,"minLength":1,"title":"Dataset Artifact Id"},"dataset_version":{"type":"integer","minimum":1.0,"title":"Dataset Version"},"x_field":{"type":"string","maxLength":120,"title":"X Field","default":""},"series":{"items":{"$ref":"#/components/schemas/ChartSeriesSpec"},"type":"array","maxItems":8,"title":"Series","default":[]},"x_axis":{"$ref":"#/components/schemas/ChartAxisSpec"},"left_axis":{"$ref":"#/components/schemas/ChartAxisSpec"},"native":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"string"},{"type":"null"}],"title":"Native","description":"TanStack defineChart options. Tool callers should send a JSON STRING here so arbitrary native options survive strict provider schemas. The server parses and validates it into an object. Native calls: {\"$call\":\"dot\",\"args\":[{\"$data\":true},{\"x\":\"value\",\"y\":\"category\"}]}. $data binds the exact saved dataset. marks can compose any registered TanStack marks/transforms. REQUIRED scales.x and scales.y use $call:scaleLinear/scalePoint/scaleBand with args:[] (null for unused polar axes). Optional methods:[{name:domain,args:[[0,10]]}] belongs inside the scale's $call object. scales contains position scales only; color is a separate top-level object, e.g. color:{legend:true}. For multiple series use a mark color channel, e.g. color:component; stroke/fill strings are literal CSS colors, not series field names. Use {$field:column} for field accessors, {$date:column} for date accessors. Line/area curve names: linear, monotone, monotoneX, monotoneY, step, stepBefore, stepAfter, basis, natural. Use linear areaY with y1/y2 for exact lower/upper forecast bands; no invented quantiles. No JavaScript, HTML, remote data, or literal replacement rows. When native is supplied, legacy x_field/series/axes are unnecessary. For precise family contracts call read_chart_guide. Sankey uses {$call:sankey,args:[{$data:true},{source:source,target:target,value:value}]} with scales.x/y:null, guides:false; field names must match semantic edge rows."},"right_axis":{"anyOf":[{"$ref":"#/components/schemas/ChartAxisSpec"},{"type":"null"}]},"legend":{"$ref":"#/components/schemas/ChartLegendPosition","default":"top"},"annotations":{"items":{"$ref":"#/components/schemas/ChartAnnotation"},"type":"array","maxItems":20,"title":"Annotations","default":[]},"range_presets":{"items":{"$ref":"#/components/schemas/ChartRangePreset"},"type":"array","maxItems":8,"minItems":1,"title":"Range Presets","default":["all","1m","3m","6m","ytd","1y","3y","5y"]},"initial_range":{"$ref":"#/components/schemas/ChartRangePreset","default":"all"},"as_of":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"As Of"},"accessibility_description":{"type":"string","maxLength":1000,"minLength":1,"title":"Accessibility Description"},"source_note":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Source Note"},"theme":{"$ref":"#/components/schemas/ChartTheme","description":"Use auto to follow the viewer theme. Fix light/dark only when explicitly requested by the user.","default":"auto"},"presentation":{"anyOf":[{"$ref":"#/components/schemas/ChartPresentation"},{"type":"null"}]},"footnotes":{"items":{"type":"string"},"type":"array","maxItems":8,"title":"Footnotes","default":[]}},"additionalProperties":false,"type":"object","required":["title","dataset_artifact_id","dataset_version","accessibility_description"],"title":"ChartSpecInput","description":"Caller-authored chart intent before server-owned dataset binding."},"ChartSpecInput-Output":{"properties":{"title":{"type":"string","maxLength":300,"minLength":1,"title":"Title"},"subtitle":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Subtitle"},"intent":{"$ref":"#/components/schemas/ChartIntent","default":"comparison"},"chart_type":{"$ref":"#/components/schemas/ChartType","default":"native"},"dataset_artifact_id":{"type":"string","maxLength":240,"minLength":1,"title":"Dataset Artifact Id"},"dataset_version":{"type":"integer","minimum":1.0,"title":"Dataset Version"},"x_field":{"type":"string","maxLength":120,"title":"X Field","default":""},"series":{"items":{"$ref":"#/components/schemas/ChartSeriesSpec"},"type":"array","maxItems":8,"title":"Series","default":[]},"x_axis":{"$ref":"#/components/schemas/ChartAxisSpec"},"left_axis":{"$ref":"#/components/schemas/ChartAxisSpec"},"native":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"string"},{"type":"null"}],"title":"Native","description":"TanStack defineChart options. Tool callers should send a JSON STRING here so arbitrary native options survive strict provider schemas. The server parses and validates it into an object. Native calls: {\"$call\":\"dot\",\"args\":[{\"$data\":true},{\"x\":\"value\",\"y\":\"category\"}]}. $data binds the exact saved dataset. marks can compose any registered TanStack marks/transforms. REQUIRED scales.x and scales.y use $call:scaleLinear/scalePoint/scaleBand with args:[] (null for unused polar axes). Optional methods:[{name:domain,args:[[0,10]]}] belongs inside the scale's $call object. scales contains position scales only; color is a separate top-level object, e.g. color:{legend:true}. For multiple series use a mark color channel, e.g. color:component; stroke/fill strings are literal CSS colors, not series field names. Use {$field:column} for field accessors, {$date:column} for date accessors. Line/area curve names: linear, monotone, monotoneX, monotoneY, step, stepBefore, stepAfter, basis, natural. Use linear areaY with y1/y2 for exact lower/upper forecast bands; no invented quantiles. No JavaScript, HTML, remote data, or literal replacement rows. When native is supplied, legacy x_field/series/axes are unnecessary. For precise family contracts call read_chart_guide. Sankey uses {$call:sankey,args:[{$data:true},{source:source,target:target,value:value}]} with scales.x/y:null, guides:false; field names must match semantic edge rows."},"right_axis":{"anyOf":[{"$ref":"#/components/schemas/ChartAxisSpec"},{"type":"null"}]},"legend":{"$ref":"#/components/schemas/ChartLegendPosition","default":"top"},"annotations":{"items":{"$ref":"#/components/schemas/ChartAnnotation"},"type":"array","maxItems":20,"title":"Annotations","default":[]},"range_presets":{"items":{"$ref":"#/components/schemas/ChartRangePreset"},"type":"array","maxItems":8,"minItems":1,"title":"Range Presets","default":["all","1m","3m","6m","ytd","1y","3y","5y"]},"initial_range":{"$ref":"#/components/schemas/ChartRangePreset","default":"all"},"as_of":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"As Of"},"accessibility_description":{"type":"string","maxLength":1000,"minLength":1,"title":"Accessibility Description"},"source_note":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Source Note"},"theme":{"$ref":"#/components/schemas/ChartTheme","description":"Use auto to follow the viewer theme. Fix light/dark only when explicitly requested by the user.","default":"auto"},"presentation":{"anyOf":[{"$ref":"#/components/schemas/ChartPresentation"},{"type":"null"}]},"footnotes":{"items":{"type":"string"},"type":"array","maxItems":8,"title":"Footnotes","default":[]}},"additionalProperties":false,"type":"object","required":["title","dataset_artifact_id","dataset_version","accessibility_description"],"title":"ChartSpecInput","description":"Caller-authored chart intent before server-owned dataset binding."},"ChartTheme":{"type":"string","enum":["auto","light","dark"],"title":"ChartTheme"},"ChartType":{"type":"string","enum":["native","line","bar","area","scatter","composed"],"title":"ChartType"},"CollectProvider":{"oneOf":[{"properties":{"source":{"const":"macro"},"request":{"properties":{"series_ref":{"type":"string","maxLength":500,"minLength":3,"title":"Series Ref"},"start_date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","format":"date","title":"Start Date"},"end_date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","format":"date","title":"End Date"}},"additionalProperties":false,"type":"object","required":["series_ref","start_date","end_date"],"title":"HistoryRequest"}}},{"properties":{"source":{"const":"usda"},"request":{"properties":{"data_ref":{"type":"string","maxLength":500,"minLength":3,"title":"Data Ref"},"start_date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","format":"date","title":"Start Date"},"end_date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","format":"date","title":"End Date"},"commodity":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Commodity"},"measure":{"anyOf":[{"type":"string","maxLength":240},{"type":"null"}],"title":"Measure"},"geography":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Geography"},"frequency":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Frequency"},"include_document_text":{"type":"boolean","title":"Include Document Text","default":false}},"additionalProperties":false,"type":"object","required":["data_ref","start_date","end_date"],"title":"ReadRequest"}}},{"properties":{"source":{"const":"fred_extended"},"request":{"properties":{"series":{"type":"string","pattern":"^[A-Za-z0-9_]{1,80}$","title":"Series"},"start_date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","format":"date","title":"Start Date"},"end_date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","format":"date","title":"End Date"}},"additionalProperties":false,"type":"object","required":["series","start_date","end_date"],"title":"HistoryRequest"}}},{"properties":{"source":{"const":"truflation"},"request":{"properties":{"feed_key":{"type":"string","pattern":"^FEED_[A-F0-9]{24}$","title":"Feed Key"},"metadata_revision":{"type":"string","pattern":"^[a-f0-9]{64}$","title":"Metadata Revision"},"start_date":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","format":"date"},{"type":"null"}],"title":"Start Date"},"end_date":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","format":"date"},{"type":"null"}],"title":"End Date"}},"additionalProperties":false,"type":"object","required":["feed_key","metadata_revision"],"title":"Request"}}},{"properties":{"source":{"const":"truf"},"request":{"properties":{"key":{"type":"string","maxLength":120,"minLength":1,"title":"Key"},"metadata_revision":{"type":"string","pattern":"^[a-f0-9]{64}$","title":"Metadata Revision"},"start_date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","format":"date","title":"Start Date"},"end_date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","format":"date","title":"End Date"}},"additionalProperties":false,"type":"object","required":["key","metadata_revision","start_date","end_date"],"title":"HistoryRequest"}}},{"properties":{"source":{"const":"market_search"},"request":{"properties":{"arguments":{"properties":{"query":{"type":"string","maxLength":300,"minLength":2,"description":"Natural-language market search query."},"venue":{"type":"string","enum":["polymarket","kalshi"],"maxLength":200,"description":"Prediction-market venue to search."},"limit":{"type":"integer","maximum":20.0,"minimum":1.0,"default":5}},"additionalProperties":false,"type":"object","required":["query"]}},"additionalProperties":false,"type":"object","required":["arguments"]}}},{"properties":{"source":{"const":"market_history"},"request":{"properties":{"arguments":{"properties":{"query":{"type":"string","maxLength":300,"minLength":2},"venue":{"type":"string","enum":["polymarket","kalshi"],"maxLength":200,"description":"Prediction-market venue to search."},"window_days":{"type":"integer","maximum":365.0,"minimum":7.0,"default":30},"limit":{"type":"integer","maximum":20.0,"minimum":1.0,"default":5}},"additionalProperties":false,"type":"object","required":["query"]}},"additionalProperties":false,"type":"object","required":["arguments"]}}},{"properties":{"source":{"const":"cot_positioning"},"request":{"properties":{"arguments":{"properties":{"contract":{"type":"string","maxLength":200,"description":"Supported contract key, symbol, or alias. Examples: SP500/ES, GOLD/GC, CRUDE_OIL/CL, TREASURY_10Y/ZN, EURUSD/6E."},"weeks":{"type":"integer","maximum":260.0,"minimum":1.0,"description":"History window to return from stored snapshots (default 26, max 260)."}},"additionalProperties":false,"type":"object","required":["contract"]}},"additionalProperties":false,"type":"object","required":["arguments"]}}},{"properties":{"source":{"const":"positioning_snapshot"},"request":{"properties":{"arguments":{"properties":{"instrument":{"type":"string","maxLength":200,"description":"Optional: fetch a single instrument instead of all. Keys: SP500, TREASURY_10Y, CRUDE_OIL, GOLD, EURUSD, JPYUSD, GBPUSD. Omit for full snapshot."}},"additionalProperties":false,"type":"object","required":[]}},"additionalProperties":false,"type":"object","required":["arguments"]}}},{"properties":{"source":{"const":"futures_curves"},"request":{"properties":{"arguments":{"properties":{"commodity":{"type":"string","maxLength":200,"description":"Optional: fetch a single commodity instead of all. Keys: crude_oil, gold, natural_gas, silver, sp500, treasury_10y. Omit for full snapshot."}},"additionalProperties":false,"type":"object","required":[]}},"additionalProperties":false,"type":"object","required":["arguments"]}}},{"properties":{"source":{"const":"volatility_snapshot"},"request":{"properties":{"arguments":{"properties":{},"additionalProperties":false,"type":"object","required":[]}},"additionalProperties":false,"type":"object","required":["arguments"]}}},{"properties":{"source":{"const":"smart_money"},"request":{"properties":{"arguments":{"properties":{"sources":{"items":{"type":"string","enum":["corporate_insider","senate","house"]},"type":"array"},"action":{"type":"string","enum":["purchase","sale","purchase_or_sale","all"],"maxLength":200},"symbols":{"items":{"type":"string"},"type":"array","maxItems":7},"people":{"items":{"type":"string","maxLength":100,"minLength":2},"type":"array","maxItems":3,"description":"Optional explicitly named corporate or congressional filers. Uses FMP's official by-name disclosure endpoints."},"window_days":{"type":"integer","maximum":3650.0,"minimum":1.0},"limit_per_source":{"type":"integer","maximum":100.0,"minimum":1.0}},"additionalProperties":false,"type":"object","required":["sources","action","window_days"]}},"additionalProperties":false,"type":"object","required":["arguments"]}}},{"properties":{"source":{"const":"asset_quote"},"request":{"properties":{"arguments":{"properties":{"symbol_or_name":{"type":"string","maxLength":200,"description":"Asset name or canonical FMP symbol. Examples: 'Brent', 'WTI', 'crude oil', 'gold', 'silver', 'copper', 'nat gas', or the canonical symbols 'BZUSD' / 'CLUSD' / 'NGUSD' / 'XAUUSD' / 'XAGUSD' / 'HGUSD'."}},"additionalProperties":false,"type":"object","required":["symbol_or_name"]}},"additionalProperties":false,"type":"object","required":["arguments"]}}},{"properties":{"source":{"const":"earnings_snapshot"},"request":{"properties":{"arguments":{"properties":{"symbol":{"type":"string","maxLength":200,"description":"Ticker symbol or company name. Examples: 'AAPL', 'Apple', 'apple inc', 'MSFT', 'Microsoft', 'NVDA', 'BRK.B'. The resolver canonicalises household names; any other input is uppercased and passed to FMP as-is."},"include_history":{"type":"integer","description":"Number of trailing historical quarters to fetch from /stable/earnings (default 8, clamped 1-40). Used to identify the latest reported quarter; broader history is available in the envelope's history_rows_fetched field for prose-context grounding.","default":8},"include_upcoming":{"type":"integer","description":"Number of upcoming quarter-end consensus rows to return (default 2, clamped 1-8). The underlying FMP fetch always uses limit=40 to avoid the future-first ordering gotcha; this parameter controls how many of those make it into the typed artifact.","default":2}},"additionalProperties":false,"type":"object","required":["symbol"]}},"additionalProperties":false,"type":"object","required":["arguments"]}}},{"properties":{"source":{"const":"live_calendar"},"request":{"properties":{"arguments":{"properties":{"upcoming":{"type":"boolean","description":"Find the next published matching events without guessing dates. Searches forward in bounded windows for up to one year, returning up to 50 with explicit coverage. Omit dates when true."},"event_query":{"type":"string","maxLength":120,"description":"Optional economic event-name search, e.g. CPI, nonfarm payrolls or wages. Use symbols for specific company earnings."},"event_type":{"type":"string","enum":["economic","earnings"],"maxLength":200,"description":"Economic releases or verified U.S.-domiciled company earnings."},"date_from":{"type":"string","maxLength":200,"format":"date","description":"Inclusive YYYY-MM-DD start date; supply with date_to. Overrides relative days."},"date_to":{"type":"string","maxLength":200,"format":"date","description":"Inclusive YYYY-MM-DD end date, at most 90 calendar days including the start."},"category":{"type":"string","enum":["all","inflation","jobs_growth","central_banks"],"maxLength":200,"description":"Reviewed economic event-name grouping; earnings require all."},"symbols":{"items":{"type":"string","maxLength":20},"type":"array","maxItems":50,"description":"Optional exact company tickers for U.S. earnings only. Empty means all verified U.S. companies in the window."},"days_ahead":{"type":"integer","description":"Number of days ahead to look (default 14, max 90)","default":14},"days_back":{"type":"integer","description":"Optional lookback window for historical releases with actual/estimate fields (default 0, max 365).","default":0},"country":{"type":"string","maxLength":200,"description":"Country code filter (e.g. US, GB, JP), empty for all economic countries. Earnings require US.","default":"US"},"impact":{"type":"string","maxLength":200,"description":"Optional impact filter: high, medium, low, or all.","default":"all"}},"additionalProperties":false,"type":"object","required":[]}},"additionalProperties":false,"type":"object","required":["arguments"]}}},{"properties":{"source":{"const":"earnings_event_study"},"request":{"properties":{"arguments":{"properties":{"symbol":{"type":"string","maxLength":200,"description":"Equity ticker or company alias, e.g. AAPL, MSFT, NVDA, TSLA."},"metric":{"type":"string","enum":["eps_actual","eps_estimate","eps_surprise_usd","eps_surprise_pct","revenue_actual","revenue_estimate","revenue_surprise_usd"],"maxLength":200,"description":"Historical quarterly metric to aggregate. Use eps_actual for EPS performance, revenue_actual for revenue, eps_surprise_pct for surprise %."},"event":{"type":"string","maxLength":200,"description":"Curated event/tenure key or phrase. Examples: 'tim_cook_ceo', 'Tim Cook tenure', 'covid_pandemic', 'pandemic', 'fomc_meetings', 'FOMC meetings'."},"event_relation":{"type":"string","enum":["around","after","before"],"maxLength":200,"description":"Only used for macro event-list targets. around matches earnings releases within the event window on either side; after/before are directional."},"window_days":{"type":"integer","description":"Only used for macro event-list targets. Lookback for event dates, default 365 and clamped to 365 because FMP calendar history is limited."},"match_window_days":{"type":"integer","description":"Only used for macro event-list targets. Maximum calendar-day distance between an earnings release and an event date, default 30."}},"additionalProperties":false,"type":"object","required":["symbol","metric","event"]}},"additionalProperties":false,"type":"object","required":["arguments"]}}},{"properties":{"source":{"const":"portwatch"},"request":{"properties":{"identifier":{"anyOf":[{"type":"string","maxLength":1000,"minLength":1,"pattern":"^[^/?#\\\\]+$"},{"type":"null"}],"title":"Identifier"},"start_date":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","format":"date"},{"type":"null"}],"title":"Start Date"},"end_date":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","format":"date"},{"type":"null"}],"title":"End Date"},"filters":{"items":{"properties":{"field":{"type":"string","maxLength":100,"minLength":1,"pattern":"^[A-Za-z_][A-Za-z0-9_.]*$","title":"Field"},"value":{"anyOf":[{"type":"string","maxLength":160},{"type":"number"},{"type":"integer"}],"title":"Value"}},"additionalProperties":false,"type":"object","required":["field","value"],"title":"Filter"},"type":"array","maxItems":8,"title":"Filters"},"query":{"anyOf":[{"type":"string","maxLength":240,"minLength":1},{"type":"null"}],"title":"Query"},"timestamp":{"anyOf":[{"type":"integer","maximum":10000000000.0,"minimum":1.0},{"type":"null"}],"title":"Timestamp"},"bbox":{"anyOf":[{"items":{"type":"number"},"type":"array","maxItems":4,"minItems":4},{"type":"null"}],"title":"Bbox"},"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"title":"Limit","default":100},"cursor":{"anyOf":[{"type":"string","maxLength":200,"pattern":"^[a-f0-9]{64}:[a-f0-9]{64}:[0-9]{1,8}$"},{"type":"null"}],"title":"Cursor"},"data_ref":{"type":"string","enum":["portwatch:ports","portwatch:chokepoints","portwatch:countries","portwatch:global","portwatch:disruptions","portwatch:port_directory"],"title":"Data Ref"}},"additionalProperties":false,"type":"object","required":["data_ref"],"title":"PortwatchDatasetRequest"}}},{"properties":{"source":{"const":"nasa_firms"},"request":{"properties":{"identifier":{"anyOf":[{"type":"string","maxLength":1000,"minLength":1,"pattern":"^[^/?#\\\\]+$"},{"type":"null"}],"title":"Identifier"},"start_date":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","format":"date"},{"type":"null"}],"title":"Start Date"},"end_date":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","format":"date"},{"type":"null"}],"title":"End Date"},"filters":{"items":{"properties":{"field":{"type":"string","maxLength":100,"minLength":1,"pattern":"^[A-Za-z_][A-Za-z0-9_.]*$","title":"Field"},"value":{"anyOf":[{"type":"string","maxLength":160},{"type":"number"},{"type":"integer"}],"title":"Value"}},"additionalProperties":false,"type":"object","required":["field","value"],"title":"Filter"},"type":"array","maxItems":8,"title":"Filters"},"query":{"anyOf":[{"type":"string","maxLength":240,"minLength":1},{"type":"null"}],"title":"Query"},"timestamp":{"anyOf":[{"type":"integer","maximum":10000000000.0,"minimum":1.0},{"type":"null"}],"title":"Timestamp"},"bbox":{"anyOf":[{"items":{"type":"number"},"type":"array","maxItems":4,"minItems":4},{"type":"null"}],"title":"Bbox"},"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"title":"Limit","default":100},"cursor":{"anyOf":[{"type":"string","maxLength":200,"pattern":"^[a-f0-9]{64}:[a-f0-9]{64}:[0-9]{1,8}$"},{"type":"null"}],"title":"Cursor"},"data_ref":{"type":"string","enum":["nasa_firms:availability","nasa_firms:area"],"title":"Data Ref"}},"additionalProperties":false,"type":"object","required":["data_ref"],"title":"Nasa_FirmsDatasetRequest"}}},{"properties":{"source":{"const":"defillama"},"request":{"properties":{"identifier":{"anyOf":[{"type":"string","maxLength":1000,"minLength":1,"pattern":"^[^/?#\\\\]+$"},{"type":"null"}],"title":"Identifier"},"start_date":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","format":"date"},{"type":"null"}],"title":"Start Date"},"end_date":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","format":"date"},{"type":"null"}],"title":"End Date"},"filters":{"items":{"properties":{"field":{"type":"string","maxLength":100,"minLength":1,"pattern":"^[A-Za-z_][A-Za-z0-9_.]*$","title":"Field"},"value":{"anyOf":[{"type":"string","maxLength":160},{"type":"number"},{"type":"integer"}],"title":"Value"}},"additionalProperties":false,"type":"object","required":["field","value"],"title":"Filter"},"type":"array","maxItems":8,"title":"Filters"},"query":{"anyOf":[{"type":"string","maxLength":240,"minLength":1},{"type":"null"}],"title":"Query"},"timestamp":{"anyOf":[{"type":"integer","maximum":10000000000.0,"minimum":1.0},{"type":"null"}],"title":"Timestamp"},"bbox":{"anyOf":[{"items":{"type":"number"},"type":"array","maxItems":4,"minItems":4},{"type":"null"}],"title":"Bbox"},"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"title":"Limit","default":100},"cursor":{"anyOf":[{"type":"string","maxLength":200,"pattern":"^[a-f0-9]{64}:[a-f0-9]{64}:[0-9]{1,8}$"},{"type":"null"}],"title":"Cursor"},"data_ref":{"type":"string","enum":["defillama:protocols","defillama:protocol","defillama:global_tvl","defillama:chain_tvl","defillama:chains","defillama:stablecoins","defillama:stablecoin","defillama:stablecoin_chains","defillama:pools","defillama:pool_history","defillama:dexs","defillama:dex","defillama:dex_chain","defillama:fees","defillama:protocol_fees","defillama:prices","defillama:historical_prices"],"title":"Data Ref"}},"additionalProperties":false,"type":"object","required":["data_ref"],"title":"DefillamaDatasetRequest"}}},{"properties":{"source":{"const":"fmp_prices"},"request":{"properties":{"symbol":{"type":"string","pattern":"^[A-Z0-9^][A-Z0-9.^=-]{0,19}$","title":"Symbol"},"start_date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","format":"date","title":"Start Date"},"end_date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","format":"date","title":"End Date"}},"additionalProperties":false,"type":"object","required":["symbol","start_date","end_date"],"title":"PriceRequest"}}},{"properties":{"source":{"const":"fmp_discovery"},"request":{"properties":{"query":{"oneOf":[{"properties":{"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"title":"Limit","default":100},"cursor":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Cursor","description":"Continue a locally paged response only if its revision is unchanged."},"resource":{"type":"string","const":"stock_peers","title":"Resource"},"symbol":{"type":"string","pattern":"^[A-Z0-9^][A-Z0-9.^=-]{0,19}$","title":"Symbol"}},"additionalProperties":false,"type":"object","required":["resource","symbol"],"title":"FmpStockPeers"},{"properties":{"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"title":"Limit","default":100},"cursor":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Cursor","description":"Continue a locally paged response only if its revision is unchanged."},"resource":{"type":"string","const":"company_screener","title":"Resource"},"market_cap_min":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Market Cap Min"},"market_cap_max":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Market Cap Max"},"country":{"anyOf":[{"type":"string","maxLength":120,"minLength":1},{"type":"null"}],"title":"Country"},"sector":{"anyOf":[{"type":"string","maxLength":120,"minLength":1},{"type":"null"}],"title":"Sector"},"industry":{"anyOf":[{"type":"string","maxLength":120,"minLength":1},{"type":"null"}],"title":"Industry"},"exchange":{"anyOf":[{"type":"string","maxLength":120,"minLength":1},{"type":"null"}],"title":"Exchange"},"is_etf":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Etf"}},"additionalProperties":false,"type":"object","required":["resource"],"title":"FmpCompanyScreener"}],"title":"Query"}},"additionalProperties":false,"type":"object","required":["query"],"title":"FmpDiscoveryRequest"}}},{"properties":{"source":{"const":"fmp_fundamentals"},"request":{"properties":{"query":{"oneOf":[{"properties":{"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"title":"Limit","default":100},"cursor":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Cursor","description":"Continue a locally paged response only if its revision is unchanged."},"resource":{"type":"string","const":"income_statement","title":"Resource"},"symbol":{"type":"string","pattern":"^[A-Z0-9^][A-Z0-9.^=-]{0,19}$","title":"Symbol"},"period":{"type":"string","enum":["annual","quarter"],"title":"Period","default":"annual"}},"additionalProperties":false,"type":"object","required":["resource","symbol"],"title":"FmpIncomeStatement"},{"properties":{"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"title":"Limit","default":100},"cursor":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Cursor","description":"Continue a locally paged response only if its revision is unchanged."},"resource":{"type":"string","const":"balance_sheet_statement","title":"Resource"},"symbol":{"type":"string","pattern":"^[A-Z0-9^][A-Z0-9.^=-]{0,19}$","title":"Symbol"},"period":{"type":"string","enum":["annual","quarter"],"title":"Period","default":"annual"}},"additionalProperties":false,"type":"object","required":["resource","symbol"],"title":"FmpBalanceSheetStatement"},{"properties":{"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"title":"Limit","default":100},"cursor":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Cursor","description":"Continue a locally paged response only if its revision is unchanged."},"resource":{"type":"string","const":"cash_flow_statement","title":"Resource"},"symbol":{"type":"string","pattern":"^[A-Z0-9^][A-Z0-9.^=-]{0,19}$","title":"Symbol"},"period":{"type":"string","enum":["annual","quarter"],"title":"Period","default":"annual"}},"additionalProperties":false,"type":"object","required":["resource","symbol"],"title":"FmpCashFlowStatement"},{"properties":{"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"title":"Limit","default":100},"cursor":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Cursor","description":"Continue a locally paged response only if its revision is unchanged."},"resource":{"type":"string","const":"financial_growth","title":"Resource"},"symbol":{"type":"string","pattern":"^[A-Z0-9^][A-Z0-9.^=-]{0,19}$","title":"Symbol"},"period":{"type":"string","enum":["annual","quarter"],"title":"Period","default":"annual"}},"additionalProperties":false,"type":"object","required":["resource","symbol"],"title":"FmpFinancialGrowth"},{"properties":{"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"title":"Limit","default":100},"cursor":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Cursor","description":"Continue a locally paged response only if its revision is unchanged."},"resource":{"type":"string","const":"ratios","title":"Resource"},"symbol":{"type":"string","pattern":"^[A-Z0-9^][A-Z0-9.^=-]{0,19}$","title":"Symbol"},"period":{"type":"string","enum":["annual","quarter"],"title":"Period","default":"annual"}},"additionalProperties":false,"type":"object","required":["resource","symbol"],"title":"FmpRatios"},{"properties":{"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"title":"Limit","default":100},"cursor":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Cursor","description":"Continue a locally paged response only if its revision is unchanged."},"resource":{"type":"string","const":"key_metrics","title":"Resource"},"symbol":{"type":"string","pattern":"^[A-Z0-9^][A-Z0-9.^=-]{0,19}$","title":"Symbol"},"period":{"type":"string","enum":["annual","quarter"],"title":"Period","default":"annual"}},"additionalProperties":false,"type":"object","required":["resource","symbol"],"title":"FmpKeyMetrics"},{"properties":{"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"title":"Limit","default":100},"cursor":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Cursor","description":"Continue a locally paged response only if its revision is unchanged."},"resource":{"type":"string","const":"key_metrics_ttm","title":"Resource"},"symbol":{"type":"string","pattern":"^[A-Z0-9^][A-Z0-9.^=-]{0,19}$","title":"Symbol"}},"additionalProperties":false,"type":"object","required":["resource","symbol"],"title":"FmpKeyMetricsTtm"},{"properties":{"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"title":"Limit","default":100},"cursor":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Cursor","description":"Continue a locally paged response only if its revision is unchanged."},"resource":{"type":"string","const":"ratios_ttm","title":"Resource"},"symbol":{"type":"string","pattern":"^[A-Z0-9^][A-Z0-9.^=-]{0,19}$","title":"Symbol"}},"additionalProperties":false,"type":"object","required":["resource","symbol"],"title":"FmpRatiosTtm"}],"title":"Query"}},"additionalProperties":false,"type":"object","required":["query"],"title":"FmpFundamentalsRequest"}}},{"properties":{"source":{"const":"fmp_earnings"},"request":{"properties":{"query":{"oneOf":[{"properties":{"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"title":"Limit","default":100},"cursor":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Cursor","description":"Continue a locally paged response only if its revision is unchanged."},"resource":{"type":"string","const":"analyst_estimates","title":"Resource"},"symbol":{"type":"string","pattern":"^[A-Z0-9^][A-Z0-9.^=-]{0,19}$","title":"Symbol"},"period":{"type":"string","enum":["annual","quarter"],"title":"Period","default":"annual"},"page":{"type":"integer","maximum":10000.0,"minimum":0.0,"title":"Page","default":0}},"additionalProperties":false,"type":"object","required":["resource","symbol"],"title":"FmpAnalystEstimates"},{"properties":{"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"title":"Limit","default":100},"cursor":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Cursor","description":"Continue a locally paged response only if its revision is unchanged."},"resource":{"type":"string","const":"earnings","title":"Resource"},"symbol":{"type":"string","pattern":"^[A-Z0-9^][A-Z0-9.^=-]{0,19}$","title":"Symbol"}},"additionalProperties":false,"type":"object","required":["resource","symbol"],"title":"FmpEarnings"},{"properties":{"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"title":"Limit","default":100},"cursor":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Cursor","description":"Continue a locally paged response only if its revision is unchanged."},"resource":{"type":"string","const":"earning_call_transcript","title":"Resource"},"symbol":{"type":"string","pattern":"^[A-Z0-9^][A-Z0-9.^=-]{0,19}$","title":"Symbol"},"year":{"type":"integer","maximum":2100.0,"minimum":1990.0,"title":"Year"},"quarter":{"type":"integer","maximum":4.0,"minimum":1.0,"title":"Quarter"}},"additionalProperties":false,"type":"object","required":["resource","symbol","year","quarter"],"title":"FmpEarningCallTranscript"},{"properties":{"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"title":"Limit","default":100},"cursor":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Cursor","description":"Continue a locally paged response only if its revision is unchanged."},"resource":{"type":"string","const":"earnings_calendar","title":"Resource"},"start_date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","format":"date","title":"Start Date"},"end_date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","format":"date","title":"End Date"}},"additionalProperties":false,"type":"object","required":["resource","start_date","end_date"],"title":"FmpEarningsCalendar"},{"properties":{"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"title":"Limit","default":100},"cursor":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Cursor","description":"Continue a locally paged response only if its revision is unchanged."},"resource":{"type":"string","const":"dividends_calendar","title":"Resource"},"start_date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","format":"date","title":"Start Date"},"end_date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","format":"date","title":"End Date"}},"additionalProperties":false,"type":"object","required":["resource","start_date","end_date"],"title":"FmpDividendsCalendar"},{"properties":{"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"title":"Limit","default":100},"cursor":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Cursor","description":"Continue a locally paged response only if its revision is unchanged."},"resource":{"type":"string","const":"splits_calendar","title":"Resource"},"start_date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","format":"date","title":"Start Date"},"end_date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","format":"date","title":"End Date"}},"additionalProperties":false,"type":"object","required":["resource","start_date","end_date"],"title":"FmpSplitsCalendar"},{"properties":{"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"title":"Limit","default":100},"cursor":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Cursor","description":"Continue a locally paged response only if its revision is unchanged."},"resource":{"type":"string","const":"ipos_calendar","title":"Resource"},"start_date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","format":"date","title":"Start Date"},"end_date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","format":"date","title":"End Date"}},"additionalProperties":false,"type":"object","required":["resource","start_date","end_date"],"title":"FmpIposCalendar"}],"title":"Query"}},"additionalProperties":false,"type":"object","required":["query"],"title":"FmpEarningsRequest"}}},{"properties":{"source":{"const":"fmp_valuation"},"request":{"properties":{"query":{"oneOf":[{"properties":{"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"title":"Limit","default":100},"cursor":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Cursor","description":"Continue a locally paged response only if its revision is unchanged."},"resource":{"type":"string","const":"owner_earnings","title":"Resource"},"symbol":{"type":"string","pattern":"^[A-Z0-9^][A-Z0-9.^=-]{0,19}$","title":"Symbol"}},"additionalProperties":false,"type":"object","required":["resource","symbol"],"title":"FmpOwnerEarnings"},{"properties":{"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"title":"Limit","default":100},"cursor":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Cursor","description":"Continue a locally paged response only if its revision is unchanged."},"resource":{"type":"string","const":"discounted_cash_flow","title":"Resource"},"symbol":{"type":"string","pattern":"^[A-Z0-9^][A-Z0-9.^=-]{0,19}$","title":"Symbol"}},"additionalProperties":false,"type":"object","required":["resource","symbol"],"title":"FmpDiscountedCashFlow"},{"properties":{"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"title":"Limit","default":100},"cursor":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Cursor","description":"Continue a locally paged response only if its revision is unchanged."},"resource":{"type":"string","const":"revenue_product_segmentation","title":"Resource"},"symbol":{"type":"string","pattern":"^[A-Z0-9^][A-Z0-9.^=-]{0,19}$","title":"Symbol"}},"additionalProperties":false,"type":"object","required":["resource","symbol"],"title":"FmpRevenueProductSegmentation"},{"properties":{"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"title":"Limit","default":100},"cursor":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Cursor","description":"Continue a locally paged response only if its revision is unchanged."},"resource":{"type":"string","const":"revenue_geographic_segmentation","title":"Resource"},"symbol":{"type":"string","pattern":"^[A-Z0-9^][A-Z0-9.^=-]{0,19}$","title":"Symbol"}},"additionalProperties":false,"type":"object","required":["resource","symbol"],"title":"FmpRevenueGeographicSegmentation"}],"title":"Query"}},"additionalProperties":false,"type":"object","required":["query"],"title":"FmpValuationRequest"}}},{"properties":{"source":{"const":"fmp_disclosures"},"request":{"properties":{"query":{"oneOf":[{"properties":{"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"title":"Limit","default":100},"cursor":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Cursor","description":"Continue a locally paged response only if its revision is unchanged."},"resource":{"type":"string","const":"price_target_consensus","title":"Resource"},"symbol":{"type":"string","pattern":"^[A-Z0-9^][A-Z0-9.^=-]{0,19}$","title":"Symbol"}},"additionalProperties":false,"type":"object","required":["resource","symbol"],"title":"FmpPriceTargetConsensus"},{"properties":{"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"title":"Limit","default":100},"cursor":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Cursor","description":"Continue a locally paged response only if its revision is unchanged."},"resource":{"type":"string","const":"price_target_summary","title":"Resource"},"symbol":{"type":"string","pattern":"^[A-Z0-9^][A-Z0-9.^=-]{0,19}$","title":"Symbol"}},"additionalProperties":false,"type":"object","required":["resource","symbol"],"title":"FmpPriceTargetSummary"},{"properties":{"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"title":"Limit","default":100},"cursor":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Cursor","description":"Continue a locally paged response only if its revision is unchanged."},"resource":{"type":"string","const":"grades","title":"Resource"},"symbol":{"type":"string","pattern":"^[A-Z0-9^][A-Z0-9.^=-]{0,19}$","title":"Symbol"}},"additionalProperties":false,"type":"object","required":["resource","symbol"],"title":"FmpGrades"},{"properties":{"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"title":"Limit","default":100},"cursor":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Cursor","description":"Continue a locally paged response only if its revision is unchanged."},"resource":{"type":"string","const":"ratings_snapshot","title":"Resource"},"symbol":{"type":"string","pattern":"^[A-Z0-9^][A-Z0-9.^=-]{0,19}$","title":"Symbol"}},"additionalProperties":false,"type":"object","required":["resource","symbol"],"title":"FmpRatingsSnapshot"},{"properties":{"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"title":"Limit","default":100},"cursor":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Cursor","description":"Continue a locally paged response only if its revision is unchanged."},"resource":{"type":"string","const":"insider_trading_search","title":"Resource"},"symbol":{"anyOf":[{"type":"string","pattern":"^[A-Z0-9^][A-Z0-9.^=-]{0,19}$"},{"type":"null"}],"title":"Symbol"},"page":{"type":"integer","maximum":10000.0,"minimum":0.0,"title":"Page","default":0}},"additionalProperties":false,"type":"object","required":["resource"],"title":"FmpInsiderTradingSearch"},{"properties":{"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"title":"Limit","default":100},"cursor":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Cursor","description":"Continue a locally paged response only if its revision is unchanged."},"resource":{"type":"string","const":"institutional_ownership_latest","title":"Resource"},"page":{"type":"integer","maximum":10000.0,"minimum":0.0,"title":"Page","default":0}},"additionalProperties":false,"type":"object","required":["resource"],"title":"FmpInstitutionalOwnershipLatest"}],"title":"Query"}},"additionalProperties":false,"type":"object","required":["query"],"title":"FmpDisclosuresRequest"}}},{"properties":{"source":{"const":"fmp_holdings"},"request":{"properties":{"query":{"oneOf":[{"properties":{"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"title":"Limit","default":100},"cursor":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Cursor","description":"Continue a locally paged response only if its revision is unchanged."},"resource":{"type":"string","const":"etf_holdings","title":"Resource"},"symbol":{"type":"string","pattern":"^[A-Z0-9^][A-Z0-9.^=-]{0,19}$","title":"Symbol"}},"additionalProperties":false,"type":"object","required":["resource","symbol"],"title":"FmpEtfHoldings"},{"properties":{"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"title":"Limit","default":100},"cursor":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Cursor","description":"Continue a locally paged response only if its revision is unchanged."},"resource":{"type":"string","const":"etf_sector_weightings","title":"Resource"},"symbol":{"type":"string","pattern":"^[A-Z0-9^][A-Z0-9.^=-]{0,19}$","title":"Symbol"}},"additionalProperties":false,"type":"object","required":["resource","symbol"],"title":"FmpEtfSectorWeightings"},{"properties":{"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"title":"Limit","default":100},"cursor":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Cursor","description":"Continue a locally paged response only if its revision is unchanged."},"resource":{"type":"string","const":"etf_country_weightings","title":"Resource"},"symbol":{"type":"string","pattern":"^[A-Z0-9^][A-Z0-9.^=-]{0,19}$","title":"Symbol"}},"additionalProperties":false,"type":"object","required":["resource","symbol"],"title":"FmpEtfCountryWeightings"},{"properties":{"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"title":"Limit","default":100},"cursor":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Cursor","description":"Continue a locally paged response only if its revision is unchanged."},"resource":{"type":"string","const":"sp500_constituent","title":"Resource"}},"additionalProperties":false,"type":"object","required":["resource"],"title":"FmpSp500Constituent"},{"properties":{"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"title":"Limit","default":100},"cursor":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Cursor","description":"Continue a locally paged response only if its revision is unchanged."},"resource":{"type":"string","const":"dowjones_constituent","title":"Resource"}},"additionalProperties":false,"type":"object","required":["resource"],"title":"FmpDowjonesConstituent"},{"properties":{"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"title":"Limit","default":100},"cursor":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Cursor","description":"Continue a locally paged response only if its revision is unchanged."},"resource":{"type":"string","const":"nasdaq_constituent","title":"Resource"}},"additionalProperties":false,"type":"object","required":["resource"],"title":"FmpNasdaqConstituent"}],"title":"Query"}},"additionalProperties":false,"type":"object","required":["query"],"title":"FmpHoldingsRequest"}}},{"properties":{"source":{"const":"fmp_market_history"},"request":{"properties":{"query":{"oneOf":[{"properties":{"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"title":"Limit","default":100},"cursor":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Cursor","description":"Continue a locally paged response only if its revision is unchanged."},"resource":{"type":"string","const":"historical_market_capitalization","title":"Resource"},"symbol":{"type":"string","pattern":"^[A-Z0-9^][A-Z0-9.^=-]{0,19}$","title":"Symbol"},"start_date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","format":"date","title":"Start Date"},"end_date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","format":"date","title":"End Date"}},"additionalProperties":false,"type":"object","required":["resource","symbol","start_date","end_date"],"title":"FmpHistoricalMarketCapitalization"},{"properties":{"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"title":"Limit","default":100},"cursor":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Cursor","description":"Continue a locally paged response only if its revision is unchanged."},"resource":{"type":"string","const":"stock_price_change","title":"Resource"},"symbol":{"type":"string","pattern":"^[A-Z0-9^][A-Z0-9.^=-]{0,19}$","title":"Symbol"}},"additionalProperties":false,"type":"object","required":["resource","symbol"],"title":"FmpStockPriceChange"},{"properties":{"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"title":"Limit","default":100},"cursor":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Cursor","description":"Continue a locally paged response only if its revision is unchanged."},"resource":{"type":"string","const":"treasury_rates","title":"Resource"},"start_date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","format":"date","title":"Start Date"},"end_date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","format":"date","title":"End Date"}},"additionalProperties":false,"type":"object","required":["resource","start_date","end_date"],"title":"FmpTreasuryRates"}],"title":"Query"}},"additionalProperties":false,"type":"object","required":["query"],"title":"FmpMarketHistoryRequest"}}},{"properties":{"source":{"const":"fmp_positioning"},"request":{"properties":{"query":{"properties":{"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"title":"Limit","default":100},"cursor":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Cursor","description":"Continue a locally paged response only if its revision is unchanged."},"resource":{"type":"string","const":"commitment_of_traders_report","title":"Resource"},"symbol":{"type":"string","pattern":"^[A-Z0-9^][A-Z0-9.^=-]{0,19}$","title":"Symbol"},"start_date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","format":"date","title":"Start Date"},"end_date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","format":"date","title":"End Date"}},"additionalProperties":false,"type":"object","required":["resource","symbol","start_date","end_date"],"title":"FmpCommitmentOfTradersReport"}},"additionalProperties":false,"type":"object","required":["query"],"title":"FmpPositioningRequest"}}},{"properties":{"source":{"const":"fmp_technical"},"request":{"properties":{"query":{"oneOf":[{"properties":{"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"title":"Limit","default":100},"cursor":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Cursor","description":"Continue a locally paged response only if its revision is unchanged."},"resource":{"type":"string","const":"ema","title":"Resource"},"symbol":{"type":"string","pattern":"^[A-Z0-9^][A-Z0-9.^=-]{0,19}$","title":"Symbol"},"start_date":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","format":"date"},{"type":"null"}],"title":"Start Date"},"end_date":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","format":"date"},{"type":"null"}],"title":"End Date"},"period_length":{"type":"integer","maximum":200.0,"minimum":1.0,"title":"Period Length","default":14},"timeframe":{"type":"string","enum":["1min","5min","15min","30min","1hour","4hour","1day"],"title":"Timeframe","default":"1day"}},"additionalProperties":false,"type":"object","required":["resource","symbol"],"title":"FmpEma"},{"properties":{"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"title":"Limit","default":100},"cursor":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Cursor","description":"Continue a locally paged response only if its revision is unchanged."},"resource":{"type":"string","const":"sma","title":"Resource"},"symbol":{"type":"string","pattern":"^[A-Z0-9^][A-Z0-9.^=-]{0,19}$","title":"Symbol"},"start_date":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","format":"date"},{"type":"null"}],"title":"Start Date"},"end_date":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","format":"date"},{"type":"null"}],"title":"End Date"},"period_length":{"type":"integer","maximum":200.0,"minimum":1.0,"title":"Period Length","default":14},"timeframe":{"type":"string","enum":["1min","5min","15min","30min","1hour","4hour","1day"],"title":"Timeframe","default":"1day"}},"additionalProperties":false,"type":"object","required":["resource","symbol"],"title":"FmpSma"},{"properties":{"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"title":"Limit","default":100},"cursor":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Cursor","description":"Continue a locally paged response only if its revision is unchanged."},"resource":{"type":"string","const":"rsi","title":"Resource"},"symbol":{"type":"string","pattern":"^[A-Z0-9^][A-Z0-9.^=-]{0,19}$","title":"Symbol"},"start_date":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","format":"date"},{"type":"null"}],"title":"Start Date"},"end_date":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","format":"date"},{"type":"null"}],"title":"End Date"},"period_length":{"type":"integer","maximum":200.0,"minimum":1.0,"title":"Period Length","default":14},"timeframe":{"type":"string","enum":["1min","5min","15min","30min","1hour","4hour","1day"],"title":"Timeframe","default":"1day"}},"additionalProperties":false,"type":"object","required":["resource","symbol"],"title":"FmpRsi"},{"properties":{"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"title":"Limit","default":100},"cursor":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Cursor","description":"Continue a locally paged response only if its revision is unchanged."},"resource":{"type":"string","const":"adx","title":"Resource"},"symbol":{"type":"string","pattern":"^[A-Z0-9^][A-Z0-9.^=-]{0,19}$","title":"Symbol"},"start_date":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","format":"date"},{"type":"null"}],"title":"Start Date"},"end_date":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","format":"date"},{"type":"null"}],"title":"End Date"},"period_length":{"type":"integer","maximum":200.0,"minimum":1.0,"title":"Period Length","default":14},"timeframe":{"type":"string","enum":["1min","5min","15min","30min","1hour","4hour","1day"],"title":"Timeframe","default":"1day"}},"additionalProperties":false,"type":"object","required":["resource","symbol"],"title":"FmpAdx"},{"properties":{"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"title":"Limit","default":100},"cursor":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Cursor","description":"Continue a locally paged response only if its revision is unchanged."},"resource":{"type":"string","const":"williams","title":"Resource"},"symbol":{"type":"string","pattern":"^[A-Z0-9^][A-Z0-9.^=-]{0,19}$","title":"Symbol"},"start_date":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","format":"date"},{"type":"null"}],"title":"Start Date"},"end_date":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","format":"date"},{"type":"null"}],"title":"End Date"},"period_length":{"type":"integer","maximum":200.0,"minimum":1.0,"title":"Period Length","default":14},"timeframe":{"type":"string","enum":["1min","5min","15min","30min","1hour","4hour","1day"],"title":"Timeframe","default":"1day"}},"additionalProperties":false,"type":"object","required":["resource","symbol"],"title":"FmpWilliams"},{"properties":{"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"title":"Limit","default":100},"cursor":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Cursor","description":"Continue a locally paged response only if its revision is unchanged."},"resource":{"type":"string","const":"dema","title":"Resource"},"symbol":{"type":"string","pattern":"^[A-Z0-9^][A-Z0-9.^=-]{0,19}$","title":"Symbol"},"start_date":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","format":"date"},{"type":"null"}],"title":"Start Date"},"end_date":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","format":"date"},{"type":"null"}],"title":"End Date"},"period_length":{"type":"integer","maximum":200.0,"minimum":1.0,"title":"Period Length","default":14},"timeframe":{"type":"string","enum":["1min","5min","15min","30min","1hour","4hour","1day"],"title":"Timeframe","default":"1day"}},"additionalProperties":false,"type":"object","required":["resource","symbol"],"title":"FmpDema"}],"title":"Query"}},"additionalProperties":false,"type":"object","required":["query"],"title":"FmpTechnicalRequest"}}},{"properties":{"source":{"const":"cambrian_solana_market"},"request":{"properties":{"query":{"oneOf":[{"properties":{"operation":{"type":"string","const":"solana_ohlcv_base_quote"},"arguments":{"properties":{"after_time":{"type":"integer","maximum":10000000000.0,"minimum":0.0,"description":"Unix timestamp - start time for data range"},"base_address":{"type":"string","maxLength":2400,"minLength":1,"pattern":"^[1-9A-HJ-NP-Za-km-z]{32,44}$","description":"Base token mint address (base58 format)"},"before_time":{"type":"integer","maximum":10000000000.0,"minimum":0.0,"description":"Unix timestamp - end time for data range"},"interval":{"type":"string","enum":["1m","5m","15m","30m","1h","2h","4h","6h","8h","12h","1d","3d","1w"],"description":"Time interval for OHLCV data aggregation. One of: `1m`, `5m`, `15m`, `30m`, `1h`, `2h`, `4h`, `6h`, `8h`, `12h`, `1d`, `3d`, `1w`"},"quote_address":{"type":"string","maxLength":2400,"minLength":1,"pattern":"^[1-9A-HJ-NP-Za-km-z]{32,44}$","description":"Quote token mint address (base58 format)"}},"additionalProperties":false,"type":"object","required":["base_address","quote_address","after_time","before_time","interval"]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"solana_ohlcv_pool"},"arguments":{"properties":{"after_time":{"type":"integer","maximum":10000000000.0,"minimum":0.0,"description":"Unix timestamp - start time for data range"},"before_time":{"type":"integer","maximum":10000000000.0,"minimum":0.0,"description":"Unix timestamp - end time for data range"},"interval":{"type":"string","enum":["1m","5m","15m","30m","1h","2h","4h","6h","8h","12h","1d","3d","1w"],"description":"Time interval for OHLCV data aggregation. Enum: `1m`, `5m`, `15m`, `30m`, `1h`, `2h`, `4h`, `6h`, `8h`, `12h`, `1d`, `3d`, `1w`"},"pool_address":{"type":"string","maxLength":2400,"minLength":1,"pattern":"^[1-9A-HJ-NP-Za-km-z]{32,44}$","description":"Pool/pair contract address (base58 format)"}},"additionalProperties":false,"type":"object","required":["pool_address","after_time","before_time","interval"]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"solana_ohlcv_token"},"arguments":{"properties":{"after_time":{"type":"integer","maximum":10000000000.0,"minimum":0.0,"description":"Unix timestamp - start time for data range"},"before_time":{"type":"integer","maximum":10000000000.0,"minimum":0.0,"description":"Unix timestamp - end time for data range"},"interval":{"type":"string","enum":["1m","5m","15m","30m","1h","2h","4h","6h","8h","12h","1d","3d","1w"],"description":"Time interval for OHLCV data aggregation (1m, 5m, 15m, 30m, 1h, 2h, 4h, 6h, 8h, 12h, 1d, 3d, 1w)"},"token_address":{"type":"string","maxLength":2400,"minLength":1,"pattern":"^[1-9A-HJ-NP-Za-km-z]{32,44}$","description":"SPL token mint address (base58 format)"}},"additionalProperties":false,"type":"object","required":["token_address","after_time","before_time","interval"]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"solana_tokens"},"arguments":{"properties":{"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"description":"Limit the number of results. (min: 1, max: 1000)","default":100},"offset":{"type":"integer","maximum":100000.0,"minimum":0.0,"description":"Offset the results, allows you to skip a number of rows before starting to return rows. (min: 0, max: 100000)","default":0}},"additionalProperties":false,"type":"object","required":[]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"solana_tokens_security"},"arguments":{"properties":{"token_address":{"type":"string","maxLength":2400,"minLength":1,"pattern":"^[1-9A-HJ-NP-Za-km-z]{32,44}$","description":"The token address to analyze"}},"additionalProperties":false,"type":"object","required":["token_address"]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"solana_price_volume"},"arguments":{"properties":{"timeframe":{"type":"string","enum":["1h","2h","4h","8h","24h"],"description":"Timeframe: 1h, 2h, 4h, 8h, 24h"},"token_addresses":{"type":"string","maxLength":2400,"minLength":1,"pattern":"^[1-9A-HJ-NP-Za-km-z]{32,44}(?:,[1-9A-HJ-NP-Za-km-z]{32,44}){0,49}$","description":"Comma-separated SPL token mint addresses (max 50, base58)"}},"additionalProperties":false,"type":"object","required":["token_addresses","timeframe"]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"solana_latest_block"},"arguments":{"properties":{},"additionalProperties":false,"type":"object","required":[]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"solana_price_current"},"arguments":{"properties":{"token_addresses":{"type":"string","maxLength":2400,"minLength":1,"pattern":"^[1-9A-HJ-NP-Za-km-z]{32,44}(?:,[1-9A-HJ-NP-Za-km-z]{32,44}){0,49}$","description":"Comma-separated list of Solana token program addresses (base58 strings, 1-11 addresses)"}},"additionalProperties":false,"type":"object","required":["token_addresses"]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"solana_price_hour"},"arguments":{"properties":{"interval":{"type":"string","enum":["1H","2H","4H","6H","8H","12H","1D","3D","1W","1M"],"description":"Time interval for price aggregation. One of: 1H, 2H, 4H, 6H, 8H, 12H, 1D, 3D, 1W, 1M."},"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"description":"Limit the number of results.","default":24},"offset":{"type":"integer","maximum":100000.0,"minimum":0.0,"description":"Offsets the results, letting you skip a number of rows before the response starts returning rows.","default":0},"token_address":{"type":"string","maxLength":2400,"minLength":1,"pattern":"^[1-9A-HJ-NP-Za-km-z]{32,44}$","description":"Token program address (base58-44 string). See tokens for valid addresses."}},"additionalProperties":false,"type":"object","required":["token_address","interval"]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"solana_price_unix"},"arguments":{"properties":{"token_address":{"type":"string","maxLength":2400,"minLength":1,"pattern":"^[1-9A-HJ-NP-Za-km-z]{32,44}$","description":"Solana token mint address (base58 format). Example: `So11111111111111111111111111111111111111112`"},"unixtime":{"type":"integer","maximum":10000000000.0,"minimum":0.0,"description":"Hour in unix timestamp to query price for (0 to 10000000000, rounded down to the nearest hour). Example: `1750110000`"}},"additionalProperties":false,"type":"object","required":["token_address","unixtime"]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"solana_token_details"},"arguments":{"properties":{"token_addresses":{"type":"string","maxLength":2400,"minLength":1,"pattern":"^[1-9A-HJ-NP-Za-km-z]{32,44}(?:,[1-9A-HJ-NP-Za-km-z]{32,44}){0,49}$","description":"Comma-separated Solana token mint addresses (max 50, base58). Example: `So11111111111111111111111111111111111111112,DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263`"}},"additionalProperties":false,"type":"object","required":["token_addresses"]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"solana_trade_statistics"},"arguments":{"properties":{"timeframe":{"type":"string","enum":["1h","4h","12h","24h","7d"],"description":"Time interval: `1h`, `4h`, `12h`, `24h`, `7d`"},"token_addresses":{"type":"string","maxLength":2400,"minLength":1,"pattern":"^[1-9A-HJ-NP-Za-km-z]{32,44}(?:,[1-9A-HJ-NP-Za-km-z]{32,44}){0,49}$","description":"Comma-separated token addresses (e.g., `So11111111111111111111111111111111111111112`)"}},"additionalProperties":false,"type":"object","required":["token_addresses","timeframe"]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"solana_trending_tokens"},"arguments":{"properties":{"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"description":"Limit the number of results. Minimum 1, maximum 1000","default":10},"offset":{"type":"integer","maximum":100000.0,"minimum":0.0,"description":"Offset the results, skipping a number of rows before returning results. Minimum 0, maximum 100000","default":0},"order_by":{"type":"string","enum":["price_change_percentage","volume_usd_24h","current_price_usd"],"description":"Column to sort the results by. Enum: `price_change_percentage`, `volume_usd_24h`, `current_price_usd`"}},"additionalProperties":false,"type":"object","required":["order_by"]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]}]}},"additionalProperties":false,"type":"object","required":["query"]}}},{"properties":{"source":{"const":"cambrian_solana_liquidity"},"request":{"properties":{"query":{"oneOf":[{"properties":{"operation":{"type":"string","const":"solana_orca_pools"},"arguments":{"properties":{"dex":{"type":"string","enum":["orca"],"description":"The Decentralized Exchange (DEX) name. Must be `orca` for this endpoint."},"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"description":"Limit the number of results. Minimum 1, maximum 1000.","default":100},"offset":{"type":"integer","maximum":100000.0,"minimum":0.0,"description":"Offset the results, allows you to skip a number of rows before starting to return rows. Minimum 0, maximum 100000.","default":0}},"additionalProperties":false,"type":"object","required":["dex"]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"solana_orca_pools_fee_metrics"},"arguments":{"properties":{"days":{"type":"integer","maximum":3650.0,"minimum":1.0,"description":"The number of past days to include in the analysis (e.g., 1, 7, 30)."},"pool_address":{"type":"string","maxLength":2400,"minLength":1,"pattern":"^[1-9A-HJ-NP-Za-km-z]{32,44}$","description":"The public key address of the Orca Whirlpool."}},"additionalProperties":false,"type":"object","required":["pool_address","days"]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"solana_orca_pools_fee_ranges"},"arguments":{"properties":{"days":{"type":"integer","maximum":3650.0,"minimum":1.0,"description":"The number of past days to include in the analysis."},"pool_address":{"type":"string","maxLength":2400,"minLength":1,"pattern":"^[1-9A-HJ-NP-Za-km-z]{32,44}$","description":"The public key address of the Orca Whirlpool."}},"additionalProperties":false,"type":"object","required":["pool_address","days"]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"solana_orca_pools_historical_data"},"arguments":{"properties":{"days":{"type":"integer","maximum":3650.0,"minimum":1.0,"description":"The number of past days to include in the analysis."},"pool_address":{"type":"string","maxLength":2400,"minLength":1,"pattern":"^[1-9A-HJ-NP-Za-km-z]{32,44}$","description":"The public key address of the Orca Whirlpool."}},"additionalProperties":false,"type":"object","required":["pool_address","days"]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"solana_orca_pools_liquidity_map"},"arguments":{"properties":{"pool_address":{"type":"string","maxLength":2400,"minLength":1,"pattern":"^[1-9A-HJ-NP-Za-km-z]{32,44}$","description":"The public key address of the Orca Whirlpool."},"resolution":{"type":"integer","maximum":1000.0,"minimum":10.0,"description":"The approximate number of data points (tick intervals) desired in the output map. Higher values mean finer granularity. Minimum 10, maximum 1000."}},"additionalProperties":false,"type":"object","required":["pool_address","resolution"]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"solana_orca_pool"},"arguments":{"properties":{"pool_addresses":{"type":"string","maxLength":2400,"minLength":1,"pattern":"^[1-9A-HJ-NP-Za-km-z]{32,44}(?:,[1-9A-HJ-NP-Za-km-z]{32,44}){0,49}$","description":"Comma-separated pool addresses within the same DEX. Example: addr1,addr2,addr3"}},"additionalProperties":false,"type":"object","required":["pool_addresses"]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"solana_meteora_dlmm_pool"},"arguments":{"properties":{"pool_addresses":{"type":"string","maxLength":2400,"minLength":1,"pattern":"^[1-9A-HJ-NP-Za-km-z]{32,44}(?:,[1-9A-HJ-NP-Za-km-z]{32,44}){0,49}$","description":"Comma-separated pool addresses within the same DEX (up to 11). Example: `addr1,addr2,addr3`"}},"additionalProperties":false,"type":"object","required":["pool_addresses"]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"solana_meteora_dlmm_pools"},"arguments":{"properties":{"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"description":"Limit the number of results (1-1000)","default":100},"offset":{"type":"integer","maximum":100000.0,"minimum":0.0,"description":"Offset the results (0-100000)","default":0}},"additionalProperties":false,"type":"object","required":[]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"solana_raydium_clmm_pool"},"arguments":{"properties":{"pool_addresses":{"type":"string","maxLength":2400,"minLength":1,"pattern":"^[1-9A-HJ-NP-Za-km-z]{32,44}(?:,[1-9A-HJ-NP-Za-km-z]{32,44}){0,49}$","description":"Comma-separated pool addresses within the same DEX. Example: addr1,addr2,addr3"}},"additionalProperties":false,"type":"object","required":["pool_addresses"]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"solana_raydium_clmm_pools"},"arguments":{"properties":{"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"description":"Maximum number of pool records to return per page","default":100},"offset":{"type":"integer","maximum":100000.0,"minimum":0.0,"description":"Number of pool records to skip, for pagination","default":0}},"additionalProperties":false,"type":"object","required":[]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"solana_token_pool_search"},"arguments":{"properties":{"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"description":"Limit the number of results.","default":20},"offset":{"type":"integer","maximum":100000.0,"minimum":0.0,"description":"Offset the results, allows you to skip a number of rows before starting to return rows.","default":0},"token_address":{"type":"string","maxLength":2400,"minLength":1,"pattern":"^[1-9A-HJ-NP-Za-km-z]{32,44}$","description":"Token contract address (base58 format) to search pools for"}},"additionalProperties":false,"type":"object","required":["token_address"]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]}]}},"additionalProperties":false,"type":"object","required":["query"]}}},{"properties":{"source":{"const":"cambrian_solana_ownership"},"request":{"properties":{"query":{"oneOf":[{"properties":{"operation":{"type":"string","const":"solana_tokens_holder_distribution_over_time"},"arguments":{"properties":{"end_block":{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0,"description":"Block to end at"},"interval":{"type":"integer","maximum":1000000000.0,"minimum":1.0,"description":"Block interval to use"},"start_block":{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0,"description":"Block to start from"},"token_address":{"type":"string","maxLength":2400,"minLength":1,"pattern":"^[1-9A-HJ-NP-Za-km-z]{32,44}$","description":"Token mint address (program id)"}},"additionalProperties":false,"type":"object","required":["token_address","interval","start_block","end_block"]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"solana_tokens_holders"},"arguments":{"properties":{"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"description":"Limit the number of results.","default":100},"offset":{"type":"integer","maximum":100000.0,"minimum":0.0,"description":"Offset the results, allows you to skip a number of rows before starting to return rows.","default":0},"program_id":{"type":"string","maxLength":2400,"minLength":1,"pattern":"^[1-9A-HJ-NP-Za-km-z]{32,44}$","description":"The program ID (mint address) of the token."}},"additionalProperties":false,"type":"object","required":["program_id"]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"solana_tokens_holders_over_time"},"arguments":{"properties":{"end_block":{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0,"description":"Ending block number for the time range."},"interval":{"type":"integer","maximum":1000000000.0,"minimum":1.0,"description":"Block interval for sampling balances."},"start_block":{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0,"description":"Starting block number for the time range."},"token_address":{"type":"string","maxLength":2400,"minLength":1,"pattern":"^[1-9A-HJ-NP-Za-km-z]{32,44}$","description":"The program ID (mint address) of the token."}},"additionalProperties":false,"type":"object","required":["token_address","interval","start_block","end_block"]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"solana_holder_token_balances"},"arguments":{"properties":{"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"description":"Limit the number of results. (min: 1, max: 1000)","default":10},"offset":{"type":"integer","maximum":100000.0,"minimum":0.0,"description":"Offset the results, allows you to skip a number of rows before starting to return rows. (min: 0, max: 100000)","default":0},"wallet_address":{"type":"string","maxLength":2400,"minLength":1,"pattern":"^[1-9A-HJ-NP-Za-km-z]{32,44}$","description":"Wallet address"}},"additionalProperties":false,"type":"object","required":["wallet_address"]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"solana_wallet_balance_history"},"arguments":{"properties":{"after_time":{"type":"integer","maximum":10000000000.0,"minimum":0.0,"description":"Unix timestamp - start time for data range"},"before_time":{"type":"integer","maximum":10000000000.0,"minimum":0.0,"description":"Unix timestamp - end time for data range"},"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"description":"Limit the number of results. (min 1, max 1000)","default":100},"offset":{"type":"integer","maximum":100000.0,"minimum":0.0,"description":"Offset the results, allows you to skip a number of rows before starting to return rows. (min 0, max 100000)","default":0},"order_asc":{"type":"string","maxLength":2400,"minLength":1,"description":"List of column names to order by in ascending order, comma-separated. Leave empty items to combine with descending order. Valid values: txHash, slot, blockTime, blockHumanTime, tokenAddress, tokenSymbol, tokenDecimals, preBalance, postBalance, changeAmount, uiPreBalance, uiPostBalance, uiChangeAmount"},"order_desc":{"type":"string","maxLength":2400,"minLength":1,"description":"List of column names to order by in descending order, comma-separated. Leave empty items to combine with ascending order. Valid values: txHash, slot, blockTime, blockHumanTime, tokenAddress, tokenSymbol, tokenDecimals, preBalance, postBalance, changeAmount, uiPreBalance, uiPostBalance, uiChangeAmount"},"token_address":{"type":"string","maxLength":2400,"minLength":1,"pattern":"^[1-9A-HJ-NP-Za-km-z]{32,44}$","description":"Filter by specific token address (base58 format)"},"wallet_address":{"type":"string","maxLength":2400,"minLength":1,"pattern":"^[1-9A-HJ-NP-Za-km-z]{32,44}$","description":"Solana wallet address (base58 format, 32-44 characters)"}},"additionalProperties":false,"type":"object","required":["wallet_address","token_address","after_time","before_time"]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]}]}},"additionalProperties":false,"type":"object","required":["query"]}}},{"properties":{"source":{"const":"cambrian_solana_activity"},"request":{"properties":{"query":{"oneOf":[{"properties":{"operation":{"type":"string","const":"solana_traders_leaderboard"},"arguments":{"properties":{"interval":{"type":"string","enum":["24 HOUR","12 HOUR","1 HOUR","30 MINUTE"],"description":"Lookback window for trades (SQL Interval). Enum: `24 HOUR`, `12 HOUR`, `1 HOUR`, `30 MINUTE`"},"token_address":{"type":"string","maxLength":2400,"minLength":1,"pattern":"^[1-9A-HJ-NP-Za-km-z]{32,44}$","description":"SPL token mint address (base58)"}},"additionalProperties":false,"type":"object","required":["token_address","interval"]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"solana_pool_transactions"},"arguments":{"properties":{"days":{"type":"integer","maximum":3650.0,"minimum":1.0,"description":"Number of days to look back for transactions. Default is 1 day."},"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"description":"Limit the number of results.","default":100},"offset":{"type":"integer","maximum":100000.0,"minimum":0.0,"description":"Offset the results, allows you to skip a number of rows before starting to return rows.","default":0},"pool_address":{"type":"string","maxLength":2400,"minLength":1,"pattern":"^[1-9A-HJ-NP-Za-km-z]{32,44}$","description":"Pool address (base58-44 string) to get transaction history for"}},"additionalProperties":false,"type":"object","required":["pool_address","days"]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"solana_pool_transactions_time_bounded"},"arguments":{"properties":{"after_time":{"type":"integer","maximum":10000000000.0,"minimum":0.0,"description":"Unix timestamp - start time for data range"},"before_time":{"type":"integer","maximum":10000000000.0,"minimum":0.0,"description":"Unix timestamp - end time for data range"},"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"description":"Limit the number of results.","default":100},"offset":{"type":"integer","maximum":100000.0,"minimum":0.0,"description":"Offset the results, allows you to skip a number of rows before starting to return rows.","default":0},"pool_address":{"type":"string","maxLength":2400,"minLength":1,"pattern":"^[1-9A-HJ-NP-Za-km-z]{32,44}$","description":"Pool address (base58-44 string)."}},"additionalProperties":false,"type":"object","required":["pool_address","after_time","before_time"]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"solana_token_mint_burn_transactions"},"arguments":{"properties":{"after_time":{"type":"integer","maximum":10000000000.0,"minimum":0.0,"description":"Unix timestamp - only return transactions after this time"},"before_time":{"type":"integer","maximum":10000000000.0,"minimum":0.0,"description":"Unix timestamp - only return transactions before this time"},"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"description":"Limit the number of results (min 1, max 1000)","default":100},"offset":{"type":"integer","maximum":100000.0,"minimum":0.0,"description":"Offset the results, allows you to skip a number of rows before starting to return rows (min 0, max 100000)","default":0},"order_asc":{"type":"string","maxLength":2400,"minLength":1,"description":"List of column names to order by in ascending order divided by comma. Valid values: blockTime, blockNumber, txSignature, tokenAddress, operationType, accountCount, authority, amount, amountUI, decimals"},"order_desc":{"type":"string","maxLength":2400,"minLength":1,"description":"List of column names to order by in descending order divided by comma. Valid values: blockTime, blockNumber, txSignature, tokenAddress, operationType, accountCount, authority, amount, amountUI, decimals"},"token_address":{"type":"string","maxLength":2400,"minLength":1,"pattern":"^[1-9A-HJ-NP-Za-km-z]{32,44}$","description":"SPL token mint address (base58 format, 44 characters)"}},"additionalProperties":false,"type":"object","required":["token_address","after_time","before_time"]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"solana_token_transactions"},"arguments":{"properties":{"after_time":{"type":"integer","maximum":10000000000.0,"minimum":0.0,"description":"Unix timestamp - start time for data range","default":1735689600},"before_time":{"type":"integer","maximum":10000000000.0,"minimum":0.0,"description":"Unix timestamp - end time for data range","default":1735776000},"days":{"type":"integer","maximum":3650.0,"minimum":1.0,"description":"Number of days to look back for transactions. Default is 1 day.."},"dex":{"type":"string","enum":["Meteora","Raydium CLMM","Pump.fun AMM","Orca"],"description":"Filter by DEX: Meteora , Raydium CLMM, Pump.fun AMM or Orca"},"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"description":"Limit the number of results.","default":100},"min_value_usd":{"type":"number","minimum":0.0,"description":"Minimum trade value in USD"},"offset":{"type":"integer","maximum":100000.0,"minimum":0.0,"description":"Offset the results, allows you to skip a number of rows before starting to return rows.","default":0},"pool_address":{"type":"string","maxLength":2400,"minLength":1,"pattern":"^[1-9A-HJ-NP-Za-km-z]{32,44}$","description":"Filter trades by pool contract address"},"token_address":{"type":"string","maxLength":2400,"minLength":1,"pattern":"^[1-9A-HJ-NP-Za-km-z]{32,44}$","description":"Token program address (base58-44 string). See tokens for valid addresses."},"tx_type":{"type":"string","enum":["buy","sell","add_liquidity","remove_liquidity"],"description":"Transaction type filter: buy, sell, add_liquidity or remove_liquidity."}},"additionalProperties":false,"type":"object","required":["token_address","days"]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"solana_token_transactions_time_bounded"},"arguments":{"properties":{"after_time":{"type":"integer","maximum":10000000000.0,"minimum":0.0,"description":"Unix timestamp - start time for data range"},"before_time":{"type":"integer","maximum":10000000000.0,"minimum":0.0,"description":"Unix timestamp - end time for data range"},"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"description":"Limit the number of results.","default":100},"offset":{"type":"integer","maximum":100000.0,"minimum":0.0,"description":"Offset the results, allows you to skip a number of rows before starting to return rows.","default":0},"token_address":{"type":"string","maxLength":2400,"minLength":1,"pattern":"^[1-9A-HJ-NP-Za-km-z]{32,44}$","description":"Token program address (base58-44 string). See tokens for valid addresses."}},"additionalProperties":false,"type":"object","required":["token_address","after_time","before_time"]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]}]}},"additionalProperties":false,"type":"object","required":["query"]}}},{"properties":{"source":{"const":"cambrian_evm_liquidity"},"request":{"properties":{"query":{"oneOf":[{"properties":{"operation":{"type":"string","const":"evm_aero_v2_fee_metrics"},"arguments":{"properties":{"chain_id":{"type":"integer","enum":[8453],"description":"EVM chain ID.","default":8453},"pool_address":{"type":"string","maxLength":240,"pattern":"^0x[a-fA-F0-9]{40}$","description":"Pool address with 0x prefix"}},"additionalProperties":false,"type":"object","required":["pool_address"]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"evm_aero_v2_pool"},"arguments":{"properties":{"apr_days_annualized":{"type":"integer","maximum":30.0,"minimum":1.0,"description":"Number of previous completed UTC days to calculate APR from. 7 annualizes activity from the previous 7 completed UTC days."},"chain_id":{"type":"integer","enum":[8453],"description":"EVM chain ID.","default":8453},"pool_address":{"type":"string","maxLength":240,"pattern":"^0x[a-fA-F0-9]{40}$","description":"Pool address with 0x prefix"}},"additionalProperties":false,"type":"object","required":["pool_address","apr_days_annualized"]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"evm_aero_v2_pool_volume"},"arguments":{"properties":{"chain_id":{"type":"integer","enum":[8453],"description":"EVM chain ID.","default":8453},"pool_address":{"type":"string","maxLength":240,"pattern":"^0x[a-fA-F0-9]{40}$","description":"Pool address with 0x prefix"}},"additionalProperties":false,"type":"object","required":["pool_address"]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"evm_aero_v2_pools"},"arguments":{"properties":{"chain_id":{"type":"integer","enum":[8453],"description":"EVM chain ID.","default":8453},"limit":{"type":"integer","maximum":10000.0,"minimum":1.0,"description":"Limit the number of results.","default":100},"offset":{"type":"integer","maximum":100000000.0,"minimum":0.0,"description":"Offset the results, allows you to skip a number of rows before starting to return rows.","default":0}},"additionalProperties":false,"type":"object","required":[]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"evm_aero_v2_provider_summary"},"arguments":{"properties":{"chain_id":{"type":"integer","enum":[8453],"description":"EVM chain ID.","default":8453},"wallet_address":{"type":"string","maxLength":240,"pattern":"^0x[a-fA-F0-9]{40}$","description":"Liquidity provider address with 0x prefix"}},"additionalProperties":false,"type":"object","required":["wallet_address"]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"evm_aero_v3_pool"},"arguments":{"properties":{"chain_id":{"type":"integer","enum":[8453],"description":"EVM chain ID.","default":8453},"pool_address":{"type":"string","maxLength":240,"pattern":"^0x[a-fA-F0-9]{40}$","description":"Pool address with 0x prefix"}},"additionalProperties":false,"type":"object","required":["pool_address"]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"evm_alien_v3_pool"},"arguments":{"properties":{"chain_id":{"type":"integer","enum":[8453],"description":"EVM chain ID.","default":8453},"pool_address":{"type":"string","maxLength":240,"pattern":"^0x[a-fA-F0-9]{40}$","description":"Pool address with 0x prefix"}},"additionalProperties":false,"type":"object","required":["pool_address"]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"evm_alien_v3_pools"},"arguments":{"properties":{"chain_id":{"type":"integer","enum":[8453],"description":"EVM chain ID.","default":8453},"limit":{"type":"integer","maximum":10000.0,"minimum":1.0,"description":"Limit the number of results.","default":100},"offset":{"type":"integer","maximum":100000000.0,"minimum":0.0,"description":"Offset the results, allows you to skip a number of rows before starting to return rows.","default":0},"order_asc":{"items":{"enum":["chainId","dexAddress","dexName","poolAddress","token0Address","token0Symbol","token0Decimals","token1Address","token1Symbol","token1Decimals","createdAt","fee","tickSpacing"]},"type":"array","maxItems":4,"uniqueItems":true,"description":"List of column names to order by in ascending order divided by comma. Leave empty items to combine with descending order"},"order_desc":{"items":{"enum":["chainId","dexAddress","dexName","poolAddress","token0Address","token0Symbol","token0Decimals","token1Address","token1Symbol","token1Decimals","createdAt","fee","tickSpacing"]},"type":"array","maxItems":4,"uniqueItems":true,"description":"List of column names to order by in descending order divided by comma. Leave empty items to combine with ascending order"},"token_address":{"type":"string","maxLength":240,"pattern":"^0x[a-fA-F0-9]{40}$","description":"Pool token address. See tokens for valid addresses."}},"additionalProperties":false,"type":"object","required":[]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"evm_dexes"},"arguments":{"properties":{"chain_id":{"type":"integer","enum":[1,8453,42161,4663],"description":"EVM chain ID.","default":8453}},"additionalProperties":false,"type":"object","required":[]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"evm_pancake_v3_pool"},"arguments":{"properties":{"chain_id":{"type":"integer","enum":[1,8453,42161,4663],"description":"EVM chain ID.","default":8453},"pool_address":{"type":"string","maxLength":240,"pattern":"^0x[a-fA-F0-9]{40}$","description":"Pool address with 0x prefix"}},"additionalProperties":false,"type":"object","required":["pool_address"]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"evm_pancake_v3_pools"},"arguments":{"properties":{"chain_id":{"type":"integer","enum":[1,8453,42161,4663],"description":"EVM chain ID.","default":8453},"limit":{"type":"integer","maximum":10000.0,"minimum":1.0,"description":"Limit the number of results.","default":100},"offset":{"type":"integer","maximum":100000000.0,"minimum":0.0,"description":"Offset the results, allows you to skip a number of rows before starting to return rows.","default":0},"order_asc":{"items":{"enum":["chainId","dexAddress","dexName","poolAddress","token0Address","token0Symbol","token0Decimals","token1Address","token1Symbol","token1Decimals","createdAt","fee","tickSpacing"]},"type":"array","maxItems":4,"uniqueItems":true,"description":"List of column names to order by in ascending order divided by comma. Leave empty items to combine with descending order"},"order_desc":{"items":{"enum":["chainId","dexAddress","dexName","poolAddress","token0Address","token0Symbol","token0Decimals","token1Address","token1Symbol","token1Decimals","createdAt","fee","tickSpacing"]},"type":"array","maxItems":4,"uniqueItems":true,"description":"List of column names to order by in descending order divided by comma. Leave empty items to combine with ascending order"},"token_address":{"type":"string","maxLength":240,"pattern":"^0x[a-fA-F0-9]{40}$","description":"Pool token address. See tokens for valid addresses."}},"additionalProperties":false,"type":"object","required":[]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"evm_sushi_v3_pool"},"arguments":{"properties":{"chain_id":{"type":"integer","enum":[1,8453,42161,4663],"description":"EVM chain ID.","default":8453},"pool_address":{"type":"string","maxLength":240,"pattern":"^0x[a-fA-F0-9]{40}$","description":"Pool address with 0x prefix"}},"additionalProperties":false,"type":"object","required":["pool_address"]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"evm_sushi_v3_pools"},"arguments":{"properties":{"chain_id":{"type":"integer","enum":[1,8453,42161,4663],"description":"EVM chain ID.","default":8453},"limit":{"type":"integer","maximum":10000.0,"minimum":1.0,"description":"Limit the number of results.","default":100},"offset":{"type":"integer","maximum":100000000.0,"minimum":0.0,"description":"Offset the results, allows you to skip a number of rows before starting to return rows.","default":0},"order_asc":{"items":{"enum":["chainId","dexAddress","dexName","poolAddress","token0Address","token0Symbol","token0Decimals","token1Address","token1Symbol","token1Decimals","createdAt","fee","tickSpacing"]},"type":"array","maxItems":4,"uniqueItems":true,"description":"List of column names to order by in ascending order divided by comma. Leave empty items to combine with descending order"},"order_desc":{"items":{"enum":["chainId","dexAddress","dexName","poolAddress","token0Address","token0Symbol","token0Decimals","token1Address","token1Symbol","token1Decimals","createdAt","fee","tickSpacing"]},"type":"array","maxItems":4,"uniqueItems":true,"description":"List of column names to order by in descending order divided by comma. Leave empty items to combine with ascending order"},"token_address":{"type":"string","maxLength":240,"pattern":"^0x[a-fA-F0-9]{40}$","description":"Pool token address. See tokens for valid addresses."}},"additionalProperties":false,"type":"object","required":[]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"evm_uniswap_v3_pool"},"arguments":{"properties":{"chain_id":{"type":"integer","enum":[1,8453,42161,4663],"description":"EVM chain ID.","default":8453},"pool_address":{"type":"string","maxLength":240,"pattern":"^0x[a-fA-F0-9]{40}$","description":"Pool address with 0x prefix"}},"additionalProperties":false,"type":"object","required":["pool_address"]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"evm_uniswap_v3_pools"},"arguments":{"properties":{"chain_id":{"type":"integer","enum":[1,8453,42161,4663],"description":"EVM chain ID.","default":8453},"limit":{"type":"integer","maximum":10000.0,"minimum":1.0,"description":"Limit the number of results.","default":100},"offset":{"type":"integer","maximum":100000000.0,"minimum":0.0,"description":"Offset the results, allows you to skip a number of rows before starting to return rows.","default":0},"order_asc":{"items":{"enum":["chainId","dexAddress","dexName","poolAddress","token0Address","token0Symbol","token0Decimals","token1Address","token1Symbol","token1Decimals","createdAt","fee","tickSpacing"]},"type":"array","maxItems":4,"uniqueItems":true,"description":"List of column names to order by in ascending order divided by comma. Leave empty items to combine with descending order"},"order_desc":{"items":{"enum":["chainId","dexAddress","dexName","poolAddress","token0Address","token0Symbol","token0Decimals","token1Address","token1Symbol","token1Decimals","createdAt","fee","tickSpacing"]},"type":"array","maxItems":4,"uniqueItems":true,"description":"List of column names to order by in descending order divided by comma. Leave empty items to combine with ascending order"},"token_address":{"type":"string","maxLength":240,"pattern":"^0x[a-fA-F0-9]{40}$","description":"Pool token address. See tokens for valid addresses."}},"additionalProperties":false,"type":"object","required":[]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]}]}},"additionalProperties":false,"type":"object","required":["query"]}}},{"properties":{"source":{"const":"cambrian_evm_market"},"request":{"properties":{"query":{"oneOf":[{"properties":{"operation":{"type":"string","const":"evm_chains"},"arguments":{"properties":{},"additionalProperties":false,"type":"object","required":[]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"evm_ohlcv_pool"},"arguments":{"properties":{"after_time":{"type":"integer","maximum":4102444799.0,"minimum":1420070400.0},"before_time":{"type":"integer","maximum":4102444799.0,"minimum":1420070400.0},"chain_id":{"type":"integer","enum":[1,8453],"description":"EVM chain ID.","default":8453},"interval":{"type":"string","enum":["1m","5m","15m","30m","1h","2h","4h","6h","8h","12h","1d","3d","1w"],"maxLength":240},"limit":{"type":"integer","maximum":10000.0,"minimum":1.0,"description":"Limit the number of results.","default":100},"offset":{"type":"integer","maximum":100000000.0,"minimum":0.0,"description":"Offset the results, allows you to skip a number of rows before starting to return rows.","default":0},"pool_address":{"type":"string","maxLength":240,"pattern":"^0x[a-fA-F0-9]{40}$"}},"additionalProperties":false,"type":"object","required":["pool_address","after_time","before_time","interval"]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"evm_ohlcv_token"},"arguments":{"properties":{"after_time":{"type":"integer","maximum":4102444799.0,"minimum":1420070400.0,"description":"Unix timestamp (in seconds) after which to retrieve OHLCV data."},"before_time":{"type":"integer","maximum":4102444799.0,"minimum":1420070400.0,"description":"Unix timestamp (in seconds) before which to retrieve OHLCV data."},"chain_id":{"type":"integer","enum":[1,8453],"description":"EVM chain ID.","default":8453},"interval":{"type":"string","enum":["1m","5m","15m","30m","1h","2h","4h","6h","8h","12h","1d","3d","1w"],"maxLength":240},"limit":{"type":"integer","maximum":10000.0,"minimum":1.0,"description":"Limit the number of results.","default":100},"offset":{"type":"integer","maximum":100000000.0,"minimum":0.0,"description":"Offset the results, allows you to skip a number of rows before starting to return rows.","default":0},"token_address":{"type":"string","maxLength":240,"pattern":"^0x[a-fA-F0-9]{40}$"},"use_filter":{"type":"boolean","description":"Whether to use the MAD filter for the OHLCV query."}},"additionalProperties":false,"type":"object","required":["token_address","after_time","before_time","interval","use_filter"]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"evm_price_current"},"arguments":{"properties":{"chain_id":{"type":"integer","enum":[1,8453,42161,4663],"description":"EVM chain ID.","default":8453},"token_address":{"type":"string","maxLength":240,"pattern":"^0x[a-fA-F0-9]{40}$","description":"Address of the token prefixed with 0x. See white listed tokens","default":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913"}},"additionalProperties":false,"type":"object","required":[]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"evm_price_hour"},"arguments":{"properties":{"chain_id":{"type":"integer","enum":[1,8453,42161,4663],"description":"EVM chain ID.","default":8453},"limit":{"type":"integer","maximum":10000.0,"minimum":1.0,"description":"Limit the number of results.","default":100},"offset":{"type":"integer","maximum":100000000.0,"minimum":0.0,"description":"Offset the results, allows you to skip a number of rows before starting to return rows.","default":0},"token_address":{"type":"string","maxLength":240,"pattern":"^0x[a-fA-F0-9]{40}$","description":"Token address. See tokens for valid address for a chain."}},"additionalProperties":false,"type":"object","required":["token_address"]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"evm_tokens"},"arguments":{"properties":{"chain_id":{"type":"integer","enum":[1,8453,42161,4663],"description":"EVM chain ID.","default":8453},"filter":{"type":"string","maxLength":240,"description":"Search symbol or name of the token"},"limit":{"type":"integer","maximum":10000.0,"minimum":1.0,"description":"Limit the number of results.","default":100},"offset":{"type":"integer","maximum":100000000.0,"minimum":0.0,"description":"Offset the results, allows you to skip a number of rows before starting to return rows.","default":0}},"additionalProperties":false,"type":"object","required":[]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]}]}},"additionalProperties":false,"type":"object","required":["query"]}}},{"properties":{"source":{"const":"cambrian_evm_lending"},"request":{"properties":{"query":{"oneOf":[{"properties":{"operation":{"type":"string","const":"evm_lending_aave_v3_pools"},"arguments":{"properties":{"borrowable":{"type":"boolean","description":"If true, only lending pools/vaults with borrowing enabled will be returned"},"chain_id":{"type":"integer","enum":[1,8453,42161],"description":"EVM chain ID.","default":8453},"limit":{"type":"integer","maximum":10000.0,"minimum":1.0,"description":"Limit the number of results.","default":100},"min_tvl_usd":{"type":"integer","minimum":0.0,"description":"Minimum TVL Usd of the lending pool/vault"},"offset":{"type":"integer","maximum":100000000.0,"minimum":0.0,"description":"Offset the results, allows you to skip a number of rows before starting to return rows.","default":0},"order_asc":{"items":{"enum":["chainId","protocolId","poolAddress","symbol","vaultName","underlyingAddress","underlyingSymbol","supply","supplyUsd","borrow","borrowUsd","tvlUsd","availableLiquidityUsd","supplyCap","supplyCapUsd","borrowCap","borrowCapUsd","remainingCapacityUsd","supplyApy","borrowApy","netSupplyApy","performanceFee","managementFee","utilizationRate","ltv","borrowable","depositEnabled","updatedAt"]},"type":"array","maxItems":4,"uniqueItems":true,"description":"List of column names to order by in ascending order divided by comma. Leave empty items to combine with descending order"},"order_desc":{"items":{"enum":["chainId","protocolId","poolAddress","symbol","vaultName","underlyingAddress","underlyingSymbol","supply","supplyUsd","borrow","borrowUsd","tvlUsd","availableLiquidityUsd","supplyCap","supplyCapUsd","borrowCap","borrowCapUsd","remainingCapacityUsd","supplyApy","borrowApy","netSupplyApy","performanceFee","managementFee","utilizationRate","ltv","borrowable","depositEnabled","updatedAt"]},"type":"array","maxItems":4,"uniqueItems":true,"description":"List of column names to order by in descending order divided by comma. Leave empty items to combine with ascending order"},"pool_address":{"type":"string","maxLength":240,"pattern":"^0x[a-fA-F0-9]{40}$","description":"Aave V3 pool address"},"underlying_address":{"type":"string","maxLength":240,"pattern":"^0x[a-fA-F0-9]{40}$","description":"Underlying token address. See tokens for valid addresses."}},"additionalProperties":false,"type":"object","required":[]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"evm_lending_euler_curator_vaults"},"arguments":{"properties":{"chain_id":{"type":"integer","enum":[1,8453,42161,4663],"description":"EVM chain ID.","default":8453},"curator_address":{"type":"string","maxLength":240,"pattern":"^0x[a-fA-F0-9]{40}$","description":"Euler curator address."},"limit":{"type":"integer","maximum":10000.0,"minimum":1.0,"description":"Limit the number of results.","default":100},"min_tvl_usd":{"type":"integer","minimum":0.0,"description":"Minimum TVL Usd of the lending pool/vault"},"offset":{"type":"integer","maximum":100000000.0,"minimum":0.0,"description":"Offset the results, allows you to skip a number of rows before starting to return rows.","default":0},"order_asc":{"items":{"enum":["chainId","protocolId","curatorAddress","curatorName","poolAddress","symbol","vaultName","underlyingAddress","underlyingSymbol","supply","supplyUsd","borrow","borrowUsd","tvlUsd","availableLiquidityUsd","supplyCap","supplyCapUsd","borrowCap","borrowCapUsd","remainingCapacityUsd","supplyApy","borrowApy","netSupplyApy","performanceFee","managementFee","utilizationRate","ltv","borrowable","depositEnabled","updatedAt"]},"type":"array","maxItems":4,"uniqueItems":true,"description":"List of column names to order by in ascending order divided by comma. Leave empty items to combine with descending order"},"order_desc":{"items":{"enum":["chainId","protocolId","curatorAddress","curatorName","poolAddress","symbol","vaultName","underlyingAddress","underlyingSymbol","supply","supplyUsd","borrow","borrowUsd","tvlUsd","availableLiquidityUsd","supplyCap","supplyCapUsd","borrowCap","borrowCapUsd","remainingCapacityUsd","supplyApy","borrowApy","netSupplyApy","performanceFee","managementFee","utilizationRate","ltv","borrowable","depositEnabled","updatedAt"]},"type":"array","maxItems":4,"uniqueItems":true,"description":"List of column names to order by in descending order divided by comma. Leave empty items to combine with ascending order"},"protocol_id":{"type":"string","maxLength":240,"description":"Filter by protocol ID. Ex: euler-lend"},"underlying_address":{"type":"string","maxLength":240,"pattern":"^0x[a-fA-F0-9]{40}$","description":"Underlying token address. See tokens for valid addresses."}},"additionalProperties":false,"type":"object","required":["curator_address"]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"evm_lending_euler_curators"},"arguments":{"properties":{"chain_id":{"type":"integer","enum":[1,8453,42161,4663],"description":"EVM chain ID.","default":8453},"limit":{"type":"integer","maximum":10000.0,"minimum":1.0,"description":"Limit the number of results.","default":100},"min_tvl_usd":{"type":"integer","minimum":0.0,"description":"Minimum TVL Usd of the lending pool/vault"},"offset":{"type":"integer","maximum":100000000.0,"minimum":0.0,"description":"Offset the results, allows you to skip a number of rows before starting to return rows.","default":0},"order_asc":{"items":{"enum":["chainId","protocolId","curatorAddress","curatorName","totalTvlUsd","vaultCount","verified","updatedAt"]},"type":"array","maxItems":4,"uniqueItems":true,"description":"List of column names to order by in ascending order divided by comma. Leave empty items to combine with descending order"},"order_desc":{"items":{"enum":["chainId","protocolId","curatorAddress","curatorName","totalTvlUsd","vaultCount","verified","updatedAt"]},"type":"array","maxItems":4,"uniqueItems":true,"description":"List of column names to order by in descending order divided by comma. Leave empty items to combine with ascending order"},"protocol_id":{"type":"string","maxLength":240,"description":"Filter by protocol ID. Ex: aave-v3, morpho-v1, morpho-v2, euler-lend, etc."}},"additionalProperties":false,"type":"object","required":[]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"evm_lending_euler_markets"},"arguments":{"properties":{"chain_id":{"type":"integer","enum":[1,8453,42161,4663],"description":"EVM chain ID.","default":8453},"collateral_address":{"type":"string","maxLength":240,"pattern":"^0x[a-fA-F0-9]{40}$","description":"Collateral token address. See tokens for valid addresses."},"limit":{"type":"integer","maximum":10000.0,"minimum":1.0,"description":"Limit the number of results.","default":100},"loan_address":{"type":"string","maxLength":240,"pattern":"^0x[a-fA-F0-9]{40}$","description":"Loan token address. See tokens for valid addresses."},"min_tvl_usd":{"type":"integer","minimum":0.0,"description":"Minimum TVL Usd of the lending pool/vault"},"offset":{"type":"integer","maximum":100000000.0,"minimum":0.0,"description":"Offset the results, allows you to skip a number of rows before starting to return rows.","default":0},"order_asc":{"items":{"enum":["chainId","protocolId","marketId","loanAddress","loanSymbol","collateralAddress","collateralSymbol","supplyUsd","borrowUsd","tvlUsd","availableLiquidityUsd","supplyApy","borrowApy","utilizationRate","ltv","updatedAt"]},"type":"array","maxItems":4,"uniqueItems":true,"description":"List of column names to order by in ascending order divided by comma. Leave empty items to combine with descending order"},"order_desc":{"items":{"enum":["chainId","protocolId","marketId","loanAddress","loanSymbol","collateralAddress","collateralSymbol","supplyUsd","borrowUsd","tvlUsd","availableLiquidityUsd","supplyApy","borrowApy","utilizationRate","ltv","updatedAt"]},"type":"array","maxItems":4,"uniqueItems":true,"description":"List of column names to order by in descending order divided by comma. Leave empty items to combine with ascending order"},"protocol_id":{"type":"string","maxLength":240,"description":"Filter by protocol ID. Ex: aave-v3, morpho-v1, morpho-v2, euler-lend, etc."}},"additionalProperties":false,"type":"object","required":[]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"evm_lending_euler_v2_vault_markets"},"arguments":{"properties":{"chain_id":{"type":"integer","enum":[1,8453,42161,4663],"description":"EVM chain ID.","default":8453},"order_asc":{"items":{"enum":["chainId","protocolId","marketId","loanAddress","loanSymbol","collateralAddress","collateralSymbol","supplyApy","borrowApy","utilizationRate","ltv","supplyCapUsd","updatedAt"]},"type":"array","maxItems":4,"uniqueItems":true,"description":"List of column names to order by in ascending order divided by comma. Leave empty items to combine with descending order"},"order_desc":{"items":{"enum":["chainId","protocolId","marketId","loanAddress","loanSymbol","collateralAddress","collateralSymbol","supplyApy","borrowApy","utilizationRate","ltv","supplyCapUsd","updatedAt"]},"type":"array","maxItems":4,"uniqueItems":true,"description":"List of column names to order by in descending order divided by comma. Leave empty items to combine with ascending order"},"vault_address":{"type":"string","maxLength":240,"pattern":"^0x[a-fA-F0-9]{40}$","description":"Euler V2 vault address."}},"additionalProperties":false,"type":"object","required":["vault_address"]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"evm_lending_euler_v2_vaults"},"arguments":{"properties":{"borrowable":{"type":"boolean","description":"If true, only lending vaults with borrowing enabled will be returned"},"chain_id":{"type":"integer","enum":[1,8453,42161,4663],"description":"EVM chain ID.","default":8453},"limit":{"type":"integer","maximum":10000.0,"minimum":1.0,"description":"Limit the number of results.","default":100},"min_tvl_usd":{"type":"integer","minimum":0.0,"description":"Minimum TVL Usd of the lending vault"},"offset":{"type":"integer","maximum":100000000.0,"minimum":0.0,"description":"Offset the results, allows you to skip a number of rows before starting to return rows.","default":0},"order_asc":{"items":{"enum":["chainId","protocolId","vaultAddress","symbol","vaultName","underlyingAddress","underlyingSymbol","supply","supplyUsd","borrow","borrowUsd","tvlUsd","availableLiquidityUsd","supplyCap","supplyCapUsd","borrowCap","borrowCapUsd","remainingCapacityUsd","supplyApy","borrowApy","netSupplyApy","performanceFee","managementFee","utilizationRate","ltv","borrowable","depositEnabled","updatedAt"]},"type":"array","maxItems":4,"uniqueItems":true,"description":"List of column names to order by in ascending order divided by comma. Leave empty items to combine with descending order"},"order_desc":{"items":{"enum":["chainId","protocolId","vaultAddress","symbol","vaultName","underlyingAddress","underlyingSymbol","supply","supplyUsd","borrow","borrowUsd","tvlUsd","availableLiquidityUsd","supplyCap","supplyCapUsd","borrowCap","borrowCapUsd","remainingCapacityUsd","supplyApy","borrowApy","netSupplyApy","performanceFee","managementFee","utilizationRate","ltv","borrowable","depositEnabled","updatedAt"]},"type":"array","maxItems":4,"uniqueItems":true,"description":"List of column names to order by in descending order divided by comma. Leave empty items to combine with ascending order"},"protocol_id":{"type":"string","maxLength":240,"description":"Filter by protocol ID. Ex: aave-v3, morpho-v1, morpho-v2, euler-lend, etc."},"underlying_address":{"type":"string","maxLength":240,"pattern":"^0x[a-fA-F0-9]{40}$","description":"Underlying token address. See tokens for valid addresses."},"vault_address":{"type":"string","maxLength":240,"pattern":"^0x[a-fA-F0-9]{40}$","description":"Euler Lend vault address"}},"additionalProperties":false,"type":"object","required":[]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"evm_lending_morpho_curator_vaults"},"arguments":{"properties":{"chain_id":{"type":"integer","enum":[1,8453,42161,4663],"description":"EVM chain ID.","default":8453},"curator_address":{"type":"string","maxLength":240,"pattern":"^0x[a-fA-F0-9]{40}$","description":"Morpho curator address."},"limit":{"type":"integer","maximum":10000.0,"minimum":1.0,"description":"Limit the number of results.","default":100},"min_tvl_usd":{"type":"integer","minimum":0.0,"description":"Minimum TVL Usd of the lending pool/vault"},"offset":{"type":"integer","maximum":100000000.0,"minimum":0.0,"description":"Offset the results, allows you to skip a number of rows before starting to return rows.","default":0},"order_asc":{"items":{"enum":["chainId","protocolId","curatorAddress","curatorName","poolAddress","symbol","vaultName","underlyingAddress","underlyingSymbol","supply","supplyUsd","borrow","borrowUsd","tvlUsd","availableLiquidityUsd","supplyCap","supplyCapUsd","borrowCap","borrowCapUsd","remainingCapacityUsd","supplyApy","borrowApy","netSupplyApy","performanceFee","managementFee","utilizationRate","ltv","borrowable","depositEnabled","updatedAt"]},"type":"array","maxItems":4,"uniqueItems":true,"description":"List of column names to order by in ascending order divided by comma. Leave empty items to combine with descending order"},"order_desc":{"items":{"enum":["chainId","protocolId","curatorAddress","curatorName","poolAddress","symbol","vaultName","underlyingAddress","underlyingSymbol","supply","supplyUsd","borrow","borrowUsd","tvlUsd","availableLiquidityUsd","supplyCap","supplyCapUsd","borrowCap","borrowCapUsd","remainingCapacityUsd","supplyApy","borrowApy","netSupplyApy","performanceFee","managementFee","utilizationRate","ltv","borrowable","depositEnabled","updatedAt"]},"type":"array","maxItems":4,"uniqueItems":true,"description":"List of column names to order by in descending order divided by comma. Leave empty items to combine with ascending order"},"protocol_id":{"type":"string","maxLength":240,"description":"Filter by protocol ID. Ex: morpho-v1, morpho-v2"},"underlying_address":{"type":"string","maxLength":240,"pattern":"^0x[a-fA-F0-9]{40}$","description":"Underlying token address. See tokens for valid addresses."}},"additionalProperties":false,"type":"object","required":["curator_address"]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"evm_lending_morpho_curators"},"arguments":{"properties":{"chain_id":{"type":"integer","enum":[1,8453,42161,4663],"description":"EVM chain ID.","default":8453},"limit":{"type":"integer","maximum":10000.0,"minimum":1.0,"description":"Limit the number of results.","default":100},"min_tvl_usd":{"type":"integer","minimum":0.0,"description":"Minimum TVL Usd of the lending pool/vault"},"offset":{"type":"integer","maximum":100000000.0,"minimum":0.0,"description":"Offset the results, allows you to skip a number of rows before starting to return rows.","default":0},"order_asc":{"items":{"enum":["chainId","protocolId","curatorAddress","curatorName","totalTvlUsd","vaultCount","verified","updatedAt"]},"type":"array","maxItems":4,"uniqueItems":true,"description":"List of column names to order by in ascending order divided by comma. Leave empty items to combine with descending order"},"order_desc":{"items":{"enum":["chainId","protocolId","curatorAddress","curatorName","totalTvlUsd","vaultCount","verified","updatedAt"]},"type":"array","maxItems":4,"uniqueItems":true,"description":"List of column names to order by in descending order divided by comma. Leave empty items to combine with ascending order"},"protocol_id":{"type":"string","maxLength":240,"description":"Filter by protocol ID. Ex: aave-v3, morpho-v1, morpho-v2, euler-lend, etc."}},"additionalProperties":false,"type":"object","required":[]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"evm_lending_morpho_markets"},"arguments":{"properties":{"chain_id":{"type":"integer","enum":[1,8453,42161,4663],"description":"EVM chain ID.","default":8453},"collateral_address":{"type":"string","maxLength":240,"pattern":"^0x[a-fA-F0-9]{40}$","description":"Collateral token address. See tokens for valid addresses."},"limit":{"type":"integer","maximum":10000.0,"minimum":1.0,"description":"Limit the number of results.","default":100},"loan_address":{"type":"string","maxLength":240,"pattern":"^0x[a-fA-F0-9]{40}$","description":"Loan token address. See tokens for valid addresses."},"min_tvl_usd":{"type":"integer","minimum":0.0,"description":"Minimum TVL Usd of the lending pool/vault"},"offset":{"type":"integer","maximum":100000000.0,"minimum":0.0,"description":"Offset the results, allows you to skip a number of rows before starting to return rows.","default":0},"order_asc":{"items":{"enum":["chainId","protocolId","marketId","loanAddress","loanSymbol","collateralAddress","collateralSymbol","supplyUsd","borrowUsd","tvlUsd","availableLiquidityUsd","supplyApy","borrowApy","utilizationRate","lltv","updatedAt"]},"type":"array","maxItems":4,"uniqueItems":true,"description":"List of column names to order by in ascending order divided by comma. Leave empty items to combine with descending order"},"order_desc":{"items":{"enum":["chainId","protocolId","marketId","loanAddress","loanSymbol","collateralAddress","collateralSymbol","supplyUsd","borrowUsd","tvlUsd","availableLiquidityUsd","supplyApy","borrowApy","utilizationRate","lltv","updatedAt"]},"type":"array","maxItems":4,"uniqueItems":true,"description":"List of column names to order by in descending order divided by comma. Leave empty items to combine with ascending order"},"protocol_id":{"type":"string","maxLength":240,"description":"Filter by protocol ID. Ex: aave-v3, morpho-v1, morpho-v2, euler-lend, etc."}},"additionalProperties":false,"type":"object","required":[]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"evm_lending_morpho_v1_vault_markets"},"arguments":{"properties":{"chain_id":{"type":"integer","enum":[1,8453,42161,4663],"description":"EVM chain ID.","default":8453},"order_asc":{"items":{"enum":["chainId","protocolId","marketId","loanAddress","loanSymbol","collateralAddress","collateralSymbol","supplyApy","borrowApy","utilizationRate","lltv","allocationUsd","allocationShare","supplyCapUsd","updatedAt"]},"type":"array","maxItems":4,"uniqueItems":true,"description":"List of column names to order by in ascending order divided by comma. Leave empty items to combine with descending order"},"order_desc":{"items":{"enum":["chainId","protocolId","marketId","loanAddress","loanSymbol","collateralAddress","collateralSymbol","supplyApy","borrowApy","utilizationRate","lltv","allocationUsd","allocationShare","supplyCapUsd","updatedAt"]},"type":"array","maxItems":4,"uniqueItems":true,"description":"List of column names to order by in descending order divided by comma. Leave empty items to combine with ascending order"},"vault_address":{"type":"string","maxLength":240,"pattern":"^0x[a-fA-F0-9]{40}$","description":"Morpho V1 vault address."}},"additionalProperties":false,"type":"object","required":["vault_address"]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"evm_lending_morpho_v1_vaults"},"arguments":{"properties":{"borrowable":{"type":"boolean","description":"If true, only lending vaults with borrowing enabled will be returned"},"chain_id":{"type":"integer","enum":[1,8453,42161,4663],"description":"EVM chain ID.","default":8453},"limit":{"type":"integer","maximum":10000.0,"minimum":1.0,"description":"Limit the number of results.","default":100},"min_tvl_usd":{"type":"integer","minimum":0.0,"description":"Minimum TVL Usd of the lending vault"},"offset":{"type":"integer","maximum":100000000.0,"minimum":0.0,"description":"Offset the results, allows you to skip a number of rows before starting to return rows.","default":0},"order_asc":{"items":{"enum":["chainId","protocolId","vaultAddress","symbol","vaultName","underlyingAddress","underlyingSymbol","supply","supplyUsd","borrow","borrowUsd","tvlUsd","availableLiquidityUsd","supplyCap","supplyCapUsd","borrowCap","borrowCapUsd","remainingCapacityUsd","supplyApy","borrowApy","netSupplyApy","performanceFee","managementFee","utilizationRate","ltv","borrowable","depositEnabled","updatedAt"]},"type":"array","maxItems":4,"uniqueItems":true,"description":"List of column names to order by in ascending order divided by comma. Leave empty items to combine with descending order"},"order_desc":{"items":{"enum":["chainId","protocolId","vaultAddress","symbol","vaultName","underlyingAddress","underlyingSymbol","supply","supplyUsd","borrow","borrowUsd","tvlUsd","availableLiquidityUsd","supplyCap","supplyCapUsd","borrowCap","borrowCapUsd","remainingCapacityUsd","supplyApy","borrowApy","netSupplyApy","performanceFee","managementFee","utilizationRate","ltv","borrowable","depositEnabled","updatedAt"]},"type":"array","maxItems":4,"uniqueItems":true,"description":"List of column names to order by in descending order divided by comma. Leave empty items to combine with ascending order"},"protocol_id":{"type":"string","maxLength":240,"description":"Filter by protocol ID. Ex: aave-v3, morpho-v1, morpho-v2, euler-lend, etc."},"underlying_address":{"type":"string","maxLength":240,"pattern":"^0x[a-fA-F0-9]{40}$","description":"Underlying token address. See tokens for valid addresses."},"vault_address":{"type":"string","maxLength":240,"pattern":"^0x[a-fA-F0-9]{40}$","description":"Morpho V1 vault address"}},"additionalProperties":false,"type":"object","required":[]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"evm_lending_morpho_v2_vault_markets"},"arguments":{"properties":{"chain_id":{"type":"integer","enum":[1,8453,42161,4663],"description":"EVM chain ID.","default":8453},"order_asc":{"items":{"enum":["chainId","protocolId","marketId","loanAddress","loanSymbol","collateralAddress","collateralSymbol","supplyApy","borrowApy","utilizationRate","lltv","allocationUsd","allocationShare","updatedAt"]},"type":"array","maxItems":4,"uniqueItems":true,"description":"List of column names to order by in ascending order divided by comma. Leave empty items to combine with descending order"},"order_desc":{"items":{"enum":["chainId","protocolId","marketId","loanAddress","loanSymbol","collateralAddress","collateralSymbol","supplyApy","borrowApy","utilizationRate","lltv","allocationUsd","allocationShare","updatedAt"]},"type":"array","maxItems":4,"uniqueItems":true,"description":"List of column names to order by in descending order divided by comma. Leave empty items to combine with ascending order"},"vault_address":{"type":"string","maxLength":240,"pattern":"^0x[a-fA-F0-9]{40}$","description":"Morpho V2 vault address."}},"additionalProperties":false,"type":"object","required":["vault_address"]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"evm_lending_morpho_v2_vaults"},"arguments":{"properties":{"borrowable":{"type":"boolean","description":"If true, only lending vaults with borrowing enabled will be returned"},"chain_id":{"type":"integer","enum":[1,8453,42161,4663],"description":"EVM chain ID.","default":8453},"limit":{"type":"integer","maximum":10000.0,"minimum":1.0,"description":"Limit the number of results.","default":100},"min_tvl_usd":{"type":"integer","minimum":0.0,"description":"Minimum TVL Usd of the lending vault"},"offset":{"type":"integer","maximum":100000000.0,"minimum":0.0,"description":"Offset the results, allows you to skip a number of rows before starting to return rows.","default":0},"order_asc":{"items":{"enum":["chainId","protocolId","vaultAddress","symbol","vaultName","underlyingAddress","underlyingSymbol","supply","supplyUsd","borrow","borrowUsd","tvlUsd","availableLiquidityUsd","supplyCap","supplyCapUsd","borrowCap","borrowCapUsd","remainingCapacityUsd","supplyApy","borrowApy","netSupplyApy","performanceFee","managementFee","utilizationRate","ltv","borrowable","depositEnabled","updatedAt"]},"type":"array","maxItems":4,"uniqueItems":true,"description":"List of column names to order by in ascending order divided by comma. Leave empty items to combine with descending order"},"order_desc":{"items":{"enum":["chainId","protocolId","vaultAddress","symbol","vaultName","underlyingAddress","underlyingSymbol","supply","supplyUsd","borrow","borrowUsd","tvlUsd","availableLiquidityUsd","supplyCap","supplyCapUsd","borrowCap","borrowCapUsd","remainingCapacityUsd","supplyApy","borrowApy","netSupplyApy","performanceFee","managementFee","utilizationRate","ltv","borrowable","depositEnabled","updatedAt"]},"type":"array","maxItems":4,"uniqueItems":true,"description":"List of column names to order by in descending order divided by comma. Leave empty items to combine with ascending order"},"protocol_id":{"type":"string","maxLength":240,"description":"Filter by protocol ID. Ex: aave-v3, morpho-v1, morpho-v2, euler-lend, etc."},"underlying_address":{"type":"string","maxLength":240,"pattern":"^0x[a-fA-F0-9]{40}$","description":"Underlying token address. See tokens for valid addresses."},"vault_address":{"type":"string","maxLength":240,"pattern":"^0x[a-fA-F0-9]{40}$","description":"Morpho V2 vault address"}},"additionalProperties":false,"type":"object","required":[]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"evm_lending_overview"},"arguments":{"properties":{"address":{"type":"string","maxLength":240,"pattern":"^0x[a-fA-F0-9]{40}$","description":"Address of the lending pool / vault"},"borrowable":{"type":"boolean","description":"If true, only lending pools/vaults with borrowing enabled will be returned"},"chain_id":{"type":"integer","enum":[1,8453,42161,4663],"description":"EVM chain ID.","default":8453},"limit":{"type":"integer","maximum":10000.0,"minimum":1.0,"description":"Limit the number of results.","default":100},"min_tvl_usd":{"type":"integer","minimum":0.0,"description":"Minimum TVL USD of the lending pool/vault"},"offset":{"type":"integer","maximum":100000000.0,"minimum":0.0,"description":"Offset the results, allows you to skip a number of rows before starting to return rows.","default":0},"order_asc":{"items":{"enum":["chainId","protocolId","address","symbol","vaultName","underlyingAddress","underlyingSymbol","supply","supplyUsd","borrow","borrowUsd","tvlUsd","availableLiquidityUsd","supplyCap","supplyCapUsd","borrowCap","borrowCapUsd","remainingCapacityUsd","supplyApy","borrowApy","netSupplyApy","performanceFee","managementFee","utilizationRate","ltv","borrowable","depositEnabled","updatedAt"]},"type":"array","maxItems":4,"uniqueItems":true,"description":"List of column names to order by in ascending order divided by comma. Leave empty items to combine with descending order"},"order_desc":{"items":{"enum":["chainId","protocolId","address","symbol","vaultName","underlyingAddress","underlyingSymbol","supply","supplyUsd","borrow","borrowUsd","tvlUsd","availableLiquidityUsd","supplyCap","supplyCapUsd","borrowCap","borrowCapUsd","remainingCapacityUsd","supplyApy","borrowApy","netSupplyApy","performanceFee","managementFee","utilizationRate","ltv","borrowable","depositEnabled","updatedAt"]},"type":"array","maxItems":4,"uniqueItems":true,"description":"List of column names to order by in descending order divided by comma. Leave empty items to combine with ascending order"},"protocol_id":{"type":"string","maxLength":240,"description":"Filter by protocol ID. Ex: aave-v3, morpho-v1, morpho-v2, euler-lend, etc."},"underlying_address":{"type":"string","maxLength":240,"pattern":"^0x[a-fA-F0-9]{40}$","description":"Underlying token address. See tokens for valid addresses."}},"additionalProperties":false,"type":"object","required":[]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"evm_lending_protocols"},"arguments":{"properties":{"chain_id":{"type":"integer","enum":[1,8453,42161,4663],"description":"EVM chain ID.","default":8453},"limit":{"type":"integer","maximum":10000.0,"minimum":1.0,"description":"Limit the number of results.","default":100},"offset":{"type":"integer","maximum":100000000.0,"minimum":0.0,"description":"Offset the results, allows you to skip a number of rows before starting to return rows.","default":0},"order_asc":{"items":{"enum":["chainId","protocolId","protocolName","poolCount"]},"type":"array","maxItems":4,"uniqueItems":true,"description":"List of column names to order by in ascending order divided by comma. Leave empty items to combine with descending order"},"order_desc":{"items":{"enum":["chainId","protocolId","protocolName","poolCount"]},"type":"array","maxItems":4,"uniqueItems":true,"description":"List of column names to order by in descending order divided by comma. Leave empty items to combine with ascending order"}},"additionalProperties":false,"type":"object","required":[]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"evm_lending_sky_vaults"},"arguments":{"properties":{"chain_id":{"type":"integer","enum":[1],"description":"EVM chain ID.","default":1},"limit":{"type":"integer","maximum":10000.0,"minimum":1.0,"description":"Limit the number of results.","default":100},"min_tvl_usd":{"type":"integer","minimum":0.0,"description":"Minimum TVL Usd of the lending pool/vault"},"offset":{"type":"integer","maximum":100000000.0,"minimum":0.0,"description":"Offset the results, allows you to skip a number of rows before starting to return rows.","default":0},"order_asc":{"items":{"enum":["chainId","protocolId","poolAddress","symbol","vaultName","underlyingAddress","underlyingSymbol","supply","supplyUsd","borrow","borrowUsd","tvlUsd","availableLiquidityUsd","supplyCap","supplyCapUsd","borrowCap","borrowCapUsd","remainingCapacityUsd","supplyApy","borrowApy","netSupplyApy","performanceFee","managementFee","utilizationRate","ltv","borrowable","depositEnabled","updatedAt"]},"type":"array","maxItems":4,"uniqueItems":true,"description":"List of column names to order by in ascending order divided by comma. Leave empty items to combine with descending order"},"order_desc":{"items":{"enum":["chainId","protocolId","poolAddress","symbol","vaultName","underlyingAddress","underlyingSymbol","supply","supplyUsd","borrow","borrowUsd","tvlUsd","availableLiquidityUsd","supplyCap","supplyCapUsd","borrowCap","borrowCapUsd","remainingCapacityUsd","supplyApy","borrowApy","netSupplyApy","performanceFee","managementFee","utilizationRate","ltv","borrowable","depositEnabled","updatedAt"]},"type":"array","maxItems":4,"uniqueItems":true,"description":"List of column names to order by in descending order divided by comma. Leave empty items to combine with ascending order"},"underlying_address":{"type":"string","maxLength":240,"pattern":"^0x[a-fA-F0-9]{40}$","description":"Underlying token address. See tokens for valid addresses."},"vault_address":{"type":"string","maxLength":240,"pattern":"^0x[a-fA-F0-9]{40}$","description":"Sky vault address"}},"additionalProperties":false,"type":"object","required":[]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"evm_lending_sparklend_pools"},"arguments":{"properties":{"borrowable":{"type":"boolean","description":"If true, only lending pools/vaults with borrowing enabled will be returned"},"chain_id":{"type":"integer","enum":[1],"description":"EVM chain ID.","default":1},"limit":{"type":"integer","maximum":10000.0,"minimum":1.0,"description":"Limit the number of results.","default":100},"min_tvl_usd":{"type":"integer","minimum":0.0,"description":"Minimum TVL Usd of the lending pool/vault"},"offset":{"type":"integer","maximum":100000000.0,"minimum":0.0,"description":"Offset the results, allows you to skip a number of rows before starting to return rows.","default":0},"order_asc":{"items":{"enum":["chainId","protocolId","poolAddress","symbol","vaultName","underlyingAddress","underlyingSymbol","supply","supplyUsd","borrow","borrowUsd","tvlUsd","availableLiquidityUsd","supplyCap","supplyCapUsd","borrowCap","borrowCapUsd","remainingCapacityUsd","supplyApy","borrowApy","netSupplyApy","performanceFee","managementFee","utilizationRate","ltv","borrowable","depositEnabled","updatedAt"]},"type":"array","maxItems":4,"uniqueItems":true,"description":"List of column names to order by in ascending order divided by comma. Leave empty items to combine with descending order"},"order_desc":{"items":{"enum":["chainId","protocolId","poolAddress","symbol","vaultName","underlyingAddress","underlyingSymbol","supply","supplyUsd","borrow","borrowUsd","tvlUsd","availableLiquidityUsd","supplyCap","supplyCapUsd","borrowCap","borrowCapUsd","remainingCapacityUsd","supplyApy","borrowApy","netSupplyApy","performanceFee","managementFee","utilizationRate","ltv","borrowable","depositEnabled","updatedAt"]},"type":"array","maxItems":4,"uniqueItems":true,"description":"List of column names to order by in descending order divided by comma. Leave empty items to combine with ascending order"},"pool_address":{"type":"string","maxLength":240,"pattern":"^0x[a-fA-F0-9]{40}$","description":"Sparklend pool address"},"underlying_address":{"type":"string","maxLength":240,"pattern":"^0x[a-fA-F0-9]{40}$","description":"Underlying token address. See tokens for valid addresses."}},"additionalProperties":false,"type":"object","required":[]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]}]}},"additionalProperties":false,"type":"object","required":["query"]}}},{"properties":{"source":{"const":"cambrian_evm_portfolio"},"request":{"properties":{"query":{"oneOf":[{"properties":{"operation":{"type":"string","const":"evm_tvl_status"},"arguments":{"properties":{"chain_id":{"type":"integer","enum":[1,8453,42161,4663],"description":"EVM chain ID.","default":8453},"hasprice":{"type":"boolean","description":"If true, only tokens with a USD price will be returned","default":false},"limit":{"type":"integer","maximum":10000.0,"minimum":1.0,"description":"Limit the number of results.","default":1000},"offset":{"type":"integer","maximum":100000000.0,"minimum":0.0,"description":"Offset the results, allows you to skip a number of rows before starting to return rows.","default":0},"wallet_address":{"type":"string","maxLength":240,"pattern":"^0x[a-fA-F0-9]{40}$","description":"Address that hold tokens prefixed with 0x"}},"additionalProperties":false,"type":"object","required":["wallet_address"]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"evm_tvl_top_owners"},"arguments":{"properties":{"chain_id":{"type":"integer","enum":[1,8453,42161,4663],"description":"EVM chain ID.","default":8453},"limit":{"type":"integer","maximum":10000.0,"minimum":1.0,"description":"Limit the number of results.","default":20},"offset":{"type":"integer","maximum":100000000.0,"minimum":0.0,"description":"Offset the results, allows you to skip a number of rows before starting to return rows.","default":0},"token_address":{"type":"string","maxLength":240,"pattern":"^0x[a-fA-F0-9]{40}$","description":"token address"}},"additionalProperties":false,"type":"object","required":["token_address"]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]}]}},"additionalProperties":false,"type":"object","required":["query"]}}},{"properties":{"source":{"const":"cambrian_social"},"request":{"properties":{"query":{"oneOf":[{"properties":{"operation":{"type":"string","const":"social"},"arguments":{"properties":{"operation":{"type":"string","enum":["token_analysis","trending_momentum","sentiment_shifts","alpha_tweets","influencer_credibility"]},"token_symbol":{"type":"string","maxLength":20,"minLength":1,"description":"Crypto ticker such as HYPE, SOL, BTC or ETH. Required for token_analysis and optional as a filter elsewhere."},"days_back":{"type":"integer","maximum":730.0,"minimum":1.0,"default":7},"granularity":{"type":"string","pattern":"^(total|[1-9][0-9]*[hd])$","default":"total"},"lookback_hours":{"type":"integer","maximum":168.0,"minimum":1.0,"default":24},"comparison_period":{"type":"string","enum":["24h","3d","7d"],"default":"3d"},"limit":{"type":"integer","maximum":100.0,"minimum":1.0,"default":20},"min_velocity":{"type":"number","minimum":0.0,"default":0.3},"min_tweets":{"type":"integer","maximum":100.0,"minimum":1.0,"default":5},"sort_by":{"type":"string","enum":["return_vs_bitcoin","win_rate_vs_bitcoin","conservative_accuracy","tweets","engagement","reach","alpha","accuracy"],"default":"return_vs_bitcoin"},"time_window":{"type":"string","pattern":"^[1-9][0-9]*[hd]$"}},"additionalProperties":false,"type":"object","required":["operation"]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]}]}},"additionalProperties":false,"type":"object","required":["query"]}}},{"properties":{"source":{"const":"cambrian_risk"},"request":{"properties":{"query":{"oneOf":[{"properties":{"operation":{"type":"string","const":"perp_risk"},"arguments":{"properties":{"token_address":{"type":"string","maxLength":44,"minLength":32},"entry_price":{"type":"number","exclusiveMinimum":0.0},"leverage":{"type":"number","maximum":1000.0,"exclusiveMinimum":0.0},"direction":{"type":"string","enum":["long","short"]},"risk_horizon":{"type":"string","enum":["1h","1d","1w","1mo"]}},"additionalProperties":false,"type":"object","required":["token_address","entry_price","leverage","direction","risk_horizon"]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]}]}},"additionalProperties":false,"type":"object","required":["query"]}}}],"properties":{"action":{"type":"string","const":"collect_provider"},"source":{"type":"string","enum":["macro","usda","fred_extended","truflation","truf","market_search","market_history","cot_positioning","positioning_snapshot","futures_curves","volatility_snapshot","smart_money","asset_quote","earnings_snapshot","live_calendar","earnings_event_study","portwatch","nasa_firms","defillama","fmp_prices","fmp_discovery","fmp_fundamentals","fmp_earnings","fmp_valuation","fmp_disclosures","fmp_holdings","fmp_market_history","fmp_positioning","fmp_technical","cambrian_solana_market","cambrian_solana_liquidity","cambrian_solana_ownership","cambrian_solana_activity","cambrian_evm_liquidity","cambrian_evm_market","cambrian_evm_lending","cambrian_evm_portfolio","cambrian_social","cambrian_risk"]},"request":{"type":"object"}},"additionalProperties":false,"type":"object","required":["action","source","request"]},"CollectStep":{"properties":{"kind":{"type":"string","const":"collect","title":"Kind"},"name":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,39}$","title":"Name"},"command":{"$ref":"#/components/schemas/CollectProvider"}},"additionalProperties":false,"type":"object","required":["kind","name","command"],"title":"CollectStep"},"CollectionProgress":{"properties":{"successful_requests":{"type":"integer","minimum":0.0,"title":"Successful Requests","description":"Saved journal operations, including normalized snapshots; not a count of upstream data requests."},"attempted_requests":{"type":"integer","minimum":0.0,"title":"Attempted Requests","description":"Journal attempts, including snapshot normalization and retries; a difference from successful_requests does not establish missing data."},"retained_bytes":{"type":"integer","minimum":0.0,"title":"Retained Bytes"},"complete":{"type":"boolean","title":"Complete","default":false},"request_count_scope":{"type":"string","const":"journal_operations_including_normalization","title":"Request Count Scope","default":"journal_operations_including_normalization"},"requested_range":{"anyOf":[{"$ref":"#/components/schemas/WorkspaceTimeRange"},{"type":"null"}]},"null_value_rows":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Null Value Rows","description":"Stored rows whose scalar value is null, when a scalar value column exists. Does not count absent dates or establish why values are missing."}},"additionalProperties":false,"type":"object","required":["successful_requests","attempted_requests","retained_bytes"],"title":"CollectionProgress"},"ComputationInput":{"properties":{"artifact_id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9_.:-]{0,239}$","title":"Artifact Id"},"version":{"type":"integer","minimum":1.0,"title":"Version"},"alias":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,31}$","title":"Alias"}},"additionalProperties":false,"type":"object","required":["artifact_id","version","alias"],"title":"ComputationInput"},"Compute":{"properties":{"action":{"type":"string","const":"compute","title":"Action"},"title":{"type":"string","maxLength":240,"minLength":1,"title":"Title"},"purpose":{"type":"string","maxLength":1000,"minLength":1,"title":"Purpose"},"inputs":{"items":{"$ref":"#/components/schemas/ComputationInput"},"type":"array","maxItems":8,"minItems":1,"title":"Inputs"},"code":{"type":"string","maxLength":40000,"minLength":1,"title":"Code","description":"Native isolated Python. Inputs are DataFrames under their alias and datasets[alias]. Use emit_metric, emit_table, emit_series or emit_model. No network access; collect data first."},"random_seed":{"type":"integer","maximum":4294967295.0,"minimum":0.0,"title":"Random Seed","default":0}},"additionalProperties":false,"type":"object","required":["action","title","purpose","inputs","code"],"title":"Compute"},"ConnectionPage":{"properties":{"items":{"items":{"$ref":"#/components/schemas/ConnectionView"},"type":"array","title":"Items"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"}},"additionalProperties":false,"type":"object","required":["items"],"title":"ConnectionPage"},"ConnectionSelection":{"properties":{"connection_id":{"type":"string","format":"uuid","title":"Connection Id"},"tenant_id":{"type":"string","format":"uuid","title":"Tenant Id"}},"additionalProperties":false,"type":"object","required":["connection_id","tenant_id"],"title":"ConnectionSelection"},"ConnectionTenant":{"properties":{"tenant_id":{"type":"string","format":"uuid","title":"Tenant Id"},"name":{"type":"string","maxLength":256,"title":"Name"}},"additionalProperties":false,"type":"object","required":["tenant_id","name"],"title":"ConnectionTenant"},"ConnectionView":{"properties":{"connection_id":{"type":"string","format":"uuid","title":"Connection Id"},"provider":{"type":"string","const":"xero","title":"Provider","default":"xero"},"status":{"type":"string","enum":["connected","reconnect_required","disconnect_pending"],"title":"Status"},"tenants":{"items":{"$ref":"#/components/schemas/ConnectionTenant"},"type":"array","maxItems":100,"title":"Tenants"}},"additionalProperties":false,"type":"object","required":["connection_id","status","tenants"],"title":"ConnectionView"},"Contract":{"properties":{},"additionalProperties":false,"type":"object","title":"Contract"},"CreateChart":{"properties":{"action":{"type":"string","const":"create_chart","title":"Action"},"spec":{"$ref":"#/components/schemas/ChartSpecInput-Input"}},"additionalProperties":false,"type":"object","required":["action","spec"],"title":"CreateChart"},"CreateInteractive":{"properties":{"action":{"type":"string","const":"create_interactive","title":"Action"},"content":{"$ref":"#/components/schemas/CreateInteractiveArtifactRequest"}},"additionalProperties":false,"type":"object","required":["action","content"],"title":"CreateInteractive"},"CreateInteractiveArtifactRequest":{"properties":{"title":{"type":"string","maxLength":300,"minLength":1,"title":"Title"},"artifact_family":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,79}$","title":"Artifact Family","description":"Free-form semantic label used for organization only; it never selects a renderer and does not require runtime registration."},"authoring_state":{"type":"string","enum":["working","complete"],"title":"Authoring State","description":"Publish working as soon as the first useful section is ready; revise the same artifact as sections arrive, then explicitly mark complete.","default":"complete"},"authoring_note":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Authoring Note","description":"Briefly describe what is ready and what remains. Never invent a completion percentage."},"entity_key":{"anyOf":[{"type":"string","maxLength":240},{"type":"null"}],"title":"Entity Key"},"source_turn_id":{"anyOf":[{"type":"string","maxLength":256},{"type":"null"}],"title":"Source Turn Id"},"source_message_id":{"anyOf":[{"type":"string","maxLength":256},{"type":"null"}],"title":"Source Message Id"},"blocks":{"items":{"$ref":"#/components/schemas/InteractiveBlockInput"},"type":"array","maxItems":160,"minItems":1,"title":"Blocks","description":"Array of complete block objects. Each app block contains block_id, block_kind='app', view_id, view_label and app in the SAME object; also include workspace_artifact_refs for its bindings. Never put field-name strings or detached metadata into this array."}},"additionalProperties":false,"type":"object","required":["title","artifact_family","blocks"],"title":"CreateInteractiveArtifactRequest"},"CreateReport":{"properties":{"action":{"type":"string","const":"create_report","title":"Action"},"content":{"$ref":"#/components/schemas/CreateReportRequest"}},"additionalProperties":false,"type":"object","required":["action","content"],"title":"CreateReport"},"CreateReportRequest":{"properties":{"title":{"type":"string","maxLength":300,"minLength":1,"title":"Title"},"audience":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Audience"},"purpose":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Purpose"},"period":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Period"},"source_turn_id":{"anyOf":[{"type":"string","maxLength":256},{"type":"null"}],"title":"Source Turn Id"},"source_message_id":{"anyOf":[{"type":"string","maxLength":256},{"type":"null"}],"title":"Source Message Id"},"blocks":{"items":{"$ref":"#/components/schemas/ReportBlockInput"},"type":"array","maxItems":100,"minItems":1,"title":"Blocks"}},"additionalProperties":false,"type":"object","required":["title","blocks"],"title":"CreateReportRequest"},"CreditBalance":{"properties":{"available_credits":{"type":"integer","minimum":0.0,"title":"Available Credits"},"unit":{"type":"string","const":"credits","title":"Unit","default":"credits"},"retrieved_at":{"type":"string","format":"date-time","title":"Retrieved At"}},"additionalProperties":false,"type":"object","required":["available_credits","retrieved_at"],"title":"CreditBalance"},"DatasetFilter":{"properties":{"column":{"type":"string","maxLength":120,"minLength":1,"title":"Column"},"operator":{"$ref":"#/components/schemas/DatasetFilterOperator"},"value":{"$ref":"#/components/schemas/JsonValue"}},"additionalProperties":false,"type":"object","required":["column","operator","value"],"title":"DatasetFilter"},"DatasetFilterOperator":{"type":"string","enum":["eq","ne","gt","gte","lt","lte","contains","in"],"title":"DatasetFilterOperator"},"DatasetProgram":{"properties":{"action":{"type":"string","const":"dataset_program","title":"Action"},"steps":{"items":{"oneOf":[{"$ref":"#/components/schemas/CollectStep"},{"$ref":"#/components/schemas/AnalyzeStep"}],"discriminator":{"propertyName":"kind","mapping":{"analyze":"#/components/schemas/AnalyzeStep","collect":"#/components/schemas/CollectStep"}}},"type":"array","maxItems":12,"minItems":1,"title":"Steps"}},"additionalProperties":false,"type":"object","required":["action","steps"],"title":"DatasetProgram"},"DatasetRowsPage":{"properties":{"artifact":{"$ref":"#/components/schemas/WorkspaceSummary"},"rows":{"items":{"additionalProperties":{"$ref":"#/components/schemas/JsonValue"},"type":"object"},"type":"array","title":"Rows"},"page_size":{"type":"integer","title":"Page Size"},"offset":{"type":"integer","title":"Offset"},"matched_row_count":{"type":"integer","title":"Matched Row Count"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"}},"additionalProperties":false,"type":"object","required":["artifact","rows","page_size","offset","matched_row_count","next_cursor"],"title":"DatasetRowsPage"},"DatasetRowsRequest":{"properties":{"version":{"type":"integer","minimum":1.0,"title":"Version"},"page_size":{"type":"integer","enum":[25,50,100],"title":"Page Size","default":50},"cursor":{"anyOf":[{"type":"string","maxLength":4000},{"type":"null"}],"title":"Cursor"},"filters":{"items":{"$ref":"#/components/schemas/DatasetFilter"},"type":"array","maxItems":20,"title":"Filters","default":[]},"sort":{"items":{"$ref":"#/components/schemas/DatasetSort"},"type":"array","maxItems":5,"title":"Sort","default":[]}},"additionalProperties":false,"type":"object","required":["version"],"title":"DatasetRowsRequest"},"DatasetSort":{"properties":{"column":{"type":"string","maxLength":120,"minLength":1,"title":"Column"},"direction":{"$ref":"#/components/schemas/DatasetSortDirection","default":"asc"}},"additionalProperties":false,"type":"object","required":["column"],"title":"DatasetSort"},"DatasetSortDirection":{"type":"string","enum":["asc","desc"],"title":"DatasetSortDirection"},"DeleteResult":{"properties":{"confirmed":{"type":"boolean","const":true,"title":"Confirmed"}},"additionalProperties":false,"type":"object","required":["confirmed"],"title":"DeleteResult"},"DeliverableValidationStatus":{"type":"string","enum":["passed","partial","needs_review","failed"],"title":"DeliverableValidationStatus"},"DeliveryEmail":{"properties":{"subject":{"type":"string","maxLength":160,"minLength":1,"title":"Subject"},"to":{"items":{"type":"string"},"type":"array","maxItems":10,"minItems":1,"title":"To"},"confirmed_recipients":{"type":"boolean","const":true,"title":"Confirmed Recipients"},"cc":{"items":{"type":"string"},"type":"array","maxItems":10,"title":"Cc","default":[]}},"additionalProperties":false,"type":"object","required":["subject","to","confirmed_recipients"],"title":"DeliveryEmail"},"DirectOperationRequest":{"properties":{"capability_ref":{"type":"string","pattern":"^[a-z][a-z0-9_.]{0,99}@[1-9][0-9]{0,3}$","title":"Capability Ref"},"arguments":{"additionalProperties":{"$ref":"#/components/schemas/JsonValue"},"type":"object","title":"Arguments"}},"additionalProperties":false,"type":"object","required":["capability_ref","arguments"],"title":"DirectOperationRequest"},"DirectOperationResult":{"properties":{"operation_id":{"type":"string","maxLength":256,"minLength":1,"pattern":"^[A-Za-z0-9_.:@/-]+$","title":"Operation Id"},"run_id":{"type":"string","maxLength":256,"minLength":1,"pattern":"^[A-Za-z0-9_.:@/-]+$","title":"Run Id"},"capability_ref":{"type":"string","pattern":"^[a-z][a-z0-9_.]{0,99}@[1-9][0-9]{0,3}$","title":"Capability Ref"},"status":{"$ref":"#/components/schemas/DispatchStatus"},"output":{"additionalProperties":{"$ref":"#/components/schemas/JsonValue"},"type":"object","title":"Output"}},"additionalProperties":false,"type":"object","required":["operation_id","run_id","capability_ref","status","output"],"title":"DirectOperationResult"},"DiscoveryFacet":{"properties":{"id":{"type":"string","title":"Id"},"count":{"type":"integer","title":"Count"}},"additionalProperties":false,"type":"object","required":["id","count"],"title":"DiscoveryFacet"},"DiscoveryItem":{"properties":{"id":{"type":"string","title":"Id"},"title":{"type":"string","title":"Title"},"description":{"type":"string","title":"Description"},"sources":{"items":{"type":"string"},"type":"array","title":"Sources"},"subjects":{"items":{"type":"string"},"type":"array","title":"Subjects"},"path":{"items":{"type":"string"},"type":"array","title":"Path"},"search":{"anyOf":[{"$ref":"#/components/schemas/ExecutionHint"},{"type":"null"}]},"read":{"anyOf":[{"$ref":"#/components/schemas/ExecutionHint"},{"type":"null"}]},"related_capabilities":{"items":{"type":"string","pattern":"^[a-z][a-z0-9_.]{0,99}@[1-9][0-9]{0,3}$"},"type":"array","title":"Related Capabilities","default":[]},"execution_status":{"type":"string","enum":["read_available","search_available","metadata_only"],"title":"Execution Status"},"evidence_eligible":{"type":"boolean","const":false,"title":"Evidence Eligible","default":false}},"additionalProperties":false,"type":"object","required":["id","title","description","sources","subjects","path","execution_status"],"title":"DiscoveryItem"},"DiscoveryPage":{"properties":{"items":{"items":{"$ref":"#/components/schemas/DiscoveryItem"},"type":"array","title":"Items"},"total_matching":{"type":"integer","title":"Total Matching"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"},"revision":{"type":"string","title":"Revision"},"sources":{"items":{"$ref":"#/components/schemas/DiscoveryFacet"},"type":"array","title":"Sources","default":[]},"subjects":{"items":{"$ref":"#/components/schemas/DiscoveryFacet"},"type":"array","title":"Subjects","default":[]},"coverage":{"type":"string","const":"composer_catalog","title":"Coverage","default":"composer_catalog"},"guidance":{"type":"string","title":"Guidance","default":"Same public inventory as the chat composer, filtered by source access. Metadata is not current data. Use search/read hints to retrieve provider results; metadata_only entries still need an external binding. For large histories use collect_provider with the returned collection_source and explicit dates."}},"additionalProperties":false,"type":"object","required":["items","total_matching","next_cursor","revision"],"title":"DiscoveryPage"},"DiscoverySearch":{"properties":{"item_id":{"type":"string","maxLength":200,"minLength":1,"title":"Item Id"},"query":{"type":"string","maxLength":120,"minLength":2,"title":"Query"}},"additionalProperties":false,"type":"object","required":["item_id","query"],"title":"DiscoverySearch"},"DispatchStatus":{"type":"string","enum":["pending","preparing","executing","settling","waiting_user","paused","completed","partial","failed","cancelled","indeterminate"],"title":"DispatchStatus"},"DocumentItem":{"properties":{"id":{"type":"string","pattern":"^[A-Za-z][A-Za-z0-9_-]{0,79}$","title":"Id"},"kind":{"type":"string","enum":["chart","image"],"title":"Kind"},"source":{"type":"string","maxLength":120,"minLength":1,"pattern":"^[A-Za-z][A-Za-z0-9_-]*$","title":"Source"}},"additionalProperties":false,"type":"object","required":["id","kind","source"],"title":"DocumentItem"},"DocumentQuery":{"properties":{"command":{"oneOf":[{"$ref":"#/components/schemas/SearchDocuments"},{"$ref":"#/components/schemas/ReadDocument"},{"$ref":"#/components/schemas/InspectTables"}],"title":"Command","discriminator":{"propertyName":"action","mapping":{"read":"#/components/schemas/ReadDocument","search":"#/components/schemas/SearchDocuments","tables":"#/components/schemas/InspectTables"}}}},"additionalProperties":false,"type":"object","required":["command"],"title":"DocumentQuery"},"DocumentQueryResult":{"properties":{"documents":{"items":{"$ref":"#/components/schemas/DocumentSelection"},"type":"array","title":"Documents"},"coverage":{"type":"string","enum":["ranked_matches","selected_passages","bounded_tables"],"title":"Coverage"},"trust":{"type":"string","const":"untrusted_document","title":"Trust","default":"untrusted_document"},"instruction_policy":{"type":"string","const":"evidence_only","title":"Instruction Policy","default":"evidence_only"},"records":{"items":{"additionalProperties":{"$ref":"#/components/schemas/JsonValue"},"type":"object"},"type":"array","title":"Records"},"evidence":{"items":{"additionalProperties":{"$ref":"#/components/schemas/JsonValue"},"type":"object"},"type":"array","title":"Evidence"}},"additionalProperties":false,"type":"object","required":["documents","coverage","records","evidence"],"title":"DocumentQueryResult"},"DocumentSelection":{"properties":{"artifact_id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9_.:-]{0,239}$","title":"Artifact Id"},"version":{"type":"integer","minimum":1.0,"title":"Version"}},"additionalProperties":false,"type":"object","required":["artifact_id","version"],"title":"DocumentSelection"},"EditDocumentText":{"properties":{"expected_version":{"type":"integer","minimum":1.0,"title":"Expected Version"},"values":{"patternProperties":{"^[A-Za-z][A-Za-z0-9_-]{0,79}$":{"type":"string","maxLength":6000}},"type":"object","maxProperties":120,"minProperties":1,"title":"Values"},"formats":{"anyOf":[{"patternProperties":{"^[A-Za-z][A-Za-z0-9_-]{0,79}$":{"$ref":"#/components/schemas/TextFormat"}},"type":"object","maxProperties":120},{"type":"null"}],"title":"Formats"},"layouts":{"anyOf":[{"patternProperties":{"^[A-Za-z][A-Za-z0-9_-]{0,79}$":{"$ref":"#/components/schemas/ElementLayout"}},"type":"object","maxProperties":120},{"type":"null"}],"title":"Layouts"},"added_bindings":{"patternProperties":{"^[A-Za-z][A-Za-z0-9_]{0,59}$":{"$ref":"#/components/schemas/AppDataBinding"}},"type":"object","maxProperties":12,"title":"Added Bindings"},"added_assets":{"patternProperties":{"^[A-Za-z][A-Za-z0-9_]{0,59}$":{"$ref":"#/components/schemas/AppDataBinding"}},"type":"object","maxProperties":12,"title":"Added Assets"},"action":{"type":"string","const":"edit_document_text","title":"Action"},"artifact_id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9_.:-]{0,239}$","title":"Artifact Id"},"block_id":{"type":"string","maxLength":120,"minLength":1,"title":"Block Id"}},"additionalProperties":false,"type":"object","required":["expected_version","values","action","artifact_id","block_id"],"title":"EditDocumentText"},"EditReportContent":{"properties":{"expected_version":{"type":"integer","minimum":1.0,"title":"Expected Version"},"title":{"type":"string","maxLength":300,"minLength":1,"title":"Title"},"blocks":{"items":{"$ref":"#/components/schemas/ReportDocumentBlockInput"},"type":"array","maxItems":100,"minItems":1,"title":"Blocks"},"artifact_id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9_.:-]{0,239}$","title":"Artifact Id"}},"additionalProperties":false,"type":"object","required":["expected_version","title","blocks","artifact_id"],"title":"EditReportContent"},"EditReportDocument":{"properties":{"action":{"type":"string","const":"edit_report_document","title":"Action"},"content":{"$ref":"#/components/schemas/EditReportContent"}},"additionalProperties":false,"type":"object","required":["action","content"],"title":"EditReportDocument"},"ElementLayout":{"properties":{"kind":{"type":"string","enum":["region","image"],"title":"Kind","default":"region"},"columns":{"type":"integer","maximum":4.0,"minimum":1.0,"title":"Columns","default":1},"gap":{"type":"integer","maximum":64.0,"minimum":0.0,"title":"Gap","default":16},"padding":{"type":"integer","maximum":64.0,"minimum":0.0,"title":"Padding","default":0},"width":{"type":"integer","maximum":100.0,"minimum":25.0,"title":"Width","default":100},"align":{"type":"string","enum":["start","center","end"],"title":"Align","default":"start"},"asset":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Asset"},"fit":{"type":"string","enum":["contain","cover"],"title":"Fit","default":"contain"},"items":{"items":{"$ref":"#/components/schemas/DocumentItem"},"type":"array","maxItems":12,"title":"Items"}},"additionalProperties":false,"type":"object","title":"ElementLayout"},"EmailDeliveryCreate":{"properties":{"operation_id":{"type":"string","pattern":"^[a-f0-9]{32}$","title":"Operation Id"},"email":{"$ref":"#/components/schemas/DeliveryEmail"},"preview_digest":{"anyOf":[{"type":"string","pattern":"^[a-f0-9]{64}$"},{"type":"null"}],"title":"Preview Digest"},"image_attachments":{"items":{"$ref":"#/components/schemas/EmailImageSelection"},"type":"array","maxItems":4,"title":"Image Attachments","default":[]}},"additionalProperties":false,"type":"object","required":["operation_id","email"],"title":"EmailDeliveryCreate"},"EmailDeliveryView":{"properties":{"delivery_id":{"type":"string","pattern":"^[a-f0-9]{32}$","title":"Delivery Id"},"operation_id":{"type":"string","pattern":"^[a-f0-9]{32}$","title":"Operation Id"},"status":{"type":"string","enum":["queued","preparing","sending","accepted","indeterminate","rejected","cancelled","failed"],"title":"Status"},"failure_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Failure Code"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"pricing_policy_id":{"type":"string","const":"staging-email-test@1","title":"Pricing Policy Id","default":"staging-email-test@1"},"test_only":{"type":"boolean","const":true,"title":"Test Only","default":true},"maximum_credits":{"type":"integer","const":0,"title":"Maximum Credits","default":0}},"additionalProperties":false,"type":"object","required":["delivery_id","operation_id","status","created_at","updated_at"],"title":"EmailDeliveryView"},"EmailDraftRequest":{"properties":{"operation_id":{"type":"string","pattern":"^[a-f0-9]{32}$","title":"Operation Id"},"subject":{"type":"string","maxLength":160,"minLength":1,"title":"Subject"},"to":{"items":{"type":"string"},"type":"array","maxItems":10,"minItems":1,"title":"To"},"cc":{"items":{"type":"string"},"type":"array","maxItems":10,"title":"Cc","default":[]},"image_attachments":{"items":{"$ref":"#/components/schemas/EmailImageSelection"},"type":"array","maxItems":4,"title":"Image Attachments","default":[]}},"additionalProperties":false,"type":"object","required":["operation_id","subject","to"],"title":"EmailDraftRequest"},"EmailImageSelection":{"properties":{"artifact_id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9_.:-]{0,239}$","title":"Artifact Id"},"version":{"type":"integer","minimum":1.0,"title":"Version"}},"additionalProperties":false,"type":"object","required":["artifact_id","version"],"title":"EmailImageSelection"},"EmailWorkflow":{"properties":{"workflow_ref":{"type":"string","const":"email.send@1","title":"Workflow Ref","default":"email.send@1"},"required_scopes":{"items":{"$ref":"#/components/schemas/Scope"},"type":"array","title":"Required Scopes","default":["email:send","deliveries:read","research:run","results:read","workspace:read"]},"submit_path":{"type":"string","title":"Submit Path","default":"/v1/email-deliveries"},"status_path":{"type":"string","title":"Status Path","default":"/v1/email-deliveries/{delivery_id}"},"cancel_path":{"type":"string","title":"Cancel Path","default":"/v1/email-deliveries/{delivery_id}/cancel"},"idempotency_header":{"type":"string","title":"Idempotency Header","default":"Idempotency-Key"},"submission_schema":{"additionalProperties":{"$ref":"#/components/schemas/JsonValue"},"type":"object","title":"Submission Schema"},"pricing_policy_id":{"type":"string","const":"staging-email-test@1","title":"Pricing Policy Id","default":"staging-email-test@1"},"test_only":{"type":"boolean","const":true,"title":"Test Only","default":true},"maximum_credits":{"type":"integer","const":0,"title":"Maximum Credits","default":0},"limitations":{"items":{"type":"string"},"type":"array","title":"Limitations","default":["Explicit delivery of an already settled public research answer; no additional research run or credit hold.","Requires explicit recipient confirmation, external_action permission and the staging recipient allowlist. At most 20 commands per grant per day.","Private inputs, connected-account data, skills, artifacts and direct/program outputs are not eligible for email redistribution.","Provider acceptance is not inbox delivery. Uncertain delivery is never automatically retried; cancellation is allowed before sending starts."]}},"additionalProperties":false,"type":"object","required":["submission_schema"],"title":"EmailWorkflow"},"EquityProgress":{"properties":{"status":{"type":"string","enum":["submitting","running","completed","partial","needs_review","failed","expired","cancelled"],"title":"Status"},"progress_percent":{"anyOf":[{"type":"integer","maximum":100.0,"minimum":0.0},{"type":"null"}],"title":"Progress Percent"},"source_count":{"type":"integer","minimum":0.0,"title":"Source Count"},"provider_cost_usd":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Provider Cost Usd"},"next_action":{"anyOf":[{"type":"string","const":"author_custom_artifact"},{"type":"null"}],"title":"Next Action"}},"additionalProperties":false,"type":"object","required":["status","source_count"],"title":"EquityProgress"},"ErrorResponse":{"properties":{"error":{"$ref":"#/components/schemas/APIProblem"},"request_id":{"type":"string","maxLength":256,"minLength":1,"pattern":"^[A-Za-z0-9_.:@/-]+$","title":"Request Id"}},"additionalProperties":false,"type":"object","required":["error","request_id"],"title":"ErrorResponse"},"ExecutionHint":{"properties":{"capability_ref":{"type":"string","pattern":"^[a-z][a-z0-9_.]{0,99}@[1-9][0-9]{0,3}$","title":"Capability Ref"},"arguments":{"additionalProperties":{"$ref":"#/components/schemas/JsonValue"},"type":"object","title":"Arguments"},"required_arguments":{"items":{"type":"string"},"type":"array","title":"Required Arguments","default":[]},"collection_source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Collection Source"}},"additionalProperties":false,"type":"object","required":["capability_ref"],"title":"ExecutionHint"},"ExportArtifact":{"properties":{"action":{"type":"string","const":"export","title":"Action"},"artifact_id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9_.:-]{0,239}$","title":"Artifact Id"},"version":{"type":"integer","minimum":1.0,"title":"Version"},"format":{"type":"string","enum":["pdf","markdown","html","pptx","png","svg"],"title":"Format"},"theme":{"type":"string","enum":["light","dark"],"title":"Theme","default":"light"},"block_id":{"anyOf":[{"type":"string","maxLength":120,"minLength":1},{"type":"null"}],"title":"Block Id"},"page":{"anyOf":[{"type":"integer","maximum":100.0,"minimum":1.0},{"type":"null"}],"title":"Page"},"width":{"type":"integer","maximum":2048.0,"minimum":390.0,"title":"Width","default":1120}},"additionalProperties":false,"type":"object","required":["action","artifact_id","version","format"],"title":"ExportArtifact"},"ExtractDocumentTable":{"properties":{"action":{"type":"string","const":"extract_document_table","title":"Action"},"artifact_id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9_.:-]{0,239}$","title":"Artifact Id"},"version":{"type":"integer","minimum":1.0,"title":"Version"},"record_id":{"type":"string","maxLength":240,"minLength":1,"title":"Record Id"}},"additionalProperties":false,"type":"object","required":["action","artifact_id","version","record_id"],"title":"ExtractDocumentTable"},"ExtractReportTable":{"properties":{"action":{"type":"string","const":"extract_report_table","title":"Action"},"artifact_id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9_.:-]{0,239}$","title":"Artifact Id"},"version":{"type":"integer","minimum":1.0,"title":"Version"},"block_id":{"type":"string","maxLength":120,"minLength":1,"title":"Block Id"}},"additionalProperties":false,"type":"object","required":["action","artifact_id","version","block_id"],"title":"ExtractReportTable"},"FactualityEvaluationStatus":{"type":"string","enum":["pending","running","completed","failed","skipped"],"title":"FactualityEvaluationStatus"},"FactualityMetricName":{"type":"string","enum":["claim_support_rate","citation_correctness","numeric_accuracy","source_authority","freshness_accuracy","coverage_honesty","computation_reproducibility","unsupported_claim_rate","appropriate_abstention"],"title":"FactualityMetricName"},"FileRemoval":{"properties":{"expected_version":{"type":"integer","minimum":1.0,"title":"Expected Version"}},"additionalProperties":false,"type":"object","required":["expected_version"],"title":"FileRemoval"},"FileRemovalReceipt":{"properties":{"status":{"type":"string","const":"removed","title":"Status","default":"removed"},"session_id":{"type":"string","title":"Session Id"},"artifact_id":{"type":"string","title":"Artifact Id"},"removed_version":{"type":"integer","title":"Removed Version"},"removed_at":{"type":"string","format":"date-time","title":"Removed At"}},"additionalProperties":false,"type":"object","required":["session_id","artifact_id","removed_version","removed_at"],"title":"FileRemovalReceipt"},"IdempotencyPolicy":{"type":"string","enum":["replay_safe","keyed","never_replay"],"title":"IdempotencyPolicy"},"ImportProvider":{"oneOf":[{"properties":{"source":{"const":"macro"},"request":{"properties":{"series_ref":{"type":"string","maxLength":500,"minLength":3,"title":"Series Ref"},"start_date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","format":"date","title":"Start Date"},"end_date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","format":"date","title":"End Date"}},"additionalProperties":false,"type":"object","required":["series_ref","start_date","end_date"],"title":"HistoryRequest"}}},{"properties":{"source":{"const":"truflation"},"request":{"properties":{"feed_key":{"type":"string","pattern":"^FEED_[A-F0-9]{24}$","title":"Feed Key"},"metadata_revision":{"type":"string","pattern":"^[a-f0-9]{64}$","title":"Metadata Revision"},"start_date":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","format":"date"},{"type":"null"}],"title":"Start Date"},"end_date":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","format":"date"},{"type":"null"}],"title":"End Date"}},"additionalProperties":false,"type":"object","required":["feed_key","metadata_revision"],"title":"Request"}}},{"properties":{"source":{"const":"truf"},"request":{"properties":{"key":{"type":"string","maxLength":120,"minLength":1,"title":"Key"},"metadata_revision":{"type":"string","pattern":"^[a-f0-9]{64}$","title":"Metadata Revision"},"start_date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","format":"date","title":"Start Date"},"end_date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","format":"date","title":"End Date"}},"additionalProperties":false,"type":"object","required":["key","metadata_revision","start_date","end_date"],"title":"HistoryRequest"}}},{"properties":{"source":{"const":"market_search"},"request":{"properties":{"arguments":{"properties":{"query":{"type":"string","maxLength":300,"minLength":2,"description":"Natural-language market search query."},"venue":{"type":"string","enum":["polymarket","kalshi"],"maxLength":200,"description":"Prediction-market venue to search."},"limit":{"type":"integer","maximum":20.0,"minimum":1.0,"default":5}},"additionalProperties":false,"type":"object","required":["query"]}},"additionalProperties":false,"type":"object","required":["arguments"]}}},{"properties":{"source":{"const":"market_history"},"request":{"properties":{"arguments":{"properties":{"query":{"type":"string","maxLength":300,"minLength":2},"venue":{"type":"string","enum":["polymarket","kalshi"],"maxLength":200,"description":"Prediction-market venue to search."},"window_days":{"type":"integer","maximum":365.0,"minimum":7.0,"default":30},"limit":{"type":"integer","maximum":20.0,"minimum":1.0,"default":5}},"additionalProperties":false,"type":"object","required":["query"]}},"additionalProperties":false,"type":"object","required":["arguments"]}}},{"properties":{"source":{"const":"cot_positioning"},"request":{"properties":{"arguments":{"properties":{"contract":{"type":"string","maxLength":200,"description":"Supported contract key, symbol, or alias. Examples: SP500/ES, GOLD/GC, CRUDE_OIL/CL, TREASURY_10Y/ZN, EURUSD/6E."},"weeks":{"type":"integer","maximum":260.0,"minimum":1.0,"description":"History window to return from stored snapshots (default 26, max 260)."}},"additionalProperties":false,"type":"object","required":["contract"]}},"additionalProperties":false,"type":"object","required":["arguments"]}}},{"properties":{"source":{"const":"positioning_snapshot"},"request":{"properties":{"arguments":{"properties":{"instrument":{"type":"string","maxLength":200,"description":"Optional: fetch a single instrument instead of all. Keys: SP500, TREASURY_10Y, CRUDE_OIL, GOLD, EURUSD, JPYUSD, GBPUSD. Omit for full snapshot."}},"additionalProperties":false,"type":"object","required":[]}},"additionalProperties":false,"type":"object","required":["arguments"]}}},{"properties":{"source":{"const":"futures_curves"},"request":{"properties":{"arguments":{"properties":{"commodity":{"type":"string","maxLength":200,"description":"Optional: fetch a single commodity instead of all. Keys: crude_oil, gold, natural_gas, silver, sp500, treasury_10y. Omit for full snapshot."}},"additionalProperties":false,"type":"object","required":[]}},"additionalProperties":false,"type":"object","required":["arguments"]}}},{"properties":{"source":{"const":"volatility_snapshot"},"request":{"properties":{"arguments":{"properties":{},"additionalProperties":false,"type":"object","required":[]}},"additionalProperties":false,"type":"object","required":["arguments"]}}},{"properties":{"source":{"const":"smart_money"},"request":{"properties":{"arguments":{"properties":{"sources":{"items":{"type":"string","enum":["corporate_insider","senate","house"]},"type":"array"},"action":{"type":"string","enum":["purchase","sale","purchase_or_sale","all"],"maxLength":200},"symbols":{"items":{"type":"string"},"type":"array","maxItems":7},"people":{"items":{"type":"string","maxLength":100,"minLength":2},"type":"array","maxItems":3,"description":"Optional explicitly named corporate or congressional filers. Uses FMP's official by-name disclosure endpoints."},"window_days":{"type":"integer","maximum":3650.0,"minimum":1.0},"limit_per_source":{"type":"integer","maximum":100.0,"minimum":1.0}},"additionalProperties":false,"type":"object","required":["sources","action","window_days"]}},"additionalProperties":false,"type":"object","required":["arguments"]}}},{"properties":{"source":{"const":"asset_quote"},"request":{"properties":{"arguments":{"properties":{"symbol_or_name":{"type":"string","maxLength":200,"description":"Asset name or canonical FMP symbol. Examples: 'Brent', 'WTI', 'crude oil', 'gold', 'silver', 'copper', 'nat gas', or the canonical symbols 'BZUSD' / 'CLUSD' / 'NGUSD' / 'XAUUSD' / 'XAGUSD' / 'HGUSD'."}},"additionalProperties":false,"type":"object","required":["symbol_or_name"]}},"additionalProperties":false,"type":"object","required":["arguments"]}}},{"properties":{"source":{"const":"earnings_snapshot"},"request":{"properties":{"arguments":{"properties":{"symbol":{"type":"string","maxLength":200,"description":"Ticker symbol or company name. Examples: 'AAPL', 'Apple', 'apple inc', 'MSFT', 'Microsoft', 'NVDA', 'BRK.B'. The resolver canonicalises household names; any other input is uppercased and passed to FMP as-is."},"include_history":{"type":"integer","description":"Number of trailing historical quarters to fetch from /stable/earnings (default 8, clamped 1-40). Used to identify the latest reported quarter; broader history is available in the envelope's history_rows_fetched field for prose-context grounding.","default":8},"include_upcoming":{"type":"integer","description":"Number of upcoming quarter-end consensus rows to return (default 2, clamped 1-8). The underlying FMP fetch always uses limit=40 to avoid the future-first ordering gotcha; this parameter controls how many of those make it into the typed artifact.","default":2}},"additionalProperties":false,"type":"object","required":["symbol"]}},"additionalProperties":false,"type":"object","required":["arguments"]}}},{"properties":{"source":{"const":"live_calendar"},"request":{"properties":{"arguments":{"properties":{"upcoming":{"type":"boolean","description":"Find the next published matching events without guessing dates. Searches forward in bounded windows for up to one year, returning up to 50 with explicit coverage. Omit dates when true."},"event_query":{"type":"string","maxLength":120,"description":"Optional economic event-name search, e.g. CPI, nonfarm payrolls or wages. Use symbols for specific company earnings."},"event_type":{"type":"string","enum":["economic","earnings"],"maxLength":200,"description":"Economic releases or verified U.S.-domiciled company earnings."},"date_from":{"type":"string","maxLength":200,"format":"date","description":"Inclusive YYYY-MM-DD start date; supply with date_to. Overrides relative days."},"date_to":{"type":"string","maxLength":200,"format":"date","description":"Inclusive YYYY-MM-DD end date, at most 90 calendar days including the start."},"category":{"type":"string","enum":["all","inflation","jobs_growth","central_banks"],"maxLength":200,"description":"Reviewed economic event-name grouping; earnings require all."},"symbols":{"items":{"type":"string","maxLength":20},"type":"array","maxItems":50,"description":"Optional exact company tickers for U.S. earnings only. Empty means all verified U.S. companies in the window."},"days_ahead":{"type":"integer","description":"Number of days ahead to look (default 14, max 90)","default":14},"days_back":{"type":"integer","description":"Optional lookback window for historical releases with actual/estimate fields (default 0, max 365).","default":0},"country":{"type":"string","maxLength":200,"description":"Country code filter (e.g. US, GB, JP), empty for all economic countries. Earnings require US.","default":"US"},"impact":{"type":"string","maxLength":200,"description":"Optional impact filter: high, medium, low, or all.","default":"all"}},"additionalProperties":false,"type":"object","required":[]}},"additionalProperties":false,"type":"object","required":["arguments"]}}},{"properties":{"source":{"const":"earnings_event_study"},"request":{"properties":{"arguments":{"properties":{"symbol":{"type":"string","maxLength":200,"description":"Equity ticker or company alias, e.g. AAPL, MSFT, NVDA, TSLA."},"metric":{"type":"string","enum":["eps_actual","eps_estimate","eps_surprise_usd","eps_surprise_pct","revenue_actual","revenue_estimate","revenue_surprise_usd"],"maxLength":200,"description":"Historical quarterly metric to aggregate. Use eps_actual for EPS performance, revenue_actual for revenue, eps_surprise_pct for surprise %."},"event":{"type":"string","maxLength":200,"description":"Curated event/tenure key or phrase. Examples: 'tim_cook_ceo', 'Tim Cook tenure', 'covid_pandemic', 'pandemic', 'fomc_meetings', 'FOMC meetings'."},"event_relation":{"type":"string","enum":["around","after","before"],"maxLength":200,"description":"Only used for macro event-list targets. around matches earnings releases within the event window on either side; after/before are directional."},"window_days":{"type":"integer","description":"Only used for macro event-list targets. Lookback for event dates, default 365 and clamped to 365 because FMP calendar history is limited."},"match_window_days":{"type":"integer","description":"Only used for macro event-list targets. Maximum calendar-day distance between an earnings release and an event date, default 30."}},"additionalProperties":false,"type":"object","required":["symbol","metric","event"]}},"additionalProperties":false,"type":"object","required":["arguments"]}}},{"properties":{"source":{"const":"usda"},"request":{"properties":{"data_ref":{"type":"string","maxLength":500,"minLength":3,"title":"Data Ref"},"start_date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","format":"date","title":"Start Date"},"end_date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","format":"date","title":"End Date"},"commodity":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Commodity"},"measure":{"anyOf":[{"type":"string","maxLength":240},{"type":"null"}],"title":"Measure"},"geography":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Geography"},"frequency":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Frequency"},"include_document_text":{"type":"boolean","title":"Include Document Text","default":false}},"additionalProperties":false,"type":"object","required":["data_ref","start_date","end_date"],"title":"ReadRequest"}}},{"properties":{"source":{"const":"fred_extended"},"request":{"properties":{"series":{"type":"string","pattern":"^[A-Za-z0-9_]{1,80}$","title":"Series"},"start_date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","format":"date","title":"Start Date"},"end_date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","format":"date","title":"End Date"}},"additionalProperties":false,"type":"object","required":["series","start_date","end_date"],"title":"HistoryRequest"}}},{"properties":{"source":{"const":"eia_gas_storage"},"request":{"properties":{"start_date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","format":"date","title":"Start Date"},"end_date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","format":"date","title":"End Date"}},"additionalProperties":false,"type":"object","required":["start_date","end_date"],"title":"Request"}}},{"properties":{"source":{"const":"fmp_prices"},"request":{"properties":{"symbol":{"type":"string","pattern":"^[A-Z0-9^][A-Z0-9.^=-]{0,19}$","title":"Symbol"},"start_date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","format":"date","title":"Start Date"},"end_date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","format":"date","title":"End Date"}},"additionalProperties":false,"type":"object","required":["symbol","start_date","end_date"],"title":"PriceRequest"}}},{"properties":{"source":{"const":"fmp_discovery"},"request":{"properties":{"query":{"oneOf":[{"properties":{"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"title":"Limit","default":100},"cursor":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Cursor","description":"Continue a locally paged response only if its revision is unchanged."},"resource":{"type":"string","const":"stock_peers","title":"Resource"},"symbol":{"type":"string","pattern":"^[A-Z0-9^][A-Z0-9.^=-]{0,19}$","title":"Symbol"}},"additionalProperties":false,"type":"object","required":["resource","symbol"],"title":"FmpStockPeers"},{"properties":{"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"title":"Limit","default":100},"cursor":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Cursor","description":"Continue a locally paged response only if its revision is unchanged."},"resource":{"type":"string","const":"company_screener","title":"Resource"},"market_cap_min":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Market Cap Min"},"market_cap_max":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Market Cap Max"},"country":{"anyOf":[{"type":"string","maxLength":120,"minLength":1},{"type":"null"}],"title":"Country"},"sector":{"anyOf":[{"type":"string","maxLength":120,"minLength":1},{"type":"null"}],"title":"Sector"},"industry":{"anyOf":[{"type":"string","maxLength":120,"minLength":1},{"type":"null"}],"title":"Industry"},"exchange":{"anyOf":[{"type":"string","maxLength":120,"minLength":1},{"type":"null"}],"title":"Exchange"},"is_etf":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Etf"}},"additionalProperties":false,"type":"object","required":["resource"],"title":"FmpCompanyScreener"}],"title":"Query"}},"additionalProperties":false,"type":"object","required":["query"],"title":"FmpDiscoveryRequest"}}},{"properties":{"source":{"const":"fmp_fundamentals"},"request":{"properties":{"query":{"oneOf":[{"properties":{"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"title":"Limit","default":100},"cursor":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Cursor","description":"Continue a locally paged response only if its revision is unchanged."},"resource":{"type":"string","const":"income_statement","title":"Resource"},"symbol":{"type":"string","pattern":"^[A-Z0-9^][A-Z0-9.^=-]{0,19}$","title":"Symbol"},"period":{"type":"string","enum":["annual","quarter"],"title":"Period","default":"annual"}},"additionalProperties":false,"type":"object","required":["resource","symbol"],"title":"FmpIncomeStatement"},{"properties":{"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"title":"Limit","default":100},"cursor":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Cursor","description":"Continue a locally paged response only if its revision is unchanged."},"resource":{"type":"string","const":"balance_sheet_statement","title":"Resource"},"symbol":{"type":"string","pattern":"^[A-Z0-9^][A-Z0-9.^=-]{0,19}$","title":"Symbol"},"period":{"type":"string","enum":["annual","quarter"],"title":"Period","default":"annual"}},"additionalProperties":false,"type":"object","required":["resource","symbol"],"title":"FmpBalanceSheetStatement"},{"properties":{"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"title":"Limit","default":100},"cursor":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Cursor","description":"Continue a locally paged response only if its revision is unchanged."},"resource":{"type":"string","const":"cash_flow_statement","title":"Resource"},"symbol":{"type":"string","pattern":"^[A-Z0-9^][A-Z0-9.^=-]{0,19}$","title":"Symbol"},"period":{"type":"string","enum":["annual","quarter"],"title":"Period","default":"annual"}},"additionalProperties":false,"type":"object","required":["resource","symbol"],"title":"FmpCashFlowStatement"},{"properties":{"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"title":"Limit","default":100},"cursor":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Cursor","description":"Continue a locally paged response only if its revision is unchanged."},"resource":{"type":"string","const":"financial_growth","title":"Resource"},"symbol":{"type":"string","pattern":"^[A-Z0-9^][A-Z0-9.^=-]{0,19}$","title":"Symbol"},"period":{"type":"string","enum":["annual","quarter"],"title":"Period","default":"annual"}},"additionalProperties":false,"type":"object","required":["resource","symbol"],"title":"FmpFinancialGrowth"},{"properties":{"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"title":"Limit","default":100},"cursor":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Cursor","description":"Continue a locally paged response only if its revision is unchanged."},"resource":{"type":"string","const":"ratios","title":"Resource"},"symbol":{"type":"string","pattern":"^[A-Z0-9^][A-Z0-9.^=-]{0,19}$","title":"Symbol"},"period":{"type":"string","enum":["annual","quarter"],"title":"Period","default":"annual"}},"additionalProperties":false,"type":"object","required":["resource","symbol"],"title":"FmpRatios"},{"properties":{"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"title":"Limit","default":100},"cursor":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Cursor","description":"Continue a locally paged response only if its revision is unchanged."},"resource":{"type":"string","const":"key_metrics","title":"Resource"},"symbol":{"type":"string","pattern":"^[A-Z0-9^][A-Z0-9.^=-]{0,19}$","title":"Symbol"},"period":{"type":"string","enum":["annual","quarter"],"title":"Period","default":"annual"}},"additionalProperties":false,"type":"object","required":["resource","symbol"],"title":"FmpKeyMetrics"},{"properties":{"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"title":"Limit","default":100},"cursor":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Cursor","description":"Continue a locally paged response only if its revision is unchanged."},"resource":{"type":"string","const":"key_metrics_ttm","title":"Resource"},"symbol":{"type":"string","pattern":"^[A-Z0-9^][A-Z0-9.^=-]{0,19}$","title":"Symbol"}},"additionalProperties":false,"type":"object","required":["resource","symbol"],"title":"FmpKeyMetricsTtm"},{"properties":{"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"title":"Limit","default":100},"cursor":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Cursor","description":"Continue a locally paged response only if its revision is unchanged."},"resource":{"type":"string","const":"ratios_ttm","title":"Resource"},"symbol":{"type":"string","pattern":"^[A-Z0-9^][A-Z0-9.^=-]{0,19}$","title":"Symbol"}},"additionalProperties":false,"type":"object","required":["resource","symbol"],"title":"FmpRatiosTtm"}],"title":"Query"}},"additionalProperties":false,"type":"object","required":["query"],"title":"FmpFundamentalsRequest"}}},{"properties":{"source":{"const":"fmp_earnings"},"request":{"properties":{"query":{"oneOf":[{"properties":{"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"title":"Limit","default":100},"cursor":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Cursor","description":"Continue a locally paged response only if its revision is unchanged."},"resource":{"type":"string","const":"analyst_estimates","title":"Resource"},"symbol":{"type":"string","pattern":"^[A-Z0-9^][A-Z0-9.^=-]{0,19}$","title":"Symbol"},"period":{"type":"string","enum":["annual","quarter"],"title":"Period","default":"annual"},"page":{"type":"integer","maximum":10000.0,"minimum":0.0,"title":"Page","default":0}},"additionalProperties":false,"type":"object","required":["resource","symbol"],"title":"FmpAnalystEstimates"},{"properties":{"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"title":"Limit","default":100},"cursor":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Cursor","description":"Continue a locally paged response only if its revision is unchanged."},"resource":{"type":"string","const":"earnings","title":"Resource"},"symbol":{"type":"string","pattern":"^[A-Z0-9^][A-Z0-9.^=-]{0,19}$","title":"Symbol"}},"additionalProperties":false,"type":"object","required":["resource","symbol"],"title":"FmpEarnings"},{"properties":{"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"title":"Limit","default":100},"cursor":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Cursor","description":"Continue a locally paged response only if its revision is unchanged."},"resource":{"type":"string","const":"earning_call_transcript","title":"Resource"},"symbol":{"type":"string","pattern":"^[A-Z0-9^][A-Z0-9.^=-]{0,19}$","title":"Symbol"},"year":{"type":"integer","maximum":2100.0,"minimum":1990.0,"title":"Year"},"quarter":{"type":"integer","maximum":4.0,"minimum":1.0,"title":"Quarter"}},"additionalProperties":false,"type":"object","required":["resource","symbol","year","quarter"],"title":"FmpEarningCallTranscript"},{"properties":{"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"title":"Limit","default":100},"cursor":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Cursor","description":"Continue a locally paged response only if its revision is unchanged."},"resource":{"type":"string","const":"earnings_calendar","title":"Resource"},"start_date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","format":"date","title":"Start Date"},"end_date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","format":"date","title":"End Date"}},"additionalProperties":false,"type":"object","required":["resource","start_date","end_date"],"title":"FmpEarningsCalendar"},{"properties":{"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"title":"Limit","default":100},"cursor":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Cursor","description":"Continue a locally paged response only if its revision is unchanged."},"resource":{"type":"string","const":"dividends_calendar","title":"Resource"},"start_date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","format":"date","title":"Start Date"},"end_date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","format":"date","title":"End Date"}},"additionalProperties":false,"type":"object","required":["resource","start_date","end_date"],"title":"FmpDividendsCalendar"},{"properties":{"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"title":"Limit","default":100},"cursor":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Cursor","description":"Continue a locally paged response only if its revision is unchanged."},"resource":{"type":"string","const":"splits_calendar","title":"Resource"},"start_date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","format":"date","title":"Start Date"},"end_date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","format":"date","title":"End Date"}},"additionalProperties":false,"type":"object","required":["resource","start_date","end_date"],"title":"FmpSplitsCalendar"},{"properties":{"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"title":"Limit","default":100},"cursor":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Cursor","description":"Continue a locally paged response only if its revision is unchanged."},"resource":{"type":"string","const":"ipos_calendar","title":"Resource"},"start_date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","format":"date","title":"Start Date"},"end_date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","format":"date","title":"End Date"}},"additionalProperties":false,"type":"object","required":["resource","start_date","end_date"],"title":"FmpIposCalendar"}],"title":"Query"}},"additionalProperties":false,"type":"object","required":["query"],"title":"FmpEarningsRequest"}}},{"properties":{"source":{"const":"fmp_valuation"},"request":{"properties":{"query":{"oneOf":[{"properties":{"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"title":"Limit","default":100},"cursor":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Cursor","description":"Continue a locally paged response only if its revision is unchanged."},"resource":{"type":"string","const":"owner_earnings","title":"Resource"},"symbol":{"type":"string","pattern":"^[A-Z0-9^][A-Z0-9.^=-]{0,19}$","title":"Symbol"}},"additionalProperties":false,"type":"object","required":["resource","symbol"],"title":"FmpOwnerEarnings"},{"properties":{"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"title":"Limit","default":100},"cursor":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Cursor","description":"Continue a locally paged response only if its revision is unchanged."},"resource":{"type":"string","const":"discounted_cash_flow","title":"Resource"},"symbol":{"type":"string","pattern":"^[A-Z0-9^][A-Z0-9.^=-]{0,19}$","title":"Symbol"}},"additionalProperties":false,"type":"object","required":["resource","symbol"],"title":"FmpDiscountedCashFlow"},{"properties":{"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"title":"Limit","default":100},"cursor":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Cursor","description":"Continue a locally paged response only if its revision is unchanged."},"resource":{"type":"string","const":"revenue_product_segmentation","title":"Resource"},"symbol":{"type":"string","pattern":"^[A-Z0-9^][A-Z0-9.^=-]{0,19}$","title":"Symbol"}},"additionalProperties":false,"type":"object","required":["resource","symbol"],"title":"FmpRevenueProductSegmentation"},{"properties":{"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"title":"Limit","default":100},"cursor":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Cursor","description":"Continue a locally paged response only if its revision is unchanged."},"resource":{"type":"string","const":"revenue_geographic_segmentation","title":"Resource"},"symbol":{"type":"string","pattern":"^[A-Z0-9^][A-Z0-9.^=-]{0,19}$","title":"Symbol"}},"additionalProperties":false,"type":"object","required":["resource","symbol"],"title":"FmpRevenueGeographicSegmentation"}],"title":"Query"}},"additionalProperties":false,"type":"object","required":["query"],"title":"FmpValuationRequest"}}},{"properties":{"source":{"const":"fmp_disclosures"},"request":{"properties":{"query":{"oneOf":[{"properties":{"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"title":"Limit","default":100},"cursor":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Cursor","description":"Continue a locally paged response only if its revision is unchanged."},"resource":{"type":"string","const":"price_target_consensus","title":"Resource"},"symbol":{"type":"string","pattern":"^[A-Z0-9^][A-Z0-9.^=-]{0,19}$","title":"Symbol"}},"additionalProperties":false,"type":"object","required":["resource","symbol"],"title":"FmpPriceTargetConsensus"},{"properties":{"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"title":"Limit","default":100},"cursor":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Cursor","description":"Continue a locally paged response only if its revision is unchanged."},"resource":{"type":"string","const":"price_target_summary","title":"Resource"},"symbol":{"type":"string","pattern":"^[A-Z0-9^][A-Z0-9.^=-]{0,19}$","title":"Symbol"}},"additionalProperties":false,"type":"object","required":["resource","symbol"],"title":"FmpPriceTargetSummary"},{"properties":{"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"title":"Limit","default":100},"cursor":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Cursor","description":"Continue a locally paged response only if its revision is unchanged."},"resource":{"type":"string","const":"grades","title":"Resource"},"symbol":{"type":"string","pattern":"^[A-Z0-9^][A-Z0-9.^=-]{0,19}$","title":"Symbol"}},"additionalProperties":false,"type":"object","required":["resource","symbol"],"title":"FmpGrades"},{"properties":{"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"title":"Limit","default":100},"cursor":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Cursor","description":"Continue a locally paged response only if its revision is unchanged."},"resource":{"type":"string","const":"ratings_snapshot","title":"Resource"},"symbol":{"type":"string","pattern":"^[A-Z0-9^][A-Z0-9.^=-]{0,19}$","title":"Symbol"}},"additionalProperties":false,"type":"object","required":["resource","symbol"],"title":"FmpRatingsSnapshot"},{"properties":{"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"title":"Limit","default":100},"cursor":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Cursor","description":"Continue a locally paged response only if its revision is unchanged."},"resource":{"type":"string","const":"insider_trading_search","title":"Resource"},"symbol":{"anyOf":[{"type":"string","pattern":"^[A-Z0-9^][A-Z0-9.^=-]{0,19}$"},{"type":"null"}],"title":"Symbol"},"page":{"type":"integer","maximum":10000.0,"minimum":0.0,"title":"Page","default":0}},"additionalProperties":false,"type":"object","required":["resource"],"title":"FmpInsiderTradingSearch"},{"properties":{"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"title":"Limit","default":100},"cursor":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Cursor","description":"Continue a locally paged response only if its revision is unchanged."},"resource":{"type":"string","const":"institutional_ownership_latest","title":"Resource"},"page":{"type":"integer","maximum":10000.0,"minimum":0.0,"title":"Page","default":0}},"additionalProperties":false,"type":"object","required":["resource"],"title":"FmpInstitutionalOwnershipLatest"}],"title":"Query"}},"additionalProperties":false,"type":"object","required":["query"],"title":"FmpDisclosuresRequest"}}},{"properties":{"source":{"const":"fmp_holdings"},"request":{"properties":{"query":{"oneOf":[{"properties":{"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"title":"Limit","default":100},"cursor":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Cursor","description":"Continue a locally paged response only if its revision is unchanged."},"resource":{"type":"string","const":"etf_holdings","title":"Resource"},"symbol":{"type":"string","pattern":"^[A-Z0-9^][A-Z0-9.^=-]{0,19}$","title":"Symbol"}},"additionalProperties":false,"type":"object","required":["resource","symbol"],"title":"FmpEtfHoldings"},{"properties":{"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"title":"Limit","default":100},"cursor":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Cursor","description":"Continue a locally paged response only if its revision is unchanged."},"resource":{"type":"string","const":"etf_sector_weightings","title":"Resource"},"symbol":{"type":"string","pattern":"^[A-Z0-9^][A-Z0-9.^=-]{0,19}$","title":"Symbol"}},"additionalProperties":false,"type":"object","required":["resource","symbol"],"title":"FmpEtfSectorWeightings"},{"properties":{"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"title":"Limit","default":100},"cursor":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Cursor","description":"Continue a locally paged response only if its revision is unchanged."},"resource":{"type":"string","const":"etf_country_weightings","title":"Resource"},"symbol":{"type":"string","pattern":"^[A-Z0-9^][A-Z0-9.^=-]{0,19}$","title":"Symbol"}},"additionalProperties":false,"type":"object","required":["resource","symbol"],"title":"FmpEtfCountryWeightings"},{"properties":{"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"title":"Limit","default":100},"cursor":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Cursor","description":"Continue a locally paged response only if its revision is unchanged."},"resource":{"type":"string","const":"sp500_constituent","title":"Resource"}},"additionalProperties":false,"type":"object","required":["resource"],"title":"FmpSp500Constituent"},{"properties":{"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"title":"Limit","default":100},"cursor":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Cursor","description":"Continue a locally paged response only if its revision is unchanged."},"resource":{"type":"string","const":"dowjones_constituent","title":"Resource"}},"additionalProperties":false,"type":"object","required":["resource"],"title":"FmpDowjonesConstituent"},{"properties":{"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"title":"Limit","default":100},"cursor":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Cursor","description":"Continue a locally paged response only if its revision is unchanged."},"resource":{"type":"string","const":"nasdaq_constituent","title":"Resource"}},"additionalProperties":false,"type":"object","required":["resource"],"title":"FmpNasdaqConstituent"}],"title":"Query"}},"additionalProperties":false,"type":"object","required":["query"],"title":"FmpHoldingsRequest"}}},{"properties":{"source":{"const":"fmp_market_history"},"request":{"properties":{"query":{"oneOf":[{"properties":{"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"title":"Limit","default":100},"cursor":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Cursor","description":"Continue a locally paged response only if its revision is unchanged."},"resource":{"type":"string","const":"historical_market_capitalization","title":"Resource"},"symbol":{"type":"string","pattern":"^[A-Z0-9^][A-Z0-9.^=-]{0,19}$","title":"Symbol"},"start_date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","format":"date","title":"Start Date"},"end_date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","format":"date","title":"End Date"}},"additionalProperties":false,"type":"object","required":["resource","symbol","start_date","end_date"],"title":"FmpHistoricalMarketCapitalization"},{"properties":{"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"title":"Limit","default":100},"cursor":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Cursor","description":"Continue a locally paged response only if its revision is unchanged."},"resource":{"type":"string","const":"stock_price_change","title":"Resource"},"symbol":{"type":"string","pattern":"^[A-Z0-9^][A-Z0-9.^=-]{0,19}$","title":"Symbol"}},"additionalProperties":false,"type":"object","required":["resource","symbol"],"title":"FmpStockPriceChange"},{"properties":{"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"title":"Limit","default":100},"cursor":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Cursor","description":"Continue a locally paged response only if its revision is unchanged."},"resource":{"type":"string","const":"treasury_rates","title":"Resource"},"start_date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","format":"date","title":"Start Date"},"end_date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","format":"date","title":"End Date"}},"additionalProperties":false,"type":"object","required":["resource","start_date","end_date"],"title":"FmpTreasuryRates"}],"title":"Query"}},"additionalProperties":false,"type":"object","required":["query"],"title":"FmpMarketHistoryRequest"}}},{"properties":{"source":{"const":"fmp_positioning"},"request":{"properties":{"query":{"properties":{"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"title":"Limit","default":100},"cursor":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Cursor","description":"Continue a locally paged response only if its revision is unchanged."},"resource":{"type":"string","const":"commitment_of_traders_report","title":"Resource"},"symbol":{"type":"string","pattern":"^[A-Z0-9^][A-Z0-9.^=-]{0,19}$","title":"Symbol"},"start_date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","format":"date","title":"Start Date"},"end_date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","format":"date","title":"End Date"}},"additionalProperties":false,"type":"object","required":["resource","symbol","start_date","end_date"],"title":"FmpCommitmentOfTradersReport"}},"additionalProperties":false,"type":"object","required":["query"],"title":"FmpPositioningRequest"}}},{"properties":{"source":{"const":"fmp_technical"},"request":{"properties":{"query":{"oneOf":[{"properties":{"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"title":"Limit","default":100},"cursor":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Cursor","description":"Continue a locally paged response only if its revision is unchanged."},"resource":{"type":"string","const":"ema","title":"Resource"},"symbol":{"type":"string","pattern":"^[A-Z0-9^][A-Z0-9.^=-]{0,19}$","title":"Symbol"},"start_date":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","format":"date"},{"type":"null"}],"title":"Start Date"},"end_date":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","format":"date"},{"type":"null"}],"title":"End Date"},"period_length":{"type":"integer","maximum":200.0,"minimum":1.0,"title":"Period Length","default":14},"timeframe":{"type":"string","enum":["1min","5min","15min","30min","1hour","4hour","1day"],"title":"Timeframe","default":"1day"}},"additionalProperties":false,"type":"object","required":["resource","symbol"],"title":"FmpEma"},{"properties":{"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"title":"Limit","default":100},"cursor":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Cursor","description":"Continue a locally paged response only if its revision is unchanged."},"resource":{"type":"string","const":"sma","title":"Resource"},"symbol":{"type":"string","pattern":"^[A-Z0-9^][A-Z0-9.^=-]{0,19}$","title":"Symbol"},"start_date":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","format":"date"},{"type":"null"}],"title":"Start Date"},"end_date":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","format":"date"},{"type":"null"}],"title":"End Date"},"period_length":{"type":"integer","maximum":200.0,"minimum":1.0,"title":"Period Length","default":14},"timeframe":{"type":"string","enum":["1min","5min","15min","30min","1hour","4hour","1day"],"title":"Timeframe","default":"1day"}},"additionalProperties":false,"type":"object","required":["resource","symbol"],"title":"FmpSma"},{"properties":{"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"title":"Limit","default":100},"cursor":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Cursor","description":"Continue a locally paged response only if its revision is unchanged."},"resource":{"type":"string","const":"rsi","title":"Resource"},"symbol":{"type":"string","pattern":"^[A-Z0-9^][A-Z0-9.^=-]{0,19}$","title":"Symbol"},"start_date":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","format":"date"},{"type":"null"}],"title":"Start Date"},"end_date":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","format":"date"},{"type":"null"}],"title":"End Date"},"period_length":{"type":"integer","maximum":200.0,"minimum":1.0,"title":"Period Length","default":14},"timeframe":{"type":"string","enum":["1min","5min","15min","30min","1hour","4hour","1day"],"title":"Timeframe","default":"1day"}},"additionalProperties":false,"type":"object","required":["resource","symbol"],"title":"FmpRsi"},{"properties":{"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"title":"Limit","default":100},"cursor":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Cursor","description":"Continue a locally paged response only if its revision is unchanged."},"resource":{"type":"string","const":"adx","title":"Resource"},"symbol":{"type":"string","pattern":"^[A-Z0-9^][A-Z0-9.^=-]{0,19}$","title":"Symbol"},"start_date":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","format":"date"},{"type":"null"}],"title":"Start Date"},"end_date":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","format":"date"},{"type":"null"}],"title":"End Date"},"period_length":{"type":"integer","maximum":200.0,"minimum":1.0,"title":"Period Length","default":14},"timeframe":{"type":"string","enum":["1min","5min","15min","30min","1hour","4hour","1day"],"title":"Timeframe","default":"1day"}},"additionalProperties":false,"type":"object","required":["resource","symbol"],"title":"FmpAdx"},{"properties":{"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"title":"Limit","default":100},"cursor":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Cursor","description":"Continue a locally paged response only if its revision is unchanged."},"resource":{"type":"string","const":"williams","title":"Resource"},"symbol":{"type":"string","pattern":"^[A-Z0-9^][A-Z0-9.^=-]{0,19}$","title":"Symbol"},"start_date":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","format":"date"},{"type":"null"}],"title":"Start Date"},"end_date":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","format":"date"},{"type":"null"}],"title":"End Date"},"period_length":{"type":"integer","maximum":200.0,"minimum":1.0,"title":"Period Length","default":14},"timeframe":{"type":"string","enum":["1min","5min","15min","30min","1hour","4hour","1day"],"title":"Timeframe","default":"1day"}},"additionalProperties":false,"type":"object","required":["resource","symbol"],"title":"FmpWilliams"},{"properties":{"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"title":"Limit","default":100},"cursor":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Cursor","description":"Continue a locally paged response only if its revision is unchanged."},"resource":{"type":"string","const":"dema","title":"Resource"},"symbol":{"type":"string","pattern":"^[A-Z0-9^][A-Z0-9.^=-]{0,19}$","title":"Symbol"},"start_date":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","format":"date"},{"type":"null"}],"title":"Start Date"},"end_date":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","format":"date"},{"type":"null"}],"title":"End Date"},"period_length":{"type":"integer","maximum":200.0,"minimum":1.0,"title":"Period Length","default":14},"timeframe":{"type":"string","enum":["1min","5min","15min","30min","1hour","4hour","1day"],"title":"Timeframe","default":"1day"}},"additionalProperties":false,"type":"object","required":["resource","symbol"],"title":"FmpDema"}],"title":"Query"}},"additionalProperties":false,"type":"object","required":["query"],"title":"FmpTechnicalRequest"}}},{"properties":{"source":{"const":"portwatch"},"request":{"properties":{"identifier":{"anyOf":[{"type":"string","maxLength":1000,"minLength":1,"pattern":"^[^/?#\\\\]+$"},{"type":"null"}],"title":"Identifier"},"start_date":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","format":"date"},{"type":"null"}],"title":"Start Date"},"end_date":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","format":"date"},{"type":"null"}],"title":"End Date"},"filters":{"items":{"properties":{"field":{"type":"string","maxLength":100,"minLength":1,"pattern":"^[A-Za-z_][A-Za-z0-9_.]*$","title":"Field"},"value":{"anyOf":[{"type":"string","maxLength":160},{"type":"number"},{"type":"integer"}],"title":"Value"}},"additionalProperties":false,"type":"object","required":["field","value"],"title":"Filter"},"type":"array","maxItems":8,"title":"Filters"},"query":{"anyOf":[{"type":"string","maxLength":240,"minLength":1},{"type":"null"}],"title":"Query"},"timestamp":{"anyOf":[{"type":"integer","maximum":10000000000.0,"minimum":1.0},{"type":"null"}],"title":"Timestamp"},"bbox":{"anyOf":[{"items":{"type":"number"},"type":"array","maxItems":4,"minItems":4},{"type":"null"}],"title":"Bbox"},"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"title":"Limit","default":100},"cursor":{"anyOf":[{"type":"string","maxLength":200,"pattern":"^[a-f0-9]{64}:[a-f0-9]{64}:[0-9]{1,8}$"},{"type":"null"}],"title":"Cursor"},"data_ref":{"type":"string","enum":["portwatch:ports","portwatch:chokepoints","portwatch:countries","portwatch:global","portwatch:disruptions","portwatch:port_directory"],"title":"Data Ref"}},"additionalProperties":false,"type":"object","required":["data_ref"],"title":"PortwatchDatasetRequest"}}},{"properties":{"source":{"const":"nasa_firms"},"request":{"properties":{"identifier":{"anyOf":[{"type":"string","maxLength":1000,"minLength":1,"pattern":"^[^/?#\\\\]+$"},{"type":"null"}],"title":"Identifier"},"start_date":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","format":"date"},{"type":"null"}],"title":"Start Date"},"end_date":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","format":"date"},{"type":"null"}],"title":"End Date"},"filters":{"items":{"properties":{"field":{"type":"string","maxLength":100,"minLength":1,"pattern":"^[A-Za-z_][A-Za-z0-9_.]*$","title":"Field"},"value":{"anyOf":[{"type":"string","maxLength":160},{"type":"number"},{"type":"integer"}],"title":"Value"}},"additionalProperties":false,"type":"object","required":["field","value"],"title":"Filter"},"type":"array","maxItems":8,"title":"Filters"},"query":{"anyOf":[{"type":"string","maxLength":240,"minLength":1},{"type":"null"}],"title":"Query"},"timestamp":{"anyOf":[{"type":"integer","maximum":10000000000.0,"minimum":1.0},{"type":"null"}],"title":"Timestamp"},"bbox":{"anyOf":[{"items":{"type":"number"},"type":"array","maxItems":4,"minItems":4},{"type":"null"}],"title":"Bbox"},"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"title":"Limit","default":100},"cursor":{"anyOf":[{"type":"string","maxLength":200,"pattern":"^[a-f0-9]{64}:[a-f0-9]{64}:[0-9]{1,8}$"},{"type":"null"}],"title":"Cursor"},"data_ref":{"type":"string","enum":["nasa_firms:availability","nasa_firms:area"],"title":"Data Ref"}},"additionalProperties":false,"type":"object","required":["data_ref"],"title":"Nasa_FirmsDatasetRequest"}}},{"properties":{"source":{"const":"defillama"},"request":{"properties":{"identifier":{"anyOf":[{"type":"string","maxLength":1000,"minLength":1,"pattern":"^[^/?#\\\\]+$"},{"type":"null"}],"title":"Identifier"},"start_date":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","format":"date"},{"type":"null"}],"title":"Start Date"},"end_date":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","format":"date"},{"type":"null"}],"title":"End Date"},"filters":{"items":{"properties":{"field":{"type":"string","maxLength":100,"minLength":1,"pattern":"^[A-Za-z_][A-Za-z0-9_.]*$","title":"Field"},"value":{"anyOf":[{"type":"string","maxLength":160},{"type":"number"},{"type":"integer"}],"title":"Value"}},"additionalProperties":false,"type":"object","required":["field","value"],"title":"Filter"},"type":"array","maxItems":8,"title":"Filters"},"query":{"anyOf":[{"type":"string","maxLength":240,"minLength":1},{"type":"null"}],"title":"Query"},"timestamp":{"anyOf":[{"type":"integer","maximum":10000000000.0,"minimum":1.0},{"type":"null"}],"title":"Timestamp"},"bbox":{"anyOf":[{"items":{"type":"number"},"type":"array","maxItems":4,"minItems":4},{"type":"null"}],"title":"Bbox"},"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"title":"Limit","default":100},"cursor":{"anyOf":[{"type":"string","maxLength":200,"pattern":"^[a-f0-9]{64}:[a-f0-9]{64}:[0-9]{1,8}$"},{"type":"null"}],"title":"Cursor"},"data_ref":{"type":"string","enum":["defillama:protocols","defillama:protocol","defillama:global_tvl","defillama:chain_tvl","defillama:chains","defillama:stablecoins","defillama:stablecoin","defillama:stablecoin_chains","defillama:pools","defillama:pool_history","defillama:dexs","defillama:dex","defillama:dex_chain","defillama:fees","defillama:protocol_fees","defillama:prices","defillama:historical_prices"],"title":"Data Ref"}},"additionalProperties":false,"type":"object","required":["data_ref"],"title":"DefillamaDatasetRequest"}}},{"properties":{"source":{"const":"cambrian_solana_market"},"request":{"properties":{"query":{"oneOf":[{"properties":{"operation":{"type":"string","const":"solana_ohlcv_base_quote"},"arguments":{"properties":{"after_time":{"type":"integer","maximum":10000000000.0,"minimum":0.0,"description":"Unix timestamp - start time for data range"},"base_address":{"type":"string","maxLength":2400,"minLength":1,"pattern":"^[1-9A-HJ-NP-Za-km-z]{32,44}$","description":"Base token mint address (base58 format)"},"before_time":{"type":"integer","maximum":10000000000.0,"minimum":0.0,"description":"Unix timestamp - end time for data range"},"interval":{"type":"string","enum":["1m","5m","15m","30m","1h","2h","4h","6h","8h","12h","1d","3d","1w"],"description":"Time interval for OHLCV data aggregation. One of: `1m`, `5m`, `15m`, `30m`, `1h`, `2h`, `4h`, `6h`, `8h`, `12h`, `1d`, `3d`, `1w`"},"quote_address":{"type":"string","maxLength":2400,"minLength":1,"pattern":"^[1-9A-HJ-NP-Za-km-z]{32,44}$","description":"Quote token mint address (base58 format)"}},"additionalProperties":false,"type":"object","required":["base_address","quote_address","after_time","before_time","interval"]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"solana_ohlcv_pool"},"arguments":{"properties":{"after_time":{"type":"integer","maximum":10000000000.0,"minimum":0.0,"description":"Unix timestamp - start time for data range"},"before_time":{"type":"integer","maximum":10000000000.0,"minimum":0.0,"description":"Unix timestamp - end time for data range"},"interval":{"type":"string","enum":["1m","5m","15m","30m","1h","2h","4h","6h","8h","12h","1d","3d","1w"],"description":"Time interval for OHLCV data aggregation. Enum: `1m`, `5m`, `15m`, `30m`, `1h`, `2h`, `4h`, `6h`, `8h`, `12h`, `1d`, `3d`, `1w`"},"pool_address":{"type":"string","maxLength":2400,"minLength":1,"pattern":"^[1-9A-HJ-NP-Za-km-z]{32,44}$","description":"Pool/pair contract address (base58 format)"}},"additionalProperties":false,"type":"object","required":["pool_address","after_time","before_time","interval"]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"solana_ohlcv_token"},"arguments":{"properties":{"after_time":{"type":"integer","maximum":10000000000.0,"minimum":0.0,"description":"Unix timestamp - start time for data range"},"before_time":{"type":"integer","maximum":10000000000.0,"minimum":0.0,"description":"Unix timestamp - end time for data range"},"interval":{"type":"string","enum":["1m","5m","15m","30m","1h","2h","4h","6h","8h","12h","1d","3d","1w"],"description":"Time interval for OHLCV data aggregation (1m, 5m, 15m, 30m, 1h, 2h, 4h, 6h, 8h, 12h, 1d, 3d, 1w)"},"token_address":{"type":"string","maxLength":2400,"minLength":1,"pattern":"^[1-9A-HJ-NP-Za-km-z]{32,44}$","description":"SPL token mint address (base58 format)"}},"additionalProperties":false,"type":"object","required":["token_address","after_time","before_time","interval"]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"solana_tokens"},"arguments":{"properties":{"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"description":"Limit the number of results. (min: 1, max: 1000)","default":100},"offset":{"type":"integer","maximum":100000.0,"minimum":0.0,"description":"Offset the results, allows you to skip a number of rows before starting to return rows. (min: 0, max: 100000)","default":0}},"additionalProperties":false,"type":"object","required":[]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"solana_tokens_security"},"arguments":{"properties":{"token_address":{"type":"string","maxLength":2400,"minLength":1,"pattern":"^[1-9A-HJ-NP-Za-km-z]{32,44}$","description":"The token address to analyze"}},"additionalProperties":false,"type":"object","required":["token_address"]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"solana_price_volume"},"arguments":{"properties":{"timeframe":{"type":"string","enum":["1h","2h","4h","8h","24h"],"description":"Timeframe: 1h, 2h, 4h, 8h, 24h"},"token_addresses":{"type":"string","maxLength":2400,"minLength":1,"pattern":"^[1-9A-HJ-NP-Za-km-z]{32,44}(?:,[1-9A-HJ-NP-Za-km-z]{32,44}){0,49}$","description":"Comma-separated SPL token mint addresses (max 50, base58)"}},"additionalProperties":false,"type":"object","required":["token_addresses","timeframe"]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"solana_latest_block"},"arguments":{"properties":{},"additionalProperties":false,"type":"object","required":[]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"solana_price_current"},"arguments":{"properties":{"token_addresses":{"type":"string","maxLength":2400,"minLength":1,"pattern":"^[1-9A-HJ-NP-Za-km-z]{32,44}(?:,[1-9A-HJ-NP-Za-km-z]{32,44}){0,49}$","description":"Comma-separated list of Solana token program addresses (base58 strings, 1-11 addresses)"}},"additionalProperties":false,"type":"object","required":["token_addresses"]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"solana_price_hour"},"arguments":{"properties":{"interval":{"type":"string","enum":["1H","2H","4H","6H","8H","12H","1D","3D","1W","1M"],"description":"Time interval for price aggregation. One of: 1H, 2H, 4H, 6H, 8H, 12H, 1D, 3D, 1W, 1M."},"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"description":"Limit the number of results.","default":24},"offset":{"type":"integer","maximum":100000.0,"minimum":0.0,"description":"Offsets the results, letting you skip a number of rows before the response starts returning rows.","default":0},"token_address":{"type":"string","maxLength":2400,"minLength":1,"pattern":"^[1-9A-HJ-NP-Za-km-z]{32,44}$","description":"Token program address (base58-44 string). See tokens for valid addresses."}},"additionalProperties":false,"type":"object","required":["token_address","interval"]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"solana_price_unix"},"arguments":{"properties":{"token_address":{"type":"string","maxLength":2400,"minLength":1,"pattern":"^[1-9A-HJ-NP-Za-km-z]{32,44}$","description":"Solana token mint address (base58 format). Example: `So11111111111111111111111111111111111111112`"},"unixtime":{"type":"integer","maximum":10000000000.0,"minimum":0.0,"description":"Hour in unix timestamp to query price for (0 to 10000000000, rounded down to the nearest hour). Example: `1750110000`"}},"additionalProperties":false,"type":"object","required":["token_address","unixtime"]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"solana_token_details"},"arguments":{"properties":{"token_addresses":{"type":"string","maxLength":2400,"minLength":1,"pattern":"^[1-9A-HJ-NP-Za-km-z]{32,44}(?:,[1-9A-HJ-NP-Za-km-z]{32,44}){0,49}$","description":"Comma-separated Solana token mint addresses (max 50, base58). Example: `So11111111111111111111111111111111111111112,DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263`"}},"additionalProperties":false,"type":"object","required":["token_addresses"]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"solana_trade_statistics"},"arguments":{"properties":{"timeframe":{"type":"string","enum":["1h","4h","12h","24h","7d"],"description":"Time interval: `1h`, `4h`, `12h`, `24h`, `7d`"},"token_addresses":{"type":"string","maxLength":2400,"minLength":1,"pattern":"^[1-9A-HJ-NP-Za-km-z]{32,44}(?:,[1-9A-HJ-NP-Za-km-z]{32,44}){0,49}$","description":"Comma-separated token addresses (e.g., `So11111111111111111111111111111111111111112`)"}},"additionalProperties":false,"type":"object","required":["token_addresses","timeframe"]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"solana_trending_tokens"},"arguments":{"properties":{"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"description":"Limit the number of results. Minimum 1, maximum 1000","default":10},"offset":{"type":"integer","maximum":100000.0,"minimum":0.0,"description":"Offset the results, skipping a number of rows before returning results. Minimum 0, maximum 100000","default":0},"order_by":{"type":"string","enum":["price_change_percentage","volume_usd_24h","current_price_usd"],"description":"Column to sort the results by. Enum: `price_change_percentage`, `volume_usd_24h`, `current_price_usd`"}},"additionalProperties":false,"type":"object","required":["order_by"]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]}]}},"additionalProperties":false,"type":"object","required":["query"]}}},{"properties":{"source":{"const":"cambrian_solana_liquidity"},"request":{"properties":{"query":{"oneOf":[{"properties":{"operation":{"type":"string","const":"solana_orca_pools"},"arguments":{"properties":{"dex":{"type":"string","enum":["orca"],"description":"The Decentralized Exchange (DEX) name. Must be `orca` for this endpoint."},"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"description":"Limit the number of results. Minimum 1, maximum 1000.","default":100},"offset":{"type":"integer","maximum":100000.0,"minimum":0.0,"description":"Offset the results, allows you to skip a number of rows before starting to return rows. Minimum 0, maximum 100000.","default":0}},"additionalProperties":false,"type":"object","required":["dex"]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"solana_orca_pools_fee_metrics"},"arguments":{"properties":{"days":{"type":"integer","maximum":3650.0,"minimum":1.0,"description":"The number of past days to include in the analysis (e.g., 1, 7, 30)."},"pool_address":{"type":"string","maxLength":2400,"minLength":1,"pattern":"^[1-9A-HJ-NP-Za-km-z]{32,44}$","description":"The public key address of the Orca Whirlpool."}},"additionalProperties":false,"type":"object","required":["pool_address","days"]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"solana_orca_pools_fee_ranges"},"arguments":{"properties":{"days":{"type":"integer","maximum":3650.0,"minimum":1.0,"description":"The number of past days to include in the analysis."},"pool_address":{"type":"string","maxLength":2400,"minLength":1,"pattern":"^[1-9A-HJ-NP-Za-km-z]{32,44}$","description":"The public key address of the Orca Whirlpool."}},"additionalProperties":false,"type":"object","required":["pool_address","days"]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"solana_orca_pools_historical_data"},"arguments":{"properties":{"days":{"type":"integer","maximum":3650.0,"minimum":1.0,"description":"The number of past days to include in the analysis."},"pool_address":{"type":"string","maxLength":2400,"minLength":1,"pattern":"^[1-9A-HJ-NP-Za-km-z]{32,44}$","description":"The public key address of the Orca Whirlpool."}},"additionalProperties":false,"type":"object","required":["pool_address","days"]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"solana_orca_pools_liquidity_map"},"arguments":{"properties":{"pool_address":{"type":"string","maxLength":2400,"minLength":1,"pattern":"^[1-9A-HJ-NP-Za-km-z]{32,44}$","description":"The public key address of the Orca Whirlpool."},"resolution":{"type":"integer","maximum":1000.0,"minimum":10.0,"description":"The approximate number of data points (tick intervals) desired in the output map. Higher values mean finer granularity. Minimum 10, maximum 1000."}},"additionalProperties":false,"type":"object","required":["pool_address","resolution"]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"solana_orca_pool"},"arguments":{"properties":{"pool_addresses":{"type":"string","maxLength":2400,"minLength":1,"pattern":"^[1-9A-HJ-NP-Za-km-z]{32,44}(?:,[1-9A-HJ-NP-Za-km-z]{32,44}){0,49}$","description":"Comma-separated pool addresses within the same DEX. Example: addr1,addr2,addr3"}},"additionalProperties":false,"type":"object","required":["pool_addresses"]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"solana_meteora_dlmm_pool"},"arguments":{"properties":{"pool_addresses":{"type":"string","maxLength":2400,"minLength":1,"pattern":"^[1-9A-HJ-NP-Za-km-z]{32,44}(?:,[1-9A-HJ-NP-Za-km-z]{32,44}){0,49}$","description":"Comma-separated pool addresses within the same DEX (up to 11). Example: `addr1,addr2,addr3`"}},"additionalProperties":false,"type":"object","required":["pool_addresses"]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"solana_meteora_dlmm_pools"},"arguments":{"properties":{"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"description":"Limit the number of results (1-1000)","default":100},"offset":{"type":"integer","maximum":100000.0,"minimum":0.0,"description":"Offset the results (0-100000)","default":0}},"additionalProperties":false,"type":"object","required":[]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"solana_raydium_clmm_pool"},"arguments":{"properties":{"pool_addresses":{"type":"string","maxLength":2400,"minLength":1,"pattern":"^[1-9A-HJ-NP-Za-km-z]{32,44}(?:,[1-9A-HJ-NP-Za-km-z]{32,44}){0,49}$","description":"Comma-separated pool addresses within the same DEX. Example: addr1,addr2,addr3"}},"additionalProperties":false,"type":"object","required":["pool_addresses"]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"solana_raydium_clmm_pools"},"arguments":{"properties":{"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"description":"Maximum number of pool records to return per page","default":100},"offset":{"type":"integer","maximum":100000.0,"minimum":0.0,"description":"Number of pool records to skip, for pagination","default":0}},"additionalProperties":false,"type":"object","required":[]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"solana_token_pool_search"},"arguments":{"properties":{"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"description":"Limit the number of results.","default":20},"offset":{"type":"integer","maximum":100000.0,"minimum":0.0,"description":"Offset the results, allows you to skip a number of rows before starting to return rows.","default":0},"token_address":{"type":"string","maxLength":2400,"minLength":1,"pattern":"^[1-9A-HJ-NP-Za-km-z]{32,44}$","description":"Token contract address (base58 format) to search pools for"}},"additionalProperties":false,"type":"object","required":["token_address"]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]}]}},"additionalProperties":false,"type":"object","required":["query"]}}},{"properties":{"source":{"const":"cambrian_solana_ownership"},"request":{"properties":{"query":{"oneOf":[{"properties":{"operation":{"type":"string","const":"solana_tokens_holder_distribution_over_time"},"arguments":{"properties":{"end_block":{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0,"description":"Block to end at"},"interval":{"type":"integer","maximum":1000000000.0,"minimum":1.0,"description":"Block interval to use"},"start_block":{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0,"description":"Block to start from"},"token_address":{"type":"string","maxLength":2400,"minLength":1,"pattern":"^[1-9A-HJ-NP-Za-km-z]{32,44}$","description":"Token mint address (program id)"}},"additionalProperties":false,"type":"object","required":["token_address","interval","start_block","end_block"]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"solana_tokens_holders"},"arguments":{"properties":{"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"description":"Limit the number of results.","default":100},"offset":{"type":"integer","maximum":100000.0,"minimum":0.0,"description":"Offset the results, allows you to skip a number of rows before starting to return rows.","default":0},"program_id":{"type":"string","maxLength":2400,"minLength":1,"pattern":"^[1-9A-HJ-NP-Za-km-z]{32,44}$","description":"The program ID (mint address) of the token."}},"additionalProperties":false,"type":"object","required":["program_id"]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"solana_tokens_holders_over_time"},"arguments":{"properties":{"end_block":{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0,"description":"Ending block number for the time range."},"interval":{"type":"integer","maximum":1000000000.0,"minimum":1.0,"description":"Block interval for sampling balances."},"start_block":{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0,"description":"Starting block number for the time range."},"token_address":{"type":"string","maxLength":2400,"minLength":1,"pattern":"^[1-9A-HJ-NP-Za-km-z]{32,44}$","description":"The program ID (mint address) of the token."}},"additionalProperties":false,"type":"object","required":["token_address","interval","start_block","end_block"]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"solana_holder_token_balances"},"arguments":{"properties":{"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"description":"Limit the number of results. (min: 1, max: 1000)","default":10},"offset":{"type":"integer","maximum":100000.0,"minimum":0.0,"description":"Offset the results, allows you to skip a number of rows before starting to return rows. (min: 0, max: 100000)","default":0},"wallet_address":{"type":"string","maxLength":2400,"minLength":1,"pattern":"^[1-9A-HJ-NP-Za-km-z]{32,44}$","description":"Wallet address"}},"additionalProperties":false,"type":"object","required":["wallet_address"]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"solana_wallet_balance_history"},"arguments":{"properties":{"after_time":{"type":"integer","maximum":10000000000.0,"minimum":0.0,"description":"Unix timestamp - start time for data range"},"before_time":{"type":"integer","maximum":10000000000.0,"minimum":0.0,"description":"Unix timestamp - end time for data range"},"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"description":"Limit the number of results. (min 1, max 1000)","default":100},"offset":{"type":"integer","maximum":100000.0,"minimum":0.0,"description":"Offset the results, allows you to skip a number of rows before starting to return rows. (min 0, max 100000)","default":0},"order_asc":{"type":"string","maxLength":2400,"minLength":1,"description":"List of column names to order by in ascending order, comma-separated. Leave empty items to combine with descending order. Valid values: txHash, slot, blockTime, blockHumanTime, tokenAddress, tokenSymbol, tokenDecimals, preBalance, postBalance, changeAmount, uiPreBalance, uiPostBalance, uiChangeAmount"},"order_desc":{"type":"string","maxLength":2400,"minLength":1,"description":"List of column names to order by in descending order, comma-separated. Leave empty items to combine with ascending order. Valid values: txHash, slot, blockTime, blockHumanTime, tokenAddress, tokenSymbol, tokenDecimals, preBalance, postBalance, changeAmount, uiPreBalance, uiPostBalance, uiChangeAmount"},"token_address":{"type":"string","maxLength":2400,"minLength":1,"pattern":"^[1-9A-HJ-NP-Za-km-z]{32,44}$","description":"Filter by specific token address (base58 format)"},"wallet_address":{"type":"string","maxLength":2400,"minLength":1,"pattern":"^[1-9A-HJ-NP-Za-km-z]{32,44}$","description":"Solana wallet address (base58 format, 32-44 characters)"}},"additionalProperties":false,"type":"object","required":["wallet_address","token_address","after_time","before_time"]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]}]}},"additionalProperties":false,"type":"object","required":["query"]}}},{"properties":{"source":{"const":"cambrian_solana_activity"},"request":{"properties":{"query":{"oneOf":[{"properties":{"operation":{"type":"string","const":"solana_traders_leaderboard"},"arguments":{"properties":{"interval":{"type":"string","enum":["24 HOUR","12 HOUR","1 HOUR","30 MINUTE"],"description":"Lookback window for trades (SQL Interval). Enum: `24 HOUR`, `12 HOUR`, `1 HOUR`, `30 MINUTE`"},"token_address":{"type":"string","maxLength":2400,"minLength":1,"pattern":"^[1-9A-HJ-NP-Za-km-z]{32,44}$","description":"SPL token mint address (base58)"}},"additionalProperties":false,"type":"object","required":["token_address","interval"]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"solana_pool_transactions"},"arguments":{"properties":{"days":{"type":"integer","maximum":3650.0,"minimum":1.0,"description":"Number of days to look back for transactions. Default is 1 day."},"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"description":"Limit the number of results.","default":100},"offset":{"type":"integer","maximum":100000.0,"minimum":0.0,"description":"Offset the results, allows you to skip a number of rows before starting to return rows.","default":0},"pool_address":{"type":"string","maxLength":2400,"minLength":1,"pattern":"^[1-9A-HJ-NP-Za-km-z]{32,44}$","description":"Pool address (base58-44 string) to get transaction history for"}},"additionalProperties":false,"type":"object","required":["pool_address","days"]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"solana_pool_transactions_time_bounded"},"arguments":{"properties":{"after_time":{"type":"integer","maximum":10000000000.0,"minimum":0.0,"description":"Unix timestamp - start time for data range"},"before_time":{"type":"integer","maximum":10000000000.0,"minimum":0.0,"description":"Unix timestamp - end time for data range"},"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"description":"Limit the number of results.","default":100},"offset":{"type":"integer","maximum":100000.0,"minimum":0.0,"description":"Offset the results, allows you to skip a number of rows before starting to return rows.","default":0},"pool_address":{"type":"string","maxLength":2400,"minLength":1,"pattern":"^[1-9A-HJ-NP-Za-km-z]{32,44}$","description":"Pool address (base58-44 string)."}},"additionalProperties":false,"type":"object","required":["pool_address","after_time","before_time"]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"solana_token_mint_burn_transactions"},"arguments":{"properties":{"after_time":{"type":"integer","maximum":10000000000.0,"minimum":0.0,"description":"Unix timestamp - only return transactions after this time"},"before_time":{"type":"integer","maximum":10000000000.0,"minimum":0.0,"description":"Unix timestamp - only return transactions before this time"},"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"description":"Limit the number of results (min 1, max 1000)","default":100},"offset":{"type":"integer","maximum":100000.0,"minimum":0.0,"description":"Offset the results, allows you to skip a number of rows before starting to return rows (min 0, max 100000)","default":0},"order_asc":{"type":"string","maxLength":2400,"minLength":1,"description":"List of column names to order by in ascending order divided by comma. Valid values: blockTime, blockNumber, txSignature, tokenAddress, operationType, accountCount, authority, amount, amountUI, decimals"},"order_desc":{"type":"string","maxLength":2400,"minLength":1,"description":"List of column names to order by in descending order divided by comma. Valid values: blockTime, blockNumber, txSignature, tokenAddress, operationType, accountCount, authority, amount, amountUI, decimals"},"token_address":{"type":"string","maxLength":2400,"minLength":1,"pattern":"^[1-9A-HJ-NP-Za-km-z]{32,44}$","description":"SPL token mint address (base58 format, 44 characters)"}},"additionalProperties":false,"type":"object","required":["token_address","after_time","before_time"]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"solana_token_transactions"},"arguments":{"properties":{"after_time":{"type":"integer","maximum":10000000000.0,"minimum":0.0,"description":"Unix timestamp - start time for data range","default":1735689600},"before_time":{"type":"integer","maximum":10000000000.0,"minimum":0.0,"description":"Unix timestamp - end time for data range","default":1735776000},"days":{"type":"integer","maximum":3650.0,"minimum":1.0,"description":"Number of days to look back for transactions. Default is 1 day.."},"dex":{"type":"string","enum":["Meteora","Raydium CLMM","Pump.fun AMM","Orca"],"description":"Filter by DEX: Meteora , Raydium CLMM, Pump.fun AMM or Orca"},"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"description":"Limit the number of results.","default":100},"min_value_usd":{"type":"number","minimum":0.0,"description":"Minimum trade value in USD"},"offset":{"type":"integer","maximum":100000.0,"minimum":0.0,"description":"Offset the results, allows you to skip a number of rows before starting to return rows.","default":0},"pool_address":{"type":"string","maxLength":2400,"minLength":1,"pattern":"^[1-9A-HJ-NP-Za-km-z]{32,44}$","description":"Filter trades by pool contract address"},"token_address":{"type":"string","maxLength":2400,"minLength":1,"pattern":"^[1-9A-HJ-NP-Za-km-z]{32,44}$","description":"Token program address (base58-44 string). See tokens for valid addresses."},"tx_type":{"type":"string","enum":["buy","sell","add_liquidity","remove_liquidity"],"description":"Transaction type filter: buy, sell, add_liquidity or remove_liquidity."}},"additionalProperties":false,"type":"object","required":["token_address","days"]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"solana_token_transactions_time_bounded"},"arguments":{"properties":{"after_time":{"type":"integer","maximum":10000000000.0,"minimum":0.0,"description":"Unix timestamp - start time for data range"},"before_time":{"type":"integer","maximum":10000000000.0,"minimum":0.0,"description":"Unix timestamp - end time for data range"},"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"description":"Limit the number of results.","default":100},"offset":{"type":"integer","maximum":100000.0,"minimum":0.0,"description":"Offset the results, allows you to skip a number of rows before starting to return rows.","default":0},"token_address":{"type":"string","maxLength":2400,"minLength":1,"pattern":"^[1-9A-HJ-NP-Za-km-z]{32,44}$","description":"Token program address (base58-44 string). See tokens for valid addresses."}},"additionalProperties":false,"type":"object","required":["token_address","after_time","before_time"]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]}]}},"additionalProperties":false,"type":"object","required":["query"]}}},{"properties":{"source":{"const":"cambrian_evm_liquidity"},"request":{"properties":{"query":{"oneOf":[{"properties":{"operation":{"type":"string","const":"evm_aero_v2_fee_metrics"},"arguments":{"properties":{"chain_id":{"type":"integer","enum":[8453],"description":"EVM chain ID.","default":8453},"pool_address":{"type":"string","maxLength":240,"pattern":"^0x[a-fA-F0-9]{40}$","description":"Pool address with 0x prefix"}},"additionalProperties":false,"type":"object","required":["pool_address"]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"evm_aero_v2_pool"},"arguments":{"properties":{"apr_days_annualized":{"type":"integer","maximum":30.0,"minimum":1.0,"description":"Number of previous completed UTC days to calculate APR from. 7 annualizes activity from the previous 7 completed UTC days."},"chain_id":{"type":"integer","enum":[8453],"description":"EVM chain ID.","default":8453},"pool_address":{"type":"string","maxLength":240,"pattern":"^0x[a-fA-F0-9]{40}$","description":"Pool address with 0x prefix"}},"additionalProperties":false,"type":"object","required":["pool_address","apr_days_annualized"]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"evm_aero_v2_pool_volume"},"arguments":{"properties":{"chain_id":{"type":"integer","enum":[8453],"description":"EVM chain ID.","default":8453},"pool_address":{"type":"string","maxLength":240,"pattern":"^0x[a-fA-F0-9]{40}$","description":"Pool address with 0x prefix"}},"additionalProperties":false,"type":"object","required":["pool_address"]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"evm_aero_v2_pools"},"arguments":{"properties":{"chain_id":{"type":"integer","enum":[8453],"description":"EVM chain ID.","default":8453},"limit":{"type":"integer","maximum":10000.0,"minimum":1.0,"description":"Limit the number of results.","default":100},"offset":{"type":"integer","maximum":100000000.0,"minimum":0.0,"description":"Offset the results, allows you to skip a number of rows before starting to return rows.","default":0}},"additionalProperties":false,"type":"object","required":[]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"evm_aero_v2_provider_summary"},"arguments":{"properties":{"chain_id":{"type":"integer","enum":[8453],"description":"EVM chain ID.","default":8453},"wallet_address":{"type":"string","maxLength":240,"pattern":"^0x[a-fA-F0-9]{40}$","description":"Liquidity provider address with 0x prefix"}},"additionalProperties":false,"type":"object","required":["wallet_address"]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"evm_aero_v3_pool"},"arguments":{"properties":{"chain_id":{"type":"integer","enum":[8453],"description":"EVM chain ID.","default":8453},"pool_address":{"type":"string","maxLength":240,"pattern":"^0x[a-fA-F0-9]{40}$","description":"Pool address with 0x prefix"}},"additionalProperties":false,"type":"object","required":["pool_address"]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"evm_alien_v3_pool"},"arguments":{"properties":{"chain_id":{"type":"integer","enum":[8453],"description":"EVM chain ID.","default":8453},"pool_address":{"type":"string","maxLength":240,"pattern":"^0x[a-fA-F0-9]{40}$","description":"Pool address with 0x prefix"}},"additionalProperties":false,"type":"object","required":["pool_address"]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"evm_alien_v3_pools"},"arguments":{"properties":{"chain_id":{"type":"integer","enum":[8453],"description":"EVM chain ID.","default":8453},"limit":{"type":"integer","maximum":10000.0,"minimum":1.0,"description":"Limit the number of results.","default":100},"offset":{"type":"integer","maximum":100000000.0,"minimum":0.0,"description":"Offset the results, allows you to skip a number of rows before starting to return rows.","default":0},"order_asc":{"items":{"enum":["chainId","dexAddress","dexName","poolAddress","token0Address","token0Symbol","token0Decimals","token1Address","token1Symbol","token1Decimals","createdAt","fee","tickSpacing"]},"type":"array","maxItems":4,"uniqueItems":true,"description":"List of column names to order by in ascending order divided by comma. Leave empty items to combine with descending order"},"order_desc":{"items":{"enum":["chainId","dexAddress","dexName","poolAddress","token0Address","token0Symbol","token0Decimals","token1Address","token1Symbol","token1Decimals","createdAt","fee","tickSpacing"]},"type":"array","maxItems":4,"uniqueItems":true,"description":"List of column names to order by in descending order divided by comma. Leave empty items to combine with ascending order"},"token_address":{"type":"string","maxLength":240,"pattern":"^0x[a-fA-F0-9]{40}$","description":"Pool token address. See tokens for valid addresses."}},"additionalProperties":false,"type":"object","required":[]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"evm_dexes"},"arguments":{"properties":{"chain_id":{"type":"integer","enum":[1,8453,42161,4663],"description":"EVM chain ID.","default":8453}},"additionalProperties":false,"type":"object","required":[]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"evm_pancake_v3_pool"},"arguments":{"properties":{"chain_id":{"type":"integer","enum":[1,8453,42161,4663],"description":"EVM chain ID.","default":8453},"pool_address":{"type":"string","maxLength":240,"pattern":"^0x[a-fA-F0-9]{40}$","description":"Pool address with 0x prefix"}},"additionalProperties":false,"type":"object","required":["pool_address"]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"evm_pancake_v3_pools"},"arguments":{"properties":{"chain_id":{"type":"integer","enum":[1,8453,42161,4663],"description":"EVM chain ID.","default":8453},"limit":{"type":"integer","maximum":10000.0,"minimum":1.0,"description":"Limit the number of results.","default":100},"offset":{"type":"integer","maximum":100000000.0,"minimum":0.0,"description":"Offset the results, allows you to skip a number of rows before starting to return rows.","default":0},"order_asc":{"items":{"enum":["chainId","dexAddress","dexName","poolAddress","token0Address","token0Symbol","token0Decimals","token1Address","token1Symbol","token1Decimals","createdAt","fee","tickSpacing"]},"type":"array","maxItems":4,"uniqueItems":true,"description":"List of column names to order by in ascending order divided by comma. Leave empty items to combine with descending order"},"order_desc":{"items":{"enum":["chainId","dexAddress","dexName","poolAddress","token0Address","token0Symbol","token0Decimals","token1Address","token1Symbol","token1Decimals","createdAt","fee","tickSpacing"]},"type":"array","maxItems":4,"uniqueItems":true,"description":"List of column names to order by in descending order divided by comma. Leave empty items to combine with ascending order"},"token_address":{"type":"string","maxLength":240,"pattern":"^0x[a-fA-F0-9]{40}$","description":"Pool token address. See tokens for valid addresses."}},"additionalProperties":false,"type":"object","required":[]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"evm_sushi_v3_pool"},"arguments":{"properties":{"chain_id":{"type":"integer","enum":[1,8453,42161,4663],"description":"EVM chain ID.","default":8453},"pool_address":{"type":"string","maxLength":240,"pattern":"^0x[a-fA-F0-9]{40}$","description":"Pool address with 0x prefix"}},"additionalProperties":false,"type":"object","required":["pool_address"]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"evm_sushi_v3_pools"},"arguments":{"properties":{"chain_id":{"type":"integer","enum":[1,8453,42161,4663],"description":"EVM chain ID.","default":8453},"limit":{"type":"integer","maximum":10000.0,"minimum":1.0,"description":"Limit the number of results.","default":100},"offset":{"type":"integer","maximum":100000000.0,"minimum":0.0,"description":"Offset the results, allows you to skip a number of rows before starting to return rows.","default":0},"order_asc":{"items":{"enum":["chainId","dexAddress","dexName","poolAddress","token0Address","token0Symbol","token0Decimals","token1Address","token1Symbol","token1Decimals","createdAt","fee","tickSpacing"]},"type":"array","maxItems":4,"uniqueItems":true,"description":"List of column names to order by in ascending order divided by comma. Leave empty items to combine with descending order"},"order_desc":{"items":{"enum":["chainId","dexAddress","dexName","poolAddress","token0Address","token0Symbol","token0Decimals","token1Address","token1Symbol","token1Decimals","createdAt","fee","tickSpacing"]},"type":"array","maxItems":4,"uniqueItems":true,"description":"List of column names to order by in descending order divided by comma. Leave empty items to combine with ascending order"},"token_address":{"type":"string","maxLength":240,"pattern":"^0x[a-fA-F0-9]{40}$","description":"Pool token address. See tokens for valid addresses."}},"additionalProperties":false,"type":"object","required":[]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"evm_uniswap_v3_pool"},"arguments":{"properties":{"chain_id":{"type":"integer","enum":[1,8453,42161,4663],"description":"EVM chain ID.","default":8453},"pool_address":{"type":"string","maxLength":240,"pattern":"^0x[a-fA-F0-9]{40}$","description":"Pool address with 0x prefix"}},"additionalProperties":false,"type":"object","required":["pool_address"]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"evm_uniswap_v3_pools"},"arguments":{"properties":{"chain_id":{"type":"integer","enum":[1,8453,42161,4663],"description":"EVM chain ID.","default":8453},"limit":{"type":"integer","maximum":10000.0,"minimum":1.0,"description":"Limit the number of results.","default":100},"offset":{"type":"integer","maximum":100000000.0,"minimum":0.0,"description":"Offset the results, allows you to skip a number of rows before starting to return rows.","default":0},"order_asc":{"items":{"enum":["chainId","dexAddress","dexName","poolAddress","token0Address","token0Symbol","token0Decimals","token1Address","token1Symbol","token1Decimals","createdAt","fee","tickSpacing"]},"type":"array","maxItems":4,"uniqueItems":true,"description":"List of column names to order by in ascending order divided by comma. Leave empty items to combine with descending order"},"order_desc":{"items":{"enum":["chainId","dexAddress","dexName","poolAddress","token0Address","token0Symbol","token0Decimals","token1Address","token1Symbol","token1Decimals","createdAt","fee","tickSpacing"]},"type":"array","maxItems":4,"uniqueItems":true,"description":"List of column names to order by in descending order divided by comma. Leave empty items to combine with ascending order"},"token_address":{"type":"string","maxLength":240,"pattern":"^0x[a-fA-F0-9]{40}$","description":"Pool token address. See tokens for valid addresses."}},"additionalProperties":false,"type":"object","required":[]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]}]}},"additionalProperties":false,"type":"object","required":["query"]}}},{"properties":{"source":{"const":"cambrian_evm_market"},"request":{"properties":{"query":{"oneOf":[{"properties":{"operation":{"type":"string","const":"evm_chains"},"arguments":{"properties":{},"additionalProperties":false,"type":"object","required":[]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"evm_ohlcv_pool"},"arguments":{"properties":{"after_time":{"type":"integer","maximum":4102444799.0,"minimum":1420070400.0},"before_time":{"type":"integer","maximum":4102444799.0,"minimum":1420070400.0},"chain_id":{"type":"integer","enum":[1,8453],"description":"EVM chain ID.","default":8453},"interval":{"type":"string","enum":["1m","5m","15m","30m","1h","2h","4h","6h","8h","12h","1d","3d","1w"],"maxLength":240},"limit":{"type":"integer","maximum":10000.0,"minimum":1.0,"description":"Limit the number of results.","default":100},"offset":{"type":"integer","maximum":100000000.0,"minimum":0.0,"description":"Offset the results, allows you to skip a number of rows before starting to return rows.","default":0},"pool_address":{"type":"string","maxLength":240,"pattern":"^0x[a-fA-F0-9]{40}$"}},"additionalProperties":false,"type":"object","required":["pool_address","after_time","before_time","interval"]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"evm_ohlcv_token"},"arguments":{"properties":{"after_time":{"type":"integer","maximum":4102444799.0,"minimum":1420070400.0,"description":"Unix timestamp (in seconds) after which to retrieve OHLCV data."},"before_time":{"type":"integer","maximum":4102444799.0,"minimum":1420070400.0,"description":"Unix timestamp (in seconds) before which to retrieve OHLCV data."},"chain_id":{"type":"integer","enum":[1,8453],"description":"EVM chain ID.","default":8453},"interval":{"type":"string","enum":["1m","5m","15m","30m","1h","2h","4h","6h","8h","12h","1d","3d","1w"],"maxLength":240},"limit":{"type":"integer","maximum":10000.0,"minimum":1.0,"description":"Limit the number of results.","default":100},"offset":{"type":"integer","maximum":100000000.0,"minimum":0.0,"description":"Offset the results, allows you to skip a number of rows before starting to return rows.","default":0},"token_address":{"type":"string","maxLength":240,"pattern":"^0x[a-fA-F0-9]{40}$"},"use_filter":{"type":"boolean","description":"Whether to use the MAD filter for the OHLCV query."}},"additionalProperties":false,"type":"object","required":["token_address","after_time","before_time","interval","use_filter"]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"evm_price_current"},"arguments":{"properties":{"chain_id":{"type":"integer","enum":[1,8453,42161,4663],"description":"EVM chain ID.","default":8453},"token_address":{"type":"string","maxLength":240,"pattern":"^0x[a-fA-F0-9]{40}$","description":"Address of the token prefixed with 0x. See white listed tokens","default":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913"}},"additionalProperties":false,"type":"object","required":[]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"evm_price_hour"},"arguments":{"properties":{"chain_id":{"type":"integer","enum":[1,8453,42161,4663],"description":"EVM chain ID.","default":8453},"limit":{"type":"integer","maximum":10000.0,"minimum":1.0,"description":"Limit the number of results.","default":100},"offset":{"type":"integer","maximum":100000000.0,"minimum":0.0,"description":"Offset the results, allows you to skip a number of rows before starting to return rows.","default":0},"token_address":{"type":"string","maxLength":240,"pattern":"^0x[a-fA-F0-9]{40}$","description":"Token address. See tokens for valid address for a chain."}},"additionalProperties":false,"type":"object","required":["token_address"]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"evm_tokens"},"arguments":{"properties":{"chain_id":{"type":"integer","enum":[1,8453,42161,4663],"description":"EVM chain ID.","default":8453},"filter":{"type":"string","maxLength":240,"description":"Search symbol or name of the token"},"limit":{"type":"integer","maximum":10000.0,"minimum":1.0,"description":"Limit the number of results.","default":100},"offset":{"type":"integer","maximum":100000000.0,"minimum":0.0,"description":"Offset the results, allows you to skip a number of rows before starting to return rows.","default":0}},"additionalProperties":false,"type":"object","required":[]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]}]}},"additionalProperties":false,"type":"object","required":["query"]}}},{"properties":{"source":{"const":"cambrian_evm_lending"},"request":{"properties":{"query":{"oneOf":[{"properties":{"operation":{"type":"string","const":"evm_lending_aave_v3_pools"},"arguments":{"properties":{"borrowable":{"type":"boolean","description":"If true, only lending pools/vaults with borrowing enabled will be returned"},"chain_id":{"type":"integer","enum":[1,8453,42161],"description":"EVM chain ID.","default":8453},"limit":{"type":"integer","maximum":10000.0,"minimum":1.0,"description":"Limit the number of results.","default":100},"min_tvl_usd":{"type":"integer","minimum":0.0,"description":"Minimum TVL Usd of the lending pool/vault"},"offset":{"type":"integer","maximum":100000000.0,"minimum":0.0,"description":"Offset the results, allows you to skip a number of rows before starting to return rows.","default":0},"order_asc":{"items":{"enum":["chainId","protocolId","poolAddress","symbol","vaultName","underlyingAddress","underlyingSymbol","supply","supplyUsd","borrow","borrowUsd","tvlUsd","availableLiquidityUsd","supplyCap","supplyCapUsd","borrowCap","borrowCapUsd","remainingCapacityUsd","supplyApy","borrowApy","netSupplyApy","performanceFee","managementFee","utilizationRate","ltv","borrowable","depositEnabled","updatedAt"]},"type":"array","maxItems":4,"uniqueItems":true,"description":"List of column names to order by in ascending order divided by comma. Leave empty items to combine with descending order"},"order_desc":{"items":{"enum":["chainId","protocolId","poolAddress","symbol","vaultName","underlyingAddress","underlyingSymbol","supply","supplyUsd","borrow","borrowUsd","tvlUsd","availableLiquidityUsd","supplyCap","supplyCapUsd","borrowCap","borrowCapUsd","remainingCapacityUsd","supplyApy","borrowApy","netSupplyApy","performanceFee","managementFee","utilizationRate","ltv","borrowable","depositEnabled","updatedAt"]},"type":"array","maxItems":4,"uniqueItems":true,"description":"List of column names to order by in descending order divided by comma. Leave empty items to combine with ascending order"},"pool_address":{"type":"string","maxLength":240,"pattern":"^0x[a-fA-F0-9]{40}$","description":"Aave V3 pool address"},"underlying_address":{"type":"string","maxLength":240,"pattern":"^0x[a-fA-F0-9]{40}$","description":"Underlying token address. See tokens for valid addresses."}},"additionalProperties":false,"type":"object","required":[]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"evm_lending_euler_curator_vaults"},"arguments":{"properties":{"chain_id":{"type":"integer","enum":[1,8453,42161,4663],"description":"EVM chain ID.","default":8453},"curator_address":{"type":"string","maxLength":240,"pattern":"^0x[a-fA-F0-9]{40}$","description":"Euler curator address."},"limit":{"type":"integer","maximum":10000.0,"minimum":1.0,"description":"Limit the number of results.","default":100},"min_tvl_usd":{"type":"integer","minimum":0.0,"description":"Minimum TVL Usd of the lending pool/vault"},"offset":{"type":"integer","maximum":100000000.0,"minimum":0.0,"description":"Offset the results, allows you to skip a number of rows before starting to return rows.","default":0},"order_asc":{"items":{"enum":["chainId","protocolId","curatorAddress","curatorName","poolAddress","symbol","vaultName","underlyingAddress","underlyingSymbol","supply","supplyUsd","borrow","borrowUsd","tvlUsd","availableLiquidityUsd","supplyCap","supplyCapUsd","borrowCap","borrowCapUsd","remainingCapacityUsd","supplyApy","borrowApy","netSupplyApy","performanceFee","managementFee","utilizationRate","ltv","borrowable","depositEnabled","updatedAt"]},"type":"array","maxItems":4,"uniqueItems":true,"description":"List of column names to order by in ascending order divided by comma. Leave empty items to combine with descending order"},"order_desc":{"items":{"enum":["chainId","protocolId","curatorAddress","curatorName","poolAddress","symbol","vaultName","underlyingAddress","underlyingSymbol","supply","supplyUsd","borrow","borrowUsd","tvlUsd","availableLiquidityUsd","supplyCap","supplyCapUsd","borrowCap","borrowCapUsd","remainingCapacityUsd","supplyApy","borrowApy","netSupplyApy","performanceFee","managementFee","utilizationRate","ltv","borrowable","depositEnabled","updatedAt"]},"type":"array","maxItems":4,"uniqueItems":true,"description":"List of column names to order by in descending order divided by comma. Leave empty items to combine with ascending order"},"protocol_id":{"type":"string","maxLength":240,"description":"Filter by protocol ID. Ex: euler-lend"},"underlying_address":{"type":"string","maxLength":240,"pattern":"^0x[a-fA-F0-9]{40}$","description":"Underlying token address. See tokens for valid addresses."}},"additionalProperties":false,"type":"object","required":["curator_address"]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"evm_lending_euler_curators"},"arguments":{"properties":{"chain_id":{"type":"integer","enum":[1,8453,42161,4663],"description":"EVM chain ID.","default":8453},"limit":{"type":"integer","maximum":10000.0,"minimum":1.0,"description":"Limit the number of results.","default":100},"min_tvl_usd":{"type":"integer","minimum":0.0,"description":"Minimum TVL Usd of the lending pool/vault"},"offset":{"type":"integer","maximum":100000000.0,"minimum":0.0,"description":"Offset the results, allows you to skip a number of rows before starting to return rows.","default":0},"order_asc":{"items":{"enum":["chainId","protocolId","curatorAddress","curatorName","totalTvlUsd","vaultCount","verified","updatedAt"]},"type":"array","maxItems":4,"uniqueItems":true,"description":"List of column names to order by in ascending order divided by comma. Leave empty items to combine with descending order"},"order_desc":{"items":{"enum":["chainId","protocolId","curatorAddress","curatorName","totalTvlUsd","vaultCount","verified","updatedAt"]},"type":"array","maxItems":4,"uniqueItems":true,"description":"List of column names to order by in descending order divided by comma. Leave empty items to combine with ascending order"},"protocol_id":{"type":"string","maxLength":240,"description":"Filter by protocol ID. Ex: aave-v3, morpho-v1, morpho-v2, euler-lend, etc."}},"additionalProperties":false,"type":"object","required":[]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"evm_lending_euler_markets"},"arguments":{"properties":{"chain_id":{"type":"integer","enum":[1,8453,42161,4663],"description":"EVM chain ID.","default":8453},"collateral_address":{"type":"string","maxLength":240,"pattern":"^0x[a-fA-F0-9]{40}$","description":"Collateral token address. See tokens for valid addresses."},"limit":{"type":"integer","maximum":10000.0,"minimum":1.0,"description":"Limit the number of results.","default":100},"loan_address":{"type":"string","maxLength":240,"pattern":"^0x[a-fA-F0-9]{40}$","description":"Loan token address. See tokens for valid addresses."},"min_tvl_usd":{"type":"integer","minimum":0.0,"description":"Minimum TVL Usd of the lending pool/vault"},"offset":{"type":"integer","maximum":100000000.0,"minimum":0.0,"description":"Offset the results, allows you to skip a number of rows before starting to return rows.","default":0},"order_asc":{"items":{"enum":["chainId","protocolId","marketId","loanAddress","loanSymbol","collateralAddress","collateralSymbol","supplyUsd","borrowUsd","tvlUsd","availableLiquidityUsd","supplyApy","borrowApy","utilizationRate","ltv","updatedAt"]},"type":"array","maxItems":4,"uniqueItems":true,"description":"List of column names to order by in ascending order divided by comma. Leave empty items to combine with descending order"},"order_desc":{"items":{"enum":["chainId","protocolId","marketId","loanAddress","loanSymbol","collateralAddress","collateralSymbol","supplyUsd","borrowUsd","tvlUsd","availableLiquidityUsd","supplyApy","borrowApy","utilizationRate","ltv","updatedAt"]},"type":"array","maxItems":4,"uniqueItems":true,"description":"List of column names to order by in descending order divided by comma. Leave empty items to combine with ascending order"},"protocol_id":{"type":"string","maxLength":240,"description":"Filter by protocol ID. Ex: aave-v3, morpho-v1, morpho-v2, euler-lend, etc."}},"additionalProperties":false,"type":"object","required":[]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"evm_lending_euler_v2_vault_markets"},"arguments":{"properties":{"chain_id":{"type":"integer","enum":[1,8453,42161,4663],"description":"EVM chain ID.","default":8453},"order_asc":{"items":{"enum":["chainId","protocolId","marketId","loanAddress","loanSymbol","collateralAddress","collateralSymbol","supplyApy","borrowApy","utilizationRate","ltv","supplyCapUsd","updatedAt"]},"type":"array","maxItems":4,"uniqueItems":true,"description":"List of column names to order by in ascending order divided by comma. Leave empty items to combine with descending order"},"order_desc":{"items":{"enum":["chainId","protocolId","marketId","loanAddress","loanSymbol","collateralAddress","collateralSymbol","supplyApy","borrowApy","utilizationRate","ltv","supplyCapUsd","updatedAt"]},"type":"array","maxItems":4,"uniqueItems":true,"description":"List of column names to order by in descending order divided by comma. Leave empty items to combine with ascending order"},"vault_address":{"type":"string","maxLength":240,"pattern":"^0x[a-fA-F0-9]{40}$","description":"Euler V2 vault address."}},"additionalProperties":false,"type":"object","required":["vault_address"]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"evm_lending_euler_v2_vaults"},"arguments":{"properties":{"borrowable":{"type":"boolean","description":"If true, only lending vaults with borrowing enabled will be returned"},"chain_id":{"type":"integer","enum":[1,8453,42161,4663],"description":"EVM chain ID.","default":8453},"limit":{"type":"integer","maximum":10000.0,"minimum":1.0,"description":"Limit the number of results.","default":100},"min_tvl_usd":{"type":"integer","minimum":0.0,"description":"Minimum TVL Usd of the lending vault"},"offset":{"type":"integer","maximum":100000000.0,"minimum":0.0,"description":"Offset the results, allows you to skip a number of rows before starting to return rows.","default":0},"order_asc":{"items":{"enum":["chainId","protocolId","vaultAddress","symbol","vaultName","underlyingAddress","underlyingSymbol","supply","supplyUsd","borrow","borrowUsd","tvlUsd","availableLiquidityUsd","supplyCap","supplyCapUsd","borrowCap","borrowCapUsd","remainingCapacityUsd","supplyApy","borrowApy","netSupplyApy","performanceFee","managementFee","utilizationRate","ltv","borrowable","depositEnabled","updatedAt"]},"type":"array","maxItems":4,"uniqueItems":true,"description":"List of column names to order by in ascending order divided by comma. Leave empty items to combine with descending order"},"order_desc":{"items":{"enum":["chainId","protocolId","vaultAddress","symbol","vaultName","underlyingAddress","underlyingSymbol","supply","supplyUsd","borrow","borrowUsd","tvlUsd","availableLiquidityUsd","supplyCap","supplyCapUsd","borrowCap","borrowCapUsd","remainingCapacityUsd","supplyApy","borrowApy","netSupplyApy","performanceFee","managementFee","utilizationRate","ltv","borrowable","depositEnabled","updatedAt"]},"type":"array","maxItems":4,"uniqueItems":true,"description":"List of column names to order by in descending order divided by comma. Leave empty items to combine with ascending order"},"protocol_id":{"type":"string","maxLength":240,"description":"Filter by protocol ID. Ex: aave-v3, morpho-v1, morpho-v2, euler-lend, etc."},"underlying_address":{"type":"string","maxLength":240,"pattern":"^0x[a-fA-F0-9]{40}$","description":"Underlying token address. See tokens for valid addresses."},"vault_address":{"type":"string","maxLength":240,"pattern":"^0x[a-fA-F0-9]{40}$","description":"Euler Lend vault address"}},"additionalProperties":false,"type":"object","required":[]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"evm_lending_morpho_curator_vaults"},"arguments":{"properties":{"chain_id":{"type":"integer","enum":[1,8453,42161,4663],"description":"EVM chain ID.","default":8453},"curator_address":{"type":"string","maxLength":240,"pattern":"^0x[a-fA-F0-9]{40}$","description":"Morpho curator address."},"limit":{"type":"integer","maximum":10000.0,"minimum":1.0,"description":"Limit the number of results.","default":100},"min_tvl_usd":{"type":"integer","minimum":0.0,"description":"Minimum TVL Usd of the lending pool/vault"},"offset":{"type":"integer","maximum":100000000.0,"minimum":0.0,"description":"Offset the results, allows you to skip a number of rows before starting to return rows.","default":0},"order_asc":{"items":{"enum":["chainId","protocolId","curatorAddress","curatorName","poolAddress","symbol","vaultName","underlyingAddress","underlyingSymbol","supply","supplyUsd","borrow","borrowUsd","tvlUsd","availableLiquidityUsd","supplyCap","supplyCapUsd","borrowCap","borrowCapUsd","remainingCapacityUsd","supplyApy","borrowApy","netSupplyApy","performanceFee","managementFee","utilizationRate","ltv","borrowable","depositEnabled","updatedAt"]},"type":"array","maxItems":4,"uniqueItems":true,"description":"List of column names to order by in ascending order divided by comma. Leave empty items to combine with descending order"},"order_desc":{"items":{"enum":["chainId","protocolId","curatorAddress","curatorName","poolAddress","symbol","vaultName","underlyingAddress","underlyingSymbol","supply","supplyUsd","borrow","borrowUsd","tvlUsd","availableLiquidityUsd","supplyCap","supplyCapUsd","borrowCap","borrowCapUsd","remainingCapacityUsd","supplyApy","borrowApy","netSupplyApy","performanceFee","managementFee","utilizationRate","ltv","borrowable","depositEnabled","updatedAt"]},"type":"array","maxItems":4,"uniqueItems":true,"description":"List of column names to order by in descending order divided by comma. Leave empty items to combine with ascending order"},"protocol_id":{"type":"string","maxLength":240,"description":"Filter by protocol ID. Ex: morpho-v1, morpho-v2"},"underlying_address":{"type":"string","maxLength":240,"pattern":"^0x[a-fA-F0-9]{40}$","description":"Underlying token address. See tokens for valid addresses."}},"additionalProperties":false,"type":"object","required":["curator_address"]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"evm_lending_morpho_curators"},"arguments":{"properties":{"chain_id":{"type":"integer","enum":[1,8453,42161,4663],"description":"EVM chain ID.","default":8453},"limit":{"type":"integer","maximum":10000.0,"minimum":1.0,"description":"Limit the number of results.","default":100},"min_tvl_usd":{"type":"integer","minimum":0.0,"description":"Minimum TVL Usd of the lending pool/vault"},"offset":{"type":"integer","maximum":100000000.0,"minimum":0.0,"description":"Offset the results, allows you to skip a number of rows before starting to return rows.","default":0},"order_asc":{"items":{"enum":["chainId","protocolId","curatorAddress","curatorName","totalTvlUsd","vaultCount","verified","updatedAt"]},"type":"array","maxItems":4,"uniqueItems":true,"description":"List of column names to order by in ascending order divided by comma. Leave empty items to combine with descending order"},"order_desc":{"items":{"enum":["chainId","protocolId","curatorAddress","curatorName","totalTvlUsd","vaultCount","verified","updatedAt"]},"type":"array","maxItems":4,"uniqueItems":true,"description":"List of column names to order by in descending order divided by comma. Leave empty items to combine with ascending order"},"protocol_id":{"type":"string","maxLength":240,"description":"Filter by protocol ID. Ex: aave-v3, morpho-v1, morpho-v2, euler-lend, etc."}},"additionalProperties":false,"type":"object","required":[]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"evm_lending_morpho_markets"},"arguments":{"properties":{"chain_id":{"type":"integer","enum":[1,8453,42161,4663],"description":"EVM chain ID.","default":8453},"collateral_address":{"type":"string","maxLength":240,"pattern":"^0x[a-fA-F0-9]{40}$","description":"Collateral token address. See tokens for valid addresses."},"limit":{"type":"integer","maximum":10000.0,"minimum":1.0,"description":"Limit the number of results.","default":100},"loan_address":{"type":"string","maxLength":240,"pattern":"^0x[a-fA-F0-9]{40}$","description":"Loan token address. See tokens for valid addresses."},"min_tvl_usd":{"type":"integer","minimum":0.0,"description":"Minimum TVL Usd of the lending pool/vault"},"offset":{"type":"integer","maximum":100000000.0,"minimum":0.0,"description":"Offset the results, allows you to skip a number of rows before starting to return rows.","default":0},"order_asc":{"items":{"enum":["chainId","protocolId","marketId","loanAddress","loanSymbol","collateralAddress","collateralSymbol","supplyUsd","borrowUsd","tvlUsd","availableLiquidityUsd","supplyApy","borrowApy","utilizationRate","lltv","updatedAt"]},"type":"array","maxItems":4,"uniqueItems":true,"description":"List of column names to order by in ascending order divided by comma. Leave empty items to combine with descending order"},"order_desc":{"items":{"enum":["chainId","protocolId","marketId","loanAddress","loanSymbol","collateralAddress","collateralSymbol","supplyUsd","borrowUsd","tvlUsd","availableLiquidityUsd","supplyApy","borrowApy","utilizationRate","lltv","updatedAt"]},"type":"array","maxItems":4,"uniqueItems":true,"description":"List of column names to order by in descending order divided by comma. Leave empty items to combine with ascending order"},"protocol_id":{"type":"string","maxLength":240,"description":"Filter by protocol ID. Ex: aave-v3, morpho-v1, morpho-v2, euler-lend, etc."}},"additionalProperties":false,"type":"object","required":[]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"evm_lending_morpho_v1_vault_markets"},"arguments":{"properties":{"chain_id":{"type":"integer","enum":[1,8453,42161,4663],"description":"EVM chain ID.","default":8453},"order_asc":{"items":{"enum":["chainId","protocolId","marketId","loanAddress","loanSymbol","collateralAddress","collateralSymbol","supplyApy","borrowApy","utilizationRate","lltv","allocationUsd","allocationShare","supplyCapUsd","updatedAt"]},"type":"array","maxItems":4,"uniqueItems":true,"description":"List of column names to order by in ascending order divided by comma. Leave empty items to combine with descending order"},"order_desc":{"items":{"enum":["chainId","protocolId","marketId","loanAddress","loanSymbol","collateralAddress","collateralSymbol","supplyApy","borrowApy","utilizationRate","lltv","allocationUsd","allocationShare","supplyCapUsd","updatedAt"]},"type":"array","maxItems":4,"uniqueItems":true,"description":"List of column names to order by in descending order divided by comma. Leave empty items to combine with ascending order"},"vault_address":{"type":"string","maxLength":240,"pattern":"^0x[a-fA-F0-9]{40}$","description":"Morpho V1 vault address."}},"additionalProperties":false,"type":"object","required":["vault_address"]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"evm_lending_morpho_v1_vaults"},"arguments":{"properties":{"borrowable":{"type":"boolean","description":"If true, only lending vaults with borrowing enabled will be returned"},"chain_id":{"type":"integer","enum":[1,8453,42161,4663],"description":"EVM chain ID.","default":8453},"limit":{"type":"integer","maximum":10000.0,"minimum":1.0,"description":"Limit the number of results.","default":100},"min_tvl_usd":{"type":"integer","minimum":0.0,"description":"Minimum TVL Usd of the lending vault"},"offset":{"type":"integer","maximum":100000000.0,"minimum":0.0,"description":"Offset the results, allows you to skip a number of rows before starting to return rows.","default":0},"order_asc":{"items":{"enum":["chainId","protocolId","vaultAddress","symbol","vaultName","underlyingAddress","underlyingSymbol","supply","supplyUsd","borrow","borrowUsd","tvlUsd","availableLiquidityUsd","supplyCap","supplyCapUsd","borrowCap","borrowCapUsd","remainingCapacityUsd","supplyApy","borrowApy","netSupplyApy","performanceFee","managementFee","utilizationRate","ltv","borrowable","depositEnabled","updatedAt"]},"type":"array","maxItems":4,"uniqueItems":true,"description":"List of column names to order by in ascending order divided by comma. Leave empty items to combine with descending order"},"order_desc":{"items":{"enum":["chainId","protocolId","vaultAddress","symbol","vaultName","underlyingAddress","underlyingSymbol","supply","supplyUsd","borrow","borrowUsd","tvlUsd","availableLiquidityUsd","supplyCap","supplyCapUsd","borrowCap","borrowCapUsd","remainingCapacityUsd","supplyApy","borrowApy","netSupplyApy","performanceFee","managementFee","utilizationRate","ltv","borrowable","depositEnabled","updatedAt"]},"type":"array","maxItems":4,"uniqueItems":true,"description":"List of column names to order by in descending order divided by comma. Leave empty items to combine with ascending order"},"protocol_id":{"type":"string","maxLength":240,"description":"Filter by protocol ID. Ex: aave-v3, morpho-v1, morpho-v2, euler-lend, etc."},"underlying_address":{"type":"string","maxLength":240,"pattern":"^0x[a-fA-F0-9]{40}$","description":"Underlying token address. See tokens for valid addresses."},"vault_address":{"type":"string","maxLength":240,"pattern":"^0x[a-fA-F0-9]{40}$","description":"Morpho V1 vault address"}},"additionalProperties":false,"type":"object","required":[]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"evm_lending_morpho_v2_vault_markets"},"arguments":{"properties":{"chain_id":{"type":"integer","enum":[1,8453,42161,4663],"description":"EVM chain ID.","default":8453},"order_asc":{"items":{"enum":["chainId","protocolId","marketId","loanAddress","loanSymbol","collateralAddress","collateralSymbol","supplyApy","borrowApy","utilizationRate","lltv","allocationUsd","allocationShare","updatedAt"]},"type":"array","maxItems":4,"uniqueItems":true,"description":"List of column names to order by in ascending order divided by comma. Leave empty items to combine with descending order"},"order_desc":{"items":{"enum":["chainId","protocolId","marketId","loanAddress","loanSymbol","collateralAddress","collateralSymbol","supplyApy","borrowApy","utilizationRate","lltv","allocationUsd","allocationShare","updatedAt"]},"type":"array","maxItems":4,"uniqueItems":true,"description":"List of column names to order by in descending order divided by comma. Leave empty items to combine with ascending order"},"vault_address":{"type":"string","maxLength":240,"pattern":"^0x[a-fA-F0-9]{40}$","description":"Morpho V2 vault address."}},"additionalProperties":false,"type":"object","required":["vault_address"]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"evm_lending_morpho_v2_vaults"},"arguments":{"properties":{"borrowable":{"type":"boolean","description":"If true, only lending vaults with borrowing enabled will be returned"},"chain_id":{"type":"integer","enum":[1,8453,42161,4663],"description":"EVM chain ID.","default":8453},"limit":{"type":"integer","maximum":10000.0,"minimum":1.0,"description":"Limit the number of results.","default":100},"min_tvl_usd":{"type":"integer","minimum":0.0,"description":"Minimum TVL Usd of the lending vault"},"offset":{"type":"integer","maximum":100000000.0,"minimum":0.0,"description":"Offset the results, allows you to skip a number of rows before starting to return rows.","default":0},"order_asc":{"items":{"enum":["chainId","protocolId","vaultAddress","symbol","vaultName","underlyingAddress","underlyingSymbol","supply","supplyUsd","borrow","borrowUsd","tvlUsd","availableLiquidityUsd","supplyCap","supplyCapUsd","borrowCap","borrowCapUsd","remainingCapacityUsd","supplyApy","borrowApy","netSupplyApy","performanceFee","managementFee","utilizationRate","ltv","borrowable","depositEnabled","updatedAt"]},"type":"array","maxItems":4,"uniqueItems":true,"description":"List of column names to order by in ascending order divided by comma. Leave empty items to combine with descending order"},"order_desc":{"items":{"enum":["chainId","protocolId","vaultAddress","symbol","vaultName","underlyingAddress","underlyingSymbol","supply","supplyUsd","borrow","borrowUsd","tvlUsd","availableLiquidityUsd","supplyCap","supplyCapUsd","borrowCap","borrowCapUsd","remainingCapacityUsd","supplyApy","borrowApy","netSupplyApy","performanceFee","managementFee","utilizationRate","ltv","borrowable","depositEnabled","updatedAt"]},"type":"array","maxItems":4,"uniqueItems":true,"description":"List of column names to order by in descending order divided by comma. Leave empty items to combine with ascending order"},"protocol_id":{"type":"string","maxLength":240,"description":"Filter by protocol ID. Ex: aave-v3, morpho-v1, morpho-v2, euler-lend, etc."},"underlying_address":{"type":"string","maxLength":240,"pattern":"^0x[a-fA-F0-9]{40}$","description":"Underlying token address. See tokens for valid addresses."},"vault_address":{"type":"string","maxLength":240,"pattern":"^0x[a-fA-F0-9]{40}$","description":"Morpho V2 vault address"}},"additionalProperties":false,"type":"object","required":[]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"evm_lending_overview"},"arguments":{"properties":{"address":{"type":"string","maxLength":240,"pattern":"^0x[a-fA-F0-9]{40}$","description":"Address of the lending pool / vault"},"borrowable":{"type":"boolean","description":"If true, only lending pools/vaults with borrowing enabled will be returned"},"chain_id":{"type":"integer","enum":[1,8453,42161,4663],"description":"EVM chain ID.","default":8453},"limit":{"type":"integer","maximum":10000.0,"minimum":1.0,"description":"Limit the number of results.","default":100},"min_tvl_usd":{"type":"integer","minimum":0.0,"description":"Minimum TVL USD of the lending pool/vault"},"offset":{"type":"integer","maximum":100000000.0,"minimum":0.0,"description":"Offset the results, allows you to skip a number of rows before starting to return rows.","default":0},"order_asc":{"items":{"enum":["chainId","protocolId","address","symbol","vaultName","underlyingAddress","underlyingSymbol","supply","supplyUsd","borrow","borrowUsd","tvlUsd","availableLiquidityUsd","supplyCap","supplyCapUsd","borrowCap","borrowCapUsd","remainingCapacityUsd","supplyApy","borrowApy","netSupplyApy","performanceFee","managementFee","utilizationRate","ltv","borrowable","depositEnabled","updatedAt"]},"type":"array","maxItems":4,"uniqueItems":true,"description":"List of column names to order by in ascending order divided by comma. Leave empty items to combine with descending order"},"order_desc":{"items":{"enum":["chainId","protocolId","address","symbol","vaultName","underlyingAddress","underlyingSymbol","supply","supplyUsd","borrow","borrowUsd","tvlUsd","availableLiquidityUsd","supplyCap","supplyCapUsd","borrowCap","borrowCapUsd","remainingCapacityUsd","supplyApy","borrowApy","netSupplyApy","performanceFee","managementFee","utilizationRate","ltv","borrowable","depositEnabled","updatedAt"]},"type":"array","maxItems":4,"uniqueItems":true,"description":"List of column names to order by in descending order divided by comma. Leave empty items to combine with ascending order"},"protocol_id":{"type":"string","maxLength":240,"description":"Filter by protocol ID. Ex: aave-v3, morpho-v1, morpho-v2, euler-lend, etc."},"underlying_address":{"type":"string","maxLength":240,"pattern":"^0x[a-fA-F0-9]{40}$","description":"Underlying token address. See tokens for valid addresses."}},"additionalProperties":false,"type":"object","required":[]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"evm_lending_protocols"},"arguments":{"properties":{"chain_id":{"type":"integer","enum":[1,8453,42161,4663],"description":"EVM chain ID.","default":8453},"limit":{"type":"integer","maximum":10000.0,"minimum":1.0,"description":"Limit the number of results.","default":100},"offset":{"type":"integer","maximum":100000000.0,"minimum":0.0,"description":"Offset the results, allows you to skip a number of rows before starting to return rows.","default":0},"order_asc":{"items":{"enum":["chainId","protocolId","protocolName","poolCount"]},"type":"array","maxItems":4,"uniqueItems":true,"description":"List of column names to order by in ascending order divided by comma. Leave empty items to combine with descending order"},"order_desc":{"items":{"enum":["chainId","protocolId","protocolName","poolCount"]},"type":"array","maxItems":4,"uniqueItems":true,"description":"List of column names to order by in descending order divided by comma. Leave empty items to combine with ascending order"}},"additionalProperties":false,"type":"object","required":[]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"evm_lending_sky_vaults"},"arguments":{"properties":{"chain_id":{"type":"integer","enum":[1],"description":"EVM chain ID.","default":1},"limit":{"type":"integer","maximum":10000.0,"minimum":1.0,"description":"Limit the number of results.","default":100},"min_tvl_usd":{"type":"integer","minimum":0.0,"description":"Minimum TVL Usd of the lending pool/vault"},"offset":{"type":"integer","maximum":100000000.0,"minimum":0.0,"description":"Offset the results, allows you to skip a number of rows before starting to return rows.","default":0},"order_asc":{"items":{"enum":["chainId","protocolId","poolAddress","symbol","vaultName","underlyingAddress","underlyingSymbol","supply","supplyUsd","borrow","borrowUsd","tvlUsd","availableLiquidityUsd","supplyCap","supplyCapUsd","borrowCap","borrowCapUsd","remainingCapacityUsd","supplyApy","borrowApy","netSupplyApy","performanceFee","managementFee","utilizationRate","ltv","borrowable","depositEnabled","updatedAt"]},"type":"array","maxItems":4,"uniqueItems":true,"description":"List of column names to order by in ascending order divided by comma. Leave empty items to combine with descending order"},"order_desc":{"items":{"enum":["chainId","protocolId","poolAddress","symbol","vaultName","underlyingAddress","underlyingSymbol","supply","supplyUsd","borrow","borrowUsd","tvlUsd","availableLiquidityUsd","supplyCap","supplyCapUsd","borrowCap","borrowCapUsd","remainingCapacityUsd","supplyApy","borrowApy","netSupplyApy","performanceFee","managementFee","utilizationRate","ltv","borrowable","depositEnabled","updatedAt"]},"type":"array","maxItems":4,"uniqueItems":true,"description":"List of column names to order by in descending order divided by comma. Leave empty items to combine with ascending order"},"underlying_address":{"type":"string","maxLength":240,"pattern":"^0x[a-fA-F0-9]{40}$","description":"Underlying token address. See tokens for valid addresses."},"vault_address":{"type":"string","maxLength":240,"pattern":"^0x[a-fA-F0-9]{40}$","description":"Sky vault address"}},"additionalProperties":false,"type":"object","required":[]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"evm_lending_sparklend_pools"},"arguments":{"properties":{"borrowable":{"type":"boolean","description":"If true, only lending pools/vaults with borrowing enabled will be returned"},"chain_id":{"type":"integer","enum":[1],"description":"EVM chain ID.","default":1},"limit":{"type":"integer","maximum":10000.0,"minimum":1.0,"description":"Limit the number of results.","default":100},"min_tvl_usd":{"type":"integer","minimum":0.0,"description":"Minimum TVL Usd of the lending pool/vault"},"offset":{"type":"integer","maximum":100000000.0,"minimum":0.0,"description":"Offset the results, allows you to skip a number of rows before starting to return rows.","default":0},"order_asc":{"items":{"enum":["chainId","protocolId","poolAddress","symbol","vaultName","underlyingAddress","underlyingSymbol","supply","supplyUsd","borrow","borrowUsd","tvlUsd","availableLiquidityUsd","supplyCap","supplyCapUsd","borrowCap","borrowCapUsd","remainingCapacityUsd","supplyApy","borrowApy","netSupplyApy","performanceFee","managementFee","utilizationRate","ltv","borrowable","depositEnabled","updatedAt"]},"type":"array","maxItems":4,"uniqueItems":true,"description":"List of column names to order by in ascending order divided by comma. Leave empty items to combine with descending order"},"order_desc":{"items":{"enum":["chainId","protocolId","poolAddress","symbol","vaultName","underlyingAddress","underlyingSymbol","supply","supplyUsd","borrow","borrowUsd","tvlUsd","availableLiquidityUsd","supplyCap","supplyCapUsd","borrowCap","borrowCapUsd","remainingCapacityUsd","supplyApy","borrowApy","netSupplyApy","performanceFee","managementFee","utilizationRate","ltv","borrowable","depositEnabled","updatedAt"]},"type":"array","maxItems":4,"uniqueItems":true,"description":"List of column names to order by in descending order divided by comma. Leave empty items to combine with ascending order"},"pool_address":{"type":"string","maxLength":240,"pattern":"^0x[a-fA-F0-9]{40}$","description":"Sparklend pool address"},"underlying_address":{"type":"string","maxLength":240,"pattern":"^0x[a-fA-F0-9]{40}$","description":"Underlying token address. See tokens for valid addresses."}},"additionalProperties":false,"type":"object","required":[]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]}]}},"additionalProperties":false,"type":"object","required":["query"]}}},{"properties":{"source":{"const":"cambrian_evm_portfolio"},"request":{"properties":{"query":{"oneOf":[{"properties":{"operation":{"type":"string","const":"evm_tvl_status"},"arguments":{"properties":{"chain_id":{"type":"integer","enum":[1,8453,42161,4663],"description":"EVM chain ID.","default":8453},"hasprice":{"type":"boolean","description":"If true, only tokens with a USD price will be returned","default":false},"limit":{"type":"integer","maximum":10000.0,"minimum":1.0,"description":"Limit the number of results.","default":1000},"offset":{"type":"integer","maximum":100000000.0,"minimum":0.0,"description":"Offset the results, allows you to skip a number of rows before starting to return rows.","default":0},"wallet_address":{"type":"string","maxLength":240,"pattern":"^0x[a-fA-F0-9]{40}$","description":"Address that hold tokens prefixed with 0x"}},"additionalProperties":false,"type":"object","required":["wallet_address"]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]},{"properties":{"operation":{"type":"string","const":"evm_tvl_top_owners"},"arguments":{"properties":{"chain_id":{"type":"integer","enum":[1,8453,42161,4663],"description":"EVM chain ID.","default":8453},"limit":{"type":"integer","maximum":10000.0,"minimum":1.0,"description":"Limit the number of results.","default":20},"offset":{"type":"integer","maximum":100000000.0,"minimum":0.0,"description":"Offset the results, allows you to skip a number of rows before starting to return rows.","default":0},"token_address":{"type":"string","maxLength":240,"pattern":"^0x[a-fA-F0-9]{40}$","description":"token address"}},"additionalProperties":false,"type":"object","required":["token_address"]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]}]}},"additionalProperties":false,"type":"object","required":["query"]}}},{"properties":{"source":{"const":"cambrian_social"},"request":{"properties":{"query":{"oneOf":[{"properties":{"operation":{"type":"string","const":"social"},"arguments":{"properties":{"operation":{"type":"string","enum":["token_analysis","trending_momentum","sentiment_shifts","alpha_tweets","influencer_credibility"]},"token_symbol":{"type":"string","maxLength":20,"minLength":1,"description":"Crypto ticker such as HYPE, SOL, BTC or ETH. Required for token_analysis and optional as a filter elsewhere."},"days_back":{"type":"integer","maximum":730.0,"minimum":1.0,"default":7},"granularity":{"type":"string","pattern":"^(total|[1-9][0-9]*[hd])$","default":"total"},"lookback_hours":{"type":"integer","maximum":168.0,"minimum":1.0,"default":24},"comparison_period":{"type":"string","enum":["24h","3d","7d"],"default":"3d"},"limit":{"type":"integer","maximum":100.0,"minimum":1.0,"default":20},"min_velocity":{"type":"number","minimum":0.0,"default":0.3},"min_tweets":{"type":"integer","maximum":100.0,"minimum":1.0,"default":5},"sort_by":{"type":"string","enum":["return_vs_bitcoin","win_rate_vs_bitcoin","conservative_accuracy","tweets","engagement","reach","alpha","accuracy"],"default":"return_vs_bitcoin"},"time_window":{"type":"string","pattern":"^[1-9][0-9]*[hd]$"}},"additionalProperties":false,"type":"object","required":["operation"]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]}]}},"additionalProperties":false,"type":"object","required":["query"]}}},{"properties":{"source":{"const":"cambrian_risk"},"request":{"properties":{"query":{"oneOf":[{"properties":{"operation":{"type":"string","const":"perp_risk"},"arguments":{"properties":{"token_address":{"type":"string","maxLength":44,"minLength":32},"entry_price":{"type":"number","exclusiveMinimum":0.0},"leverage":{"type":"number","maximum":1000.0,"exclusiveMinimum":0.0},"direction":{"type":"string","enum":["long","short"]},"risk_horizon":{"type":"string","enum":["1h","1d","1w","1mo"]}},"additionalProperties":false,"type":"object","required":["token_address","entry_price","leverage","direction","risk_horizon"]}},"additionalProperties":false,"type":"object","required":["operation","arguments"]}]}},"additionalProperties":false,"type":"object","required":["query"]}}}],"properties":{"action":{"type":"string","const":"import_provider"},"source":{"type":"string","enum":["macro","truflation","truf","market_search","market_history","cot_positioning","positioning_snapshot","futures_curves","volatility_snapshot","smart_money","asset_quote","earnings_snapshot","live_calendar","earnings_event_study","usda","fred_extended","eia_gas_storage","fmp_prices","fmp_discovery","fmp_fundamentals","fmp_earnings","fmp_valuation","fmp_disclosures","fmp_holdings","fmp_market_history","fmp_positioning","fmp_technical","portwatch","nasa_firms","defillama","cambrian_solana_market","cambrian_solana_liquidity","cambrian_solana_ownership","cambrian_solana_activity","cambrian_evm_liquidity","cambrian_evm_market","cambrian_evm_lending","cambrian_evm_portfolio","cambrian_social","cambrian_risk"]},"request":{"type":"object"}},"additionalProperties":false,"type":"object","required":["action","source","request"]},"ImportSeries":{"properties":{"action":{"type":"string","const":"import_series","title":"Action"},"source":{"type":"string","enum":["fred","eia","treasury","truflation"],"title":"Source"},"metadata_revision":{"anyOf":[{"type":"string","pattern":"^[a-f0-9]{64}$"},{"type":"null"}],"title":"Metadata Revision"},"series":{"type":"string","maxLength":40,"minLength":1,"title":"Series"},"start_date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","format":"date","title":"Start Date"},"end_date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","format":"date","title":"End Date"}},"additionalProperties":false,"type":"object","required":["action","source","series","start_date","end_date"],"title":"ImportSeries"},"InspectTables":{"properties":{"artifact_id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9_.:-]{0,239}$","title":"Artifact Id"},"version":{"type":"integer","minimum":1.0,"title":"Version"},"table_indexes":{"items":{"type":"integer"},"type":"array","maxItems":10,"title":"Table Indexes","default":[]},"page_start":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Page Start"},"page_end":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Page End"},"action":{"type":"string","const":"tables","title":"Action"}},"additionalProperties":false,"type":"object","required":["artifact_id","version","action"],"title":"InspectTables"},"InteractiveBlock":{"properties":{"block_id":{"type":"string","maxLength":120,"minLength":1,"title":"Block Id"},"block_kind":{"$ref":"#/components/schemas/InteractiveBlockKind"},"view_id":{"type":"string","maxLength":80,"minLength":1,"title":"View Id"},"view_label":{"type":"string","maxLength":120,"minLength":1,"title":"View Label"},"title":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Title"},"content":{"type":"string","maxLength":12000,"title":"Content","default":""},"data":{"additionalProperties":{"$ref":"#/components/schemas/JsonValue"},"type":"object","title":"Data"},"layout":{"$ref":"#/components/schemas/InteractiveBlockLayout"},"evidence_refs":{"items":{"type":"string"},"type":"array","maxItems":30,"title":"Evidence Refs","default":[]},"workspace_artifact_refs":{"items":{"type":"string"},"type":"array","maxItems":20,"title":"Workspace Artifact Refs","default":[]},"review_required":{"type":"boolean","title":"Review Required","default":false},"review_reason":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Review Reason"},"stale":{"type":"boolean","title":"Stale","default":false},"stale_reason":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Stale Reason"},"validation_state":{"$ref":"#/components/schemas/DeliverableValidationStatus"},"validation_notes":{"items":{"type":"string"},"type":"array","maxItems":20,"title":"Validation Notes","default":[]},"app":{"anyOf":[{"$ref":"#/components/schemas/ArtifactAppContent"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["block_id","block_kind","view_id","view_label","validation_state"],"title":"InteractiveBlock"},"InteractiveBlockEmphasis":{"type":"string","enum":["standard","primary","quiet"],"title":"InteractiveBlockEmphasis"},"InteractiveBlockHeight":{"type":"string","enum":["auto","short","medium","tall"],"title":"InteractiveBlockHeight"},"InteractiveBlockInput":{"properties":{"app":{"anyOf":[{"$ref":"#/components/schemas/ArtifactAppSource"},{"type":"null"}]},"view_id":{"type":"string","maxLength":80,"minLength":1,"title":"View Id"},"view_label":{"type":"string","maxLength":120,"minLength":1,"title":"View Label"},"block_id":{"type":"string","maxLength":120,"minLength":1,"title":"Block Id"},"block_kind":{"$ref":"#/components/schemas/InteractiveBlockKind"},"title":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Title"},"content":{"type":"string","maxLength":12000,"title":"Content","default":""},"data":{"additionalProperties":{"$ref":"#/components/schemas/JsonValue"},"type":"object","title":"Data"},"layout":{"$ref":"#/components/schemas/InteractiveBlockLayout"},"evidence_refs":{"items":{"type":"string"},"type":"array","maxItems":30,"title":"Evidence Refs","default":[]},"workspace_artifact_refs":{"items":{"type":"string"},"type":"array","maxItems":20,"title":"Workspace Artifact Refs","default":[]},"review_required":{"type":"boolean","title":"Review Required","default":false},"review_reason":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Review Reason"},"stale":{"type":"boolean","title":"Stale","default":false},"stale_reason":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Stale Reason"}},"additionalProperties":false,"type":"object","required":["view_id","view_label","block_id","block_kind"],"title":"InteractiveBlockInput"},"InteractiveBlockKind":{"type":"string","enum":["app","prose","metric","metric_grid","table","chart","openui","map","media","debate","timeline","source_list"],"title":"InteractiveBlockKind"},"InteractiveBlockLayout":{"properties":{"span":{"type":"integer","maximum":12.0,"minimum":3.0,"title":"Span","default":12},"emphasis":{"$ref":"#/components/schemas/InteractiveBlockEmphasis","default":"standard"},"height":{"$ref":"#/components/schemas/InteractiveBlockHeight","default":"auto"}},"additionalProperties":false,"type":"object","title":"InteractiveBlockLayout","description":"Bounded responsive layout hints for the universal artifact canvas."},"InteractiveEditKind":{"type":"string","enum":["patch_app","replace","insert_after","delete","move_after","mark_stale"],"title":"InteractiveEditKind"},"InteractiveEditOperation":{"properties":{"operation":{"$ref":"#/components/schemas/InteractiveEditKind"},"block_id":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Block Id"},"after_block_id":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"After Block Id"},"block":{"anyOf":[{"$ref":"#/components/schemas/InteractiveBlockInput"},{"type":"null"}]},"stale_reason":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Stale Reason"},"source_edits":{"items":{"$ref":"#/components/schemas/AppSourceEdit"},"type":"array","maxItems":30,"title":"Source Edits","default":[]}},"additionalProperties":false,"type":"object","required":["operation"],"title":"InteractiveEditOperation","description":"One bounded mutation against an opened interactive-artifact version."},"InteractiveMetadata":{"properties":{"parent_version":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Parent Version"},"revision_kind":{"$ref":"#/components/schemas/WorkspaceRevisionKind"},"schema_version":{"type":"string","title":"Schema Version"},"artifact_family":{"type":"string","title":"Artifact Family"},"status":{"$ref":"#/components/schemas/WorkspaceDeliverableStatus"},"authoring_state":{"anyOf":[{"type":"string","enum":["working","complete"]},{"type":"null"}],"title":"Authoring State"},"authoring_note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authoring Note"},"last_completed_version":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Last Completed Version"},"view_ids":{"items":{"type":"string"},"type":"array","title":"View Ids"},"rerun_capable":{"type":"boolean","title":"Rerun Capable"}},"additionalProperties":false,"type":"object","required":["revision_kind","schema_version","artifact_family","status","view_ids","rerun_capable"],"title":"InteractiveMetadata"},"JsonValue":{},"MemoryCreate":{"properties":{"explicit_user_request":{"type":"boolean","const":true,"title":"Explicit User Request"},"title":{"type":"string","maxLength":160,"minLength":1,"title":"Title"},"summary":{"type":"string","maxLength":600,"minLength":1,"title":"Summary"},"content":{"type":"string","maxLength":4000,"minLength":1,"title":"Content"},"tags":{"items":{"type":"string"},"type":"array","maxItems":20,"title":"Tags","default":[]},"kind":{"type":"string","enum":["user_preference","feedback","reference"],"title":"Kind"},"expires_in_days":{"anyOf":[{"type":"integer","maximum":3650.0,"minimum":1.0},{"type":"null"}],"title":"Expires In Days"}},"additionalProperties":false,"type":"object","required":["explicit_user_request","title","summary","content","kind"],"title":"MemoryCreate"},"MemoryDelete":{"properties":{"explicit_user_request":{"type":"boolean","const":true,"title":"Explicit User Request"},"expected_revision":{"type":"integer","minimum":1.0,"title":"Expected Revision"}},"additionalProperties":false,"type":"object","required":["explicit_user_request","expected_revision"],"title":"MemoryDelete"},"MemoryDeleted":{"properties":{"memory_id":{"type":"string","pattern":"^mem_[a-f0-9]{32}$","title":"Memory Id"},"revision":{"type":"integer","title":"Revision"},"status":{"type":"string","const":"deleted","title":"Status","default":"deleted"}},"additionalProperties":false,"type":"object","required":["memory_id","revision"],"title":"MemoryDeleted"},"MemoryDescriptor":{"properties":{"memory_id":{"type":"string","pattern":"^mem_[a-f0-9]{32}$","title":"Memory Id"},"revision":{"type":"integer","minimum":1.0,"title":"Revision"},"scope":{"$ref":"#/components/schemas/MemoryScope"},"kind":{"$ref":"#/components/schemas/MemoryKind"},"title":{"type":"string","maxLength":160,"minLength":1,"title":"Title"},"summary":{"type":"string","maxLength":600,"minLength":1,"title":"Summary"},"tags":{"items":{"type":"string"},"type":"array","maxItems":20,"title":"Tags","default":[]},"observed_at":{"type":"string","format":"date-time","title":"Observed At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"}},"additionalProperties":false,"type":"object","required":["memory_id","revision","scope","kind","title","summary","observed_at","updated_at"],"title":"MemoryDescriptor","description":"Bounded manifest entry safe to place in a model prompt/checkpoint."},"MemoryEdit":{"properties":{"explicit_user_request":{"type":"boolean","const":true,"title":"Explicit User Request"},"title":{"type":"string","maxLength":160,"minLength":1,"title":"Title"},"summary":{"type":"string","maxLength":600,"minLength":1,"title":"Summary"},"content":{"type":"string","maxLength":4000,"minLength":1,"title":"Content"},"tags":{"items":{"type":"string"},"type":"array","maxItems":20,"title":"Tags","default":[]},"expected_revision":{"type":"integer","minimum":1.0,"title":"Expected Revision"}},"additionalProperties":false,"type":"object","required":["explicit_user_request","title","summary","content","expected_revision"],"title":"MemoryEdit"},"MemoryKind":{"type":"string","enum":["user_preference","feedback","session_decision","session_entity","session_context","reference"],"title":"MemoryKind"},"MemoryPage":{"properties":{"items":{"items":{"$ref":"#/components/schemas/MemoryDescriptor"},"type":"array","title":"Items"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"}},"additionalProperties":false,"type":"object","required":["items","next_cursor"],"title":"MemoryPage"},"MemoryScope":{"type":"string","enum":["session","user","agent"],"title":"MemoryScope"},"MemoryView":{"properties":{"descriptor":{"$ref":"#/components/schemas/MemoryDescriptor"},"content":{"type":"string","title":"Content"},"provenance_source":{"type":"string","enum":["model_session_memory","user_explicit","api"],"title":"Provenance Source"}},"additionalProperties":false,"type":"object","required":["descriptor","content","provenance_source"],"title":"MemoryView"},"MetricPolarity":{"type":"string","enum":["higher_is_better","lower_is_better"],"title":"MetricPolarity"},"MetricVerdict":{"type":"string","enum":["pass","fail","not_applicable","not_evaluated"],"title":"MetricVerdict"},"OperationAlert":{"properties":{"operation_id":{"type":"string","pattern":"^[a-f0-9]{32}$","title":"Operation Id"},"status":{"$ref":"#/components/schemas/OperationStatus"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"action":{"type":"string","enum":["answer_or_skip_questions","inspect_status","review_partial_result","contact_support","review_failure"],"title":"Action"}},"additionalProperties":false,"type":"object","required":["operation_id","status","updated_at","action"],"title":"OperationAlert"},"OperationPage":{"properties":{"items":{"items":{"$ref":"#/components/schemas/OperationSummary"},"type":"array","title":"Items"},"next_cursor":{"anyOf":[{"type":"string","pattern":"^[a-f0-9]{32}$"},{"type":"null"}],"title":"Next Cursor"}},"additionalProperties":false,"type":"object","required":["items"],"title":"OperationPage"},"OperationProblem":{"properties":{"code":{"type":"string","enum":["operation_failed","outcome_unconfirmed","billing_unavailable","billing_settlement_pending","billing_period_refresh_failed","billing_denied"],"title":"Code"},"message":{"type":"string","title":"Message"}},"additionalProperties":false,"type":"object","required":["code","message"],"title":"OperationProblem"},"OperationStatus":{"type":"string","enum":["queued","running","waiting_user","paused","completed","partial","failed","cancelled","indeterminate"],"title":"OperationStatus"},"OperationSummary":{"properties":{"operation_id":{"type":"string","pattern":"^[a-f0-9]{32}$","title":"Operation Id"},"capability_ref":{"anyOf":[{"type":"string","pattern":"^[a-z][a-z0-9_.]{0,99}@[1-9][0-9]{0,3}$"},{"type":"null"}],"title":"Capability Ref"},"status":{"$ref":"#/components/schemas/OperationStatus"},"cancellation_requested":{"type":"boolean","title":"Cancellation Requested"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"additionalProperties":false,"type":"object","required":["operation_id","capability_ref","status","cancellation_requested","created_at","updated_at"],"title":"OperationSummary"},"OperationUsage":{"properties":{"operation_id":{"type":"string","maxLength":256,"minLength":1,"pattern":"^[A-Za-z0-9_.:@/-]+$","title":"Operation Id"},"pricing_policy_id":{"type":"string","maxLength":256,"minLength":1,"pattern":"^[A-Za-z0-9_.:@/-]+$","title":"Pricing Policy Id"},"unit":{"type":"string","const":"credits","title":"Unit","default":"credits"},"maximum_credits":{"type":"integer","title":"Maximum Credits"},"reserved_credits":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Reserved Credits"},"settled_credits":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Settled Credits"}},"additionalProperties":false,"type":"object","required":["operation_id","pricing_policy_id","maximum_credits"],"title":"OperationUsage"},"OperationView":{"properties":{"operation_id":{"type":"string","maxLength":256,"minLength":1,"pattern":"^[A-Za-z0-9_.:@/-]+$","title":"Operation Id"},"capability_ref":{"type":"string","pattern":"^[a-z][a-z0-9_.]{0,99}@[1-9][0-9]{0,3}$","title":"Capability Ref"},"status":{"$ref":"#/components/schemas/OperationStatus"},"cancellation_requested":{"type":"boolean","title":"Cancellation Requested"},"result":{"anyOf":[{"$ref":"#/components/schemas/ResourceRef"},{"type":"null"}]},"problem":{"anyOf":[{"$ref":"#/components/schemas/OperationProblem"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["operation_id","capability_ref","status","cancellation_requested"],"title":"OperationView"},"OriginalFile":{"properties":{"filename":{"type":"string","title":"Filename"},"content_type":{"type":"string","title":"Content Type"},"byte_count":{"type":"integer","title":"Byte Count"}},"additionalProperties":false,"type":"object","required":["filename","content_type","byte_count"],"title":"OriginalFile"},"PendingUserInteraction":{"properties":{"interaction_id":{"type":"string","pattern":"^[A-Za-z0-9_.:-]{1,160}$","title":"Interaction Id"},"invocation_id":{"type":"string","pattern":"^[A-Za-z0-9_.:-]{1,256}$","title":"Invocation Id"},"questions":{"items":{"$ref":"#/components/schemas/UserQuestion"},"type":"array","maxItems":4,"minItems":1,"title":"Questions"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"additionalProperties":false,"type":"object","required":["interaction_id","invocation_id","questions"],"title":"PendingUserInteraction","description":"Checkpointed wait state tied to one exact tool invocation."},"ProgramProgress":{"properties":{"total_steps":{"type":"integer","maximum":12.0,"minimum":1.0,"title":"Total Steps"},"completed_steps":{"type":"integer","maximum":12.0,"minimum":0.0,"title":"Completed Steps"},"steps":{"items":{"$ref":"#/components/schemas/StepProgress"},"type":"array","maxItems":12,"title":"Steps"}},"additionalProperties":false,"type":"object","required":["total_steps","completed_steps","steps"],"title":"ProgramProgress"},"ProgramSubmission":{"properties":{"code":{"type":"string","maxLength":12000,"minLength":1,"title":"Code"},"tools":{"patternProperties":{"^[a-z][a-z0-9_]{0,63}$":{"type":"string","pattern":"^[a-z][a-z0-9_.]{0,99}@[1-9][0-9]{0,3}$"}},"type":"object","maxProperties":24,"minProperties":1,"title":"Tools"},"maximum_calls":{"type":"integer","maximum":24.0,"minimum":1.0,"title":"Maximum Calls","default":24},"connections":{"patternProperties":{"^[a-z][a-z0-9_]{0,63}$":{"$ref":"#/components/schemas/AccountScope"}},"type":"object","maxProperties":24,"title":"Connections"}},"additionalProperties":false,"type":"object","required":["code","tools"],"title":"ProgramSubmission"},"ProgramWorkflow":{"properties":{"workflow_ref":{"type":"string","const":"programs.run@1","title":"Workflow Ref","default":"programs.run@1"},"description":{"type":"string","title":"Description"},"limitations":{"items":{"type":"string"},"type":"array","title":"Limitations"},"required_scopes":{"items":{"$ref":"#/components/schemas/Scope"},"type":"array","title":"Required Scopes","default":["programs:run","results:read"]},"submit_method":{"type":"string","const":"POST","title":"Submit Method","default":"POST"},"idempotency_header":{"type":"string","const":"Idempotency-Key","title":"Idempotency Header","default":"Idempotency-Key"},"submit_path":{"type":"string","title":"Submit Path","default":"/v1/programs"},"status_path":{"type":"string","title":"Status Path","default":"/v1/operations/{operation_id}"},"result_path":{"type":"string","title":"Result Path","default":"/v1/operations/{operation_id}/result"},"usage_path":{"type":"string","title":"Usage Path","default":"/v1/operations/{operation_id}/usage"},"cancel_path":{"type":"string","title":"Cancel Path","default":"/v1/operations/{operation_id}/cancel"},"submission_schema":{"additionalProperties":{"$ref":"#/components/schemas/JsonValue"},"type":"object","title":"Submission Schema"},"tool_capabilities":{"items":{"type":"string","pattern":"^[a-z][a-z0-9_.]{0,99}@[1-9][0-9]{0,3}$"},"type":"array","title":"Tool Capabilities"},"maximum_credits":{"type":"integer","title":"Maximum Credits"},"pricing":{"type":"string","const":"sum_of_successful_pinned_direct_calls","title":"Pricing","default":"sum_of_successful_pinned_direct_calls"}},"additionalProperties":false,"type":"object","required":["description","limitations","submission_schema","tool_capabilities","maximum_credits"],"title":"ProgramWorkflow"},"PromptReference":{"properties":{"id":{"type":"string","maxLength":240,"minLength":1,"title":"Id"},"kind":{"type":"string","enum":["skill","artifact","file","topic","data","app","quote","agent","chat"],"title":"Kind"},"label":{"type":"string","maxLength":180,"minLength":1,"title":"Label"},"start":{"type":"integer","maximum":40000.0,"minimum":0.0,"title":"Start"},"end":{"type":"integer","maximum":40000.0,"minimum":1.0,"title":"End"},"capabilityRef":{"anyOf":[{"type":"string","maxLength":240},{"type":"null"}],"title":"Capabilityref"},"agentAppearance":{"anyOf":[{"$ref":"#/components/schemas/AgentAppearance"},{"type":"null"}]},"agentId":{"anyOf":[{"type":"string","maxLength":36},{"type":"null"}],"title":"Agentid"},"sessionId":{"anyOf":[{"type":"string","maxLength":36},{"type":"null"}],"title":"Sessionid"},"artifactId":{"anyOf":[{"type":"string","maxLength":240},{"type":"null"}],"title":"Artifactid"},"version":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Version"},"messageId":{"anyOf":[{"type":"string","maxLength":240},{"type":"null"}],"title":"Messageid"},"blockId":{"anyOf":[{"type":"string","maxLength":240},{"type":"null"}],"title":"Blockid"},"quote":{"anyOf":[{"type":"string","maxLength":4096},{"type":"null"}],"title":"Quote"},"surroundingText":{"anyOf":[{"type":"string","maxLength":1500},{"type":"null"}],"title":"Surroundingtext"},"selection":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/JsonValue"},"type":"object"},{"type":"null"}],"title":"Selection"}},"additionalProperties":false,"type":"object","required":["id","kind","label","start","end"],"title":"PromptReference"},"PublicEffortLevel":{"type":"string","enum":["low","medium","high","max"],"title":"PublicEffortLevel"},"PublishArtifact":{"properties":{"action":{"type":"string","const":"publish","title":"Action"},"artifact_id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9_.:-]{0,239}$","title":"Artifact Id"},"version":{"type":"integer","minimum":1.0,"title":"Version"},"theme":{"type":"string","enum":["light","dark"],"title":"Theme","default":"light"},"include_bound_data":{"type":"boolean","const":true,"title":"Include Bound Data"}},"additionalProperties":false,"type":"object","required":["action","artifact_id","version","include_bound_data"],"title":"PublishArtifact"},"ReadDocument":{"properties":{"artifact_id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9_.:-]{0,239}$","title":"Artifact Id"},"version":{"type":"integer","minimum":1.0,"title":"Version"},"page_start":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Page Start"},"page_end":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Page End"},"section_id":{"anyOf":[{"type":"string","maxLength":120,"minLength":1},{"type":"null"}],"title":"Section Id"},"record_ids":{"items":{"type":"string"},"type":"array","maxItems":20,"title":"Record Ids","default":[]},"max_chars":{"type":"integer","maximum":20000.0,"minimum":500.0,"title":"Max Chars","default":12000},"action":{"type":"string","const":"read","title":"Action"}},"additionalProperties":false,"type":"object","required":["artifact_id","version","action"],"title":"ReadDocument"},"RefreshInteractive":{"properties":{"artifact_id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9_.:-]{0,239}$","title":"Artifact Id"},"expected_version":{"type":"integer","minimum":1.0,"title":"Expected Version"},"bindings":{"additionalProperties":{"additionalProperties":{"$ref":"#/components/schemas/AppDataBinding"},"type":"object"},"type":"object","maxProperties":8,"minProperties":1,"title":"Bindings","description":"Existing block_id to existing alias to newly retrieved, admitted resource ID/version."},"allow_partial":{"type":"boolean","title":"Allow Partial","default":false},"action":{"type":"string","const":"refresh_interactive","title":"Action"},"previous_inputs":{"items":{"$ref":"#/components/schemas/ArtifactInput"},"type":"array","maxItems":40,"title":"Previous Inputs","default":[]}},"additionalProperties":false,"type":"object","required":["artifact_id","expected_version","bindings","action"],"title":"RefreshInteractive"},"RefreshTarget":{"properties":{"artifact_id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9_.:-]{0,239}$","title":"Artifact Id"},"expected_version":{"type":"integer","minimum":1.0,"title":"Expected Version"},"follow_latest":{"type":"boolean","const":true,"title":"Follow Latest"},"effort":{"anyOf":[{"$ref":"#/components/schemas/PublicEffortLevel"},{"type":"null"}]},"allow_partial":{"type":"boolean","title":"Allow Partial","default":false},"connections":{"items":{"$ref":"#/components/schemas/ConnectionSelection"},"type":"array","maxItems":4,"title":"Connections","default":[]}},"additionalProperties":false,"type":"object","required":["artifact_id","expected_version","follow_latest"],"title":"RefreshTarget"},"ReportBlock":{"properties":{"block_id":{"type":"string","maxLength":120,"minLength":1,"title":"Block Id"},"block_kind":{"$ref":"#/components/schemas/ReportBlockKind"},"markdown":{"type":"string","maxLength":12000,"minLength":1,"title":"Markdown"},"evidence_refs":{"items":{"type":"string"},"type":"array","maxItems":30,"title":"Evidence Refs","default":[]},"workspace_artifact_refs":{"items":{"type":"string"},"type":"array","maxItems":20,"title":"Workspace Artifact Refs","default":[]},"chart":{"anyOf":[{"$ref":"#/components/schemas/ReportChartEmbedInput"},{"type":"null"}],"description":"Embed a real saved chart by exact artifact_id/version. Include its ID in workspace_artifact_refs; markdown is its caption, never an ASCII chart."},"stale":{"type":"boolean","title":"Stale","default":false},"stale_reason":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Stale Reason"},"validation_state":{"$ref":"#/components/schemas/DeliverableValidationStatus"},"validation_notes":{"items":{"type":"string"},"type":"array","maxItems":20,"title":"Validation Notes","default":[]},"embedded_artifact":{"anyOf":[{"$ref":"#/components/schemas/ReportEmbed"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["block_id","block_kind","markdown","validation_state"],"title":"ReportBlock"},"ReportBlockInput":{"properties":{"block_id":{"type":"string","maxLength":120,"minLength":1,"title":"Block Id"},"block_kind":{"$ref":"#/components/schemas/ReportBlockKind"},"markdown":{"type":"string","maxLength":12000,"minLength":1,"title":"Markdown"},"evidence_refs":{"items":{"type":"string"},"type":"array","maxItems":30,"title":"Evidence Refs","default":[]},"workspace_artifact_refs":{"items":{"type":"string"},"type":"array","maxItems":20,"title":"Workspace Artifact Refs","default":[]},"chart":{"anyOf":[{"$ref":"#/components/schemas/ReportChartEmbedInput"},{"type":"null"}],"description":"Embed a real saved chart by exact artifact_id/version. Include its ID in workspace_artifact_refs; markdown is its caption, never an ASCII chart."},"stale":{"type":"boolean","title":"Stale","default":false},"stale_reason":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Stale Reason"}},"additionalProperties":false,"type":"object","required":["block_id","block_kind","markdown"],"title":"ReportBlockInput"},"ReportBlockKind":{"type":"string","enum":["heading","paragraph","list","table","quote","callout","divider"],"title":"ReportBlockKind"},"ReportChartEmbedInput":{"properties":{"artifact_id":{"type":"string","maxLength":240,"minLength":1,"title":"Artifact Id"},"version":{"type":"integer","minimum":1.0,"title":"Version"}},"additionalProperties":false,"type":"object","required":["artifact_id","version"],"title":"ReportChartEmbedInput","description":"Exact saved chart version, resolved through the owner's workspace."},"ReportDocumentBlockInput":{"properties":{"block_id":{"type":"string","maxLength":120,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9_.:-]{0,119}$","title":"Block Id"},"block_kind":{"$ref":"#/components/schemas/ReportBlockKind"},"markdown":{"type":"string","maxLength":12000,"minLength":1,"title":"Markdown"},"embed":{"anyOf":[{"$ref":"#/components/schemas/ReportDocumentEmbedInput"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["block_id","block_kind","markdown"],"title":"ReportDocumentBlockInput","description":"User-authored report block without caller-controlled evidence metadata."},"ReportDocumentEmbedInput":{"properties":{"artifact_id":{"type":"string","maxLength":240,"minLength":1,"title":"Artifact Id"},"mode":{"$ref":"#/components/schemas/ReportEmbedMode"},"version":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Version"}},"additionalProperties":false,"type":"object","required":["artifact_id","mode"],"title":"ReportDocumentEmbedInput","description":"Caller intent; the service resolves every display and integrity field."},"ReportEditKind":{"type":"string","enum":["replace","insert_after","delete","move_after","mark_stale"],"title":"ReportEditKind"},"ReportEditOperation":{"properties":{"operation":{"$ref":"#/components/schemas/ReportEditKind"},"block_id":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Block Id"},"after_block_id":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"After Block Id"},"block":{"anyOf":[{"$ref":"#/components/schemas/ReportBlockInput"},{"type":"null"}]},"stale_reason":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Stale Reason"}},"additionalProperties":false,"type":"object","required":["operation"],"title":"ReportEditOperation"},"ReportEmbed":{"properties":{"artifact_id":{"type":"string","title":"Artifact Id"},"artifact_type":{"type":"string","title":"Artifact Type"},"title":{"type":"string","title":"Title"},"mode":{"$ref":"#/components/schemas/ReportEmbedMode"},"version":{"type":"integer","minimum":1.0,"title":"Version"},"coverage_complete":{"type":"boolean","title":"Coverage Complete"},"freshness":{"type":"string","title":"Freshness"},"validation_state":{"type":"string","title":"Validation State"}},"additionalProperties":false,"type":"object","required":["artifact_id","artifact_type","title","mode","version","coverage_complete","freshness","validation_state"],"title":"ReportEmbed"},"ReportEmbedMode":{"type":"string","enum":["snapshot","live"],"title":"ReportEmbedMode"},"ReportMetadata":{"properties":{"parent_version":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Parent Version"},"revision_kind":{"$ref":"#/components/schemas/WorkspaceRevisionKind"},"schema_version":{"type":"string","title":"Schema Version"},"status":{"$ref":"#/components/schemas/WorkspaceDeliverableStatus"},"audience":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Audience"},"purpose":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Purpose"},"period":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Period"},"block_count":{"type":"integer","title":"Block Count"},"stale_block_ids":{"items":{"type":"string"},"type":"array","title":"Stale Block Ids","default":[]},"editable":{"type":"boolean","title":"Editable"}},"additionalProperties":false,"type":"object","required":["revision_kind","schema_version","status","block_count","editable"],"title":"ReportMetadata"},"ReportVersionListResponse":{"properties":{"schema_version":{"type":"string","title":"Schema Version","default":"truman_v2_local_api.v1"},"session_id":{"type":"string","title":"Session Id"},"report_id":{"type":"string","title":"Report Id"},"current_version":{"type":"integer","minimum":1.0,"title":"Current Version"},"versions":{"items":{"$ref":"#/components/schemas/ReportVersionView"},"type":"array","title":"Versions"}},"additionalProperties":false,"type":"object","required":["session_id","report_id","current_version","versions"],"title":"ReportVersionListResponse"},"ReportVersionView":{"properties":{"version":{"type":"integer","minimum":1.0,"title":"Version"},"title":{"type":"string","title":"Title"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"revision_kind":{"$ref":"#/components/schemas/WorkspaceRevisionKind"},"parent_version":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Parent Version"},"validation_state":{"$ref":"#/components/schemas/DeliverableValidationStatus"},"source_count":{"type":"integer","minimum":0.0,"title":"Source Count"},"is_current":{"type":"boolean","title":"Is Current"}},"additionalProperties":false,"type":"object","required":["version","title","created_at","revision_kind","validation_state","source_count","is_current"],"title":"ReportVersionView"},"RerunEquityBrief":{"properties":{"artifact_id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9_.:-]{0,239}$","title":"Artifact Id"},"expected_version":{"type":"integer","minimum":1.0,"title":"Expected Version"},"action":{"type":"string","const":"rerun_equity_brief","title":"Action"}},"additionalProperties":false,"type":"object","required":["artifact_id","expected_version","action"],"title":"RerunEquityBrief"},"ResearchContextSelection":{"properties":{"kind":{"type":"string","enum":["dataset","file","artifact","memory"],"title":"Kind"},"resource_id":{"type":"string","maxLength":256,"minLength":1,"pattern":"^[A-Za-z0-9_.:@/-]+$","title":"Resource Id"},"version":{"type":"integer","minimum":1.0,"title":"Version"}},"additionalProperties":false,"type":"object","required":["kind","resource_id","version"],"title":"ResearchContextSelection","description":"One explicit immutable input, scoped to the research session."},"ResearchContinuation":{"properties":{"checkpoint_revision":{"type":"integer","minimum":1.0,"title":"Checkpoint Revision"},"interaction_id":{"anyOf":[{"type":"string","maxLength":256,"minLength":1,"pattern":"^[A-Za-z0-9_.:@/-]+$"},{"type":"null"}],"title":"Interaction Id"},"answers":{"items":{"$ref":"#/components/schemas/UserInteractionAnswer"},"type":"array","maxItems":4,"title":"Answers","default":[]}},"additionalProperties":false,"type":"object","required":["checkpoint_revision"],"title":"ResearchContinuation"},"ResearchEffortOption":{"properties":{"effort":{"$ref":"#/components/schemas/PublicEffortLevel"},"maximum_credits":{"type":"integer","minimum":0.0,"title":"Maximum Credits"},"maximum_wall_seconds":{"type":"integer","minimum":1.0,"title":"Maximum Wall Seconds"},"maximum_analysts":{"type":"integer","maximum":5.0,"minimum":0.0,"title":"Maximum Analysts"}},"additionalProperties":false,"type":"object","required":["effort","maximum_credits","maximum_wall_seconds","maximum_analysts"],"title":"ResearchEffortOption"},"ResearchEventsPage":{"properties":{"run":{"$ref":"#/components/schemas/ResearchRunView"},"items":{"items":{"$ref":"#/components/schemas/ResearchReplayEvent"},"type":"array","title":"Items"},"last_sequence":{"type":"integer","maximum":2147483647.0,"minimum":0.0,"title":"Last Sequence"},"next_after_sequence":{"type":"integer","maximum":2147483647.0,"minimum":0.0,"title":"Next After Sequence"},"has_more":{"type":"boolean","title":"Has More"},"replay_source":{"type":"string","const":"durable_checkpoint","title":"Replay Source","default":"durable_checkpoint"}},"additionalProperties":false,"type":"object","required":["run","items","last_sequence","next_after_sequence","has_more"],"title":"ResearchEventsPage"},"ResearchOperation":{"properties":{"failure_code":{"anyOf":[{"type":"string","enum":["free_query_limit_reached","billing_unavailable","billing_settlement_pending","billing_period_refresh_failed","billing_denied"]},{"type":"null"}],"title":"Failure Code"},"operation_id":{"type":"string","maxLength":256,"minLength":1,"pattern":"^[A-Za-z0-9_.:@/-]+$","title":"Operation Id"},"run_id":{"type":"string","maxLength":256,"minLength":1,"pattern":"^[A-Za-z0-9_.:@/-]+$","title":"Run Id"},"session_id":{"type":"string","maxLength":256,"minLength":1,"pattern":"^[A-Za-z0-9_.:@/-]+$","title":"Session Id"},"status":{"$ref":"#/components/schemas/OperationStatus"},"suspension":{"anyOf":[{"$ref":"#/components/schemas/ResearchSuspension"},{"type":"null"}]},"maximum_credits":{"type":"integer","title":"Maximum Credits"},"pricing_policy_id":{"type":"string","maxLength":256,"minLength":1,"pattern":"^[A-Za-z0-9_.:@/-]+$","title":"Pricing Policy Id"},"effort":{"$ref":"#/components/schemas/PublicEffortLevel","default":"medium"}},"additionalProperties":false,"type":"object","required":["operation_id","run_id","session_id","status","maximum_credits","pricing_policy_id"],"title":"ResearchOperation"},"ResearchOptions":{"properties":{"default_effort":{"$ref":"#/components/schemas/PublicEffortLevel"},"efforts":{"items":{"$ref":"#/components/schemas/ResearchEffortOption"},"type":"array","title":"Efforts"}},"additionalProperties":false,"type":"object","required":["default_effort","efforts"],"title":"ResearchOptions"},"ResearchReplayEvent":{"properties":{"sequence":{"type":"integer","maximum":2147483647.0,"minimum":1.0,"title":"Sequence"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"event_type":{"type":"string","maxLength":80,"title":"Event Type"},"payload":{"additionalProperties":{"$ref":"#/components/schemas/JsonValue"},"type":"object","title":"Payload"},"omitted_fields":{"items":{"type":"string"},"type":"array","title":"Omitted Fields","default":[]}},"additionalProperties":false,"type":"object","required":["sequence","created_at","event_type","payload"],"title":"ResearchReplayEvent"},"ResearchRunView":{"properties":{"run_id":{"type":"string","maxLength":256,"minLength":1,"pattern":"^[A-Za-z0-9_.:@/-]+$","title":"Run Id"},"session_id":{"type":"string","maxLength":256,"minLength":1,"pattern":"^[A-Za-z0-9_.:@/-]+$","title":"Session Id"},"status":{"anyOf":[{"$ref":"#/components/schemas/RunStatus"},{"type":"string","enum":["indeterminate","settling"]}],"title":"Status"},"checkpoint_revision":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Checkpoint Revision"},"checkpoint_status":{"anyOf":[{"$ref":"#/components/schemas/RunStatus"},{"type":"null"}]},"checkpoint_updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Checkpoint Updated At"},"cancellation_requested":{"type":"boolean","title":"Cancellation Requested"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"state_source":{"type":"string","const":"durable_snapshot","title":"State Source","default":"durable_snapshot"}},"additionalProperties":false,"type":"object","required":["run_id","session_id","status","cancellation_requested","created_at","updated_at"],"title":"ResearchRunView"},"ResearchRunsPage":{"properties":{"items":{"items":{"$ref":"#/components/schemas/ResearchRunView"},"type":"array","title":"Items"},"next_cursor":{"anyOf":[{"type":"string","maxLength":256,"minLength":1,"pattern":"^[A-Za-z0-9_.:@/-]+$"},{"type":"null"}],"title":"Next Cursor"}},"additionalProperties":false,"type":"object","required":["items"],"title":"ResearchRunsPage"},"ResearchSubmission":{"properties":{"agent_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Agent Id"},"objective":{"type":"string","maxLength":20000,"minLength":1,"title":"Objective"},"effort":{"anyOf":[{"$ref":"#/components/schemas/PublicEffortLevel"},{"type":"null"}]},"connections":{"items":{"$ref":"#/components/schemas/ConnectionSelection"},"type":"array","maxItems":4,"title":"Connections","default":[]},"skills":{"items":{"$ref":"#/components/schemas/SkillSelection"},"type":"array","maxItems":8,"title":"Skills","default":[]},"artifacts":{"type":"boolean","title":"Artifacts","default":false},"stream_answer":{"type":"boolean","title":"Stream Answer","default":false},"context":{"items":{"$ref":"#/components/schemas/ResearchContextSelection"},"type":"array","maxItems":12,"title":"Context","default":[]}},"additionalProperties":false,"type":"object","required":["objective"],"title":"ResearchSubmission"},"ResearchSuspension":{"properties":{"checkpoint_revision":{"type":"integer","minimum":1.0,"title":"Checkpoint Revision"},"status":{"type":"string","enum":["waiting_user","paused"],"title":"Status"},"pending":{"anyOf":[{"$ref":"#/components/schemas/PendingUserInteraction"},{"type":"null"}]},"expires_at":{"type":"string","format":"date-time","title":"Expires At"},"auto_resume_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Auto Resume At"}},"additionalProperties":false,"type":"object","required":["checkpoint_revision","status","expires_at"],"title":"ResearchSuspension"},"ResearchWorkflow":{"properties":{"workflow_ref":{"type":"string","const":"research.run@1","title":"Workflow Ref","default":"research.run@1"},"description":{"type":"string","title":"Description"},"when_to_use":{"type":"string","title":"When To Use"},"limitations":{"items":{"type":"string"},"type":"array","title":"Limitations"},"required_scopes":{"items":{"$ref":"#/components/schemas/Scope"},"type":"array","title":"Required Scopes"},"optional_scopes":{"items":{"$ref":"#/components/schemas/Scope"},"type":"array","title":"Optional Scopes"},"submit_method":{"type":"string","const":"POST","title":"Submit Method","default":"POST"},"idempotency_header":{"type":"string","const":"Idempotency-Key","title":"Idempotency Header","default":"Idempotency-Key"},"submit_path":{"type":"string","title":"Submit Path"},"status_path":{"type":"string","title":"Status Path"},"resume_path":{"type":"string","title":"Resume Path"},"status_stream_path":{"type":"string","title":"Status Stream Path"},"live_preview_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Live Preview Path"},"result_path":{"type":"string","title":"Result Path"},"usage_path":{"type":"string","title":"Usage Path"},"options_path":{"type":"string","title":"Options Path","default":"/v1/research/options"},"cancel_path":{"type":"string","title":"Cancel Path"},"submission_schema":{"additionalProperties":{"$ref":"#/components/schemas/JsonValue"},"type":"object","title":"Submission Schema"},"continuation_schema":{"additionalProperties":{"$ref":"#/components/schemas/JsonValue"},"type":"object","title":"Continuation Schema"},"tool_capabilities":{"items":{"type":"string","pattern":"^[a-z][a-z0-9_.]{0,99}@[1-9][0-9]{0,3}$"},"type":"array","title":"Tool Capabilities"},"maximum_analysts":{"type":"integer","maximum":5.0,"minimum":0.0,"title":"Maximum Analysts","default":0},"saved_agents_available":{"type":"boolean","title":"Saved Agents Available","default":false},"agents_path":{"type":"string","title":"Agents Path","default":"/v1/agents"},"skills_available":{"type":"boolean","title":"Skills Available","default":false},"connected_account_providers":{"items":{"type":"string"},"type":"array","title":"Connected Account Providers","default":[]},"artifact_actions":{"items":{"type":"string"},"type":"array","title":"Artifact Actions","default":[]},"context_kinds":{"items":{"type":"string","enum":["dataset","file","artifact","memory"]},"type":"array","title":"Context Kinds","default":[]},"pricing":{"$ref":"#/components/schemas/WorkflowPricing"}},"additionalProperties":false,"type":"object","required":["description","when_to_use","limitations","required_scopes","optional_scopes","submit_path","status_path","resume_path","status_stream_path","result_path","usage_path","cancel_path","submission_schema","continuation_schema","tool_capabilities","pricing"],"title":"ResearchWorkflow"},"ResourceKind":{"type":"string","enum":["agent","session","run","operation_result","artifact","dataset","file","trace","audit","skill","memory","schedule","share"],"title":"ResourceKind"},"ResourceRef":{"properties":{"kind":{"$ref":"#/components/schemas/ResourceKind"},"resource_id":{"type":"string","maxLength":256,"minLength":1,"pattern":"^[A-Za-z0-9_.:@/-]+$","title":"Resource Id"},"session_id":{"anyOf":[{"type":"string","maxLength":256,"minLength":1,"pattern":"^[A-Za-z0-9_.:@/-]+$"},{"type":"null"}],"title":"Session Id"}},"additionalProperties":false,"type":"object","required":["kind","resource_id"],"title":"ResourceRef"},"RestoreReport":{"properties":{"action":{"type":"string","const":"restore_report","title":"Action"},"artifact_id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9_.:-]{0,239}$","title":"Artifact Id"},"expected_version":{"type":"integer","minimum":1.0,"title":"Expected Version"},"source_version":{"type":"integer","minimum":1.0,"title":"Source Version"}},"additionalProperties":false,"type":"object","required":["action","artifact_id","expected_version","source_version"],"title":"RestoreReport"},"ResultTombstone":{"properties":{"operation_id":{"type":"string","pattern":"^[a-f0-9]{32}$","title":"Operation Id"},"deleted_at":{"type":"string","format":"date-time","title":"Deleted At"},"reason":{"type":"string","enum":["user_request","retention_expired"],"title":"Reason"},"deleted_content":{"type":"string","const":"api_result_payload","title":"Deleted Content","default":"api_result_payload"},"retained":{"items":{"type":"string"},"type":"array","title":"Retained","default":["billing_receipts","idempotency","workspace_and_research_records"]}},"additionalProperties":false,"type":"object","required":["operation_id","deleted_at","reason"],"title":"ResultTombstone"},"ReviseChart":{"properties":{"action":{"type":"string","const":"revise_chart","title":"Action"},"artifact_id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9_.:-]{0,239}$","title":"Artifact Id"},"expected_version":{"type":"integer","minimum":1.0,"title":"Expected Version"},"spec":{"$ref":"#/components/schemas/ChartSpecInput-Input"}},"additionalProperties":false,"type":"object","required":["action","artifact_id","expected_version","spec"],"title":"ReviseChart"},"ReviseInteractive":{"properties":{"action":{"type":"string","const":"revise_interactive","title":"Action"},"content":{"$ref":"#/components/schemas/ReviseInteractiveArtifactRequest"}},"additionalProperties":false,"type":"object","required":["action","content"],"title":"ReviseInteractive"},"ReviseInteractiveArtifactRequest":{"properties":{"artifact_id":{"type":"string","maxLength":240,"minLength":1,"title":"Artifact Id"},"expected_version":{"type":"integer","minimum":1.0,"title":"Expected Version"},"revision_kind":{"type":"string","pattern":"^(edit|refresh|rerun)$","title":"Revision Kind"},"title":{"anyOf":[{"type":"string","maxLength":300,"minLength":1},{"type":"null"}],"title":"Title"},"authoring_state":{"anyOf":[{"type":"string","enum":["working","complete"]},{"type":"null"}],"title":"Authoring State","description":"Omit to retain the current state. Complete only after all requested sections and checks are finished; status-only edit is allowed."},"authoring_note":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Authoring Note"},"operations":{"items":{"$ref":"#/components/schemas/InteractiveEditOperation"},"type":"array","maxItems":160,"title":"Operations","description":"Patch operations against the opened version. Omitted blocks are retained.","default":[]},"replacement_blocks":{"items":{"$ref":"#/components/schemas/InteractiveBlockInput"},"type":"array","maxItems":160,"title":"Replacement Blocks","description":"Complete replacement body allowed only for an explicit rerun.","default":[]}},"additionalProperties":false,"type":"object","required":["artifact_id","expected_version","revision_kind"],"title":"ReviseInteractiveArtifactRequest"},"ReviseReport":{"properties":{"action":{"type":"string","const":"revise_report","title":"Action"},"content":{"$ref":"#/components/schemas/ReviseReportRequest"}},"additionalProperties":false,"type":"object","required":["action","content"],"title":"ReviseReport"},"ReviseReportRequest":{"properties":{"artifact_id":{"type":"string","maxLength":240,"minLength":1,"title":"Artifact Id"},"expected_version":{"type":"integer","minimum":1.0,"title":"Expected Version"},"revision_kind":{"type":"string","pattern":"^(edit|refresh|rerun)$","title":"Revision Kind"},"title":{"anyOf":[{"type":"string","maxLength":300,"minLength":1},{"type":"null"}],"title":"Title"},"operations":{"items":{"$ref":"#/components/schemas/ReportEditOperation"},"type":"array","maxItems":50,"minItems":1,"title":"Operations"}},"additionalProperties":false,"type":"object","required":["artifact_id","expected_version","revision_kind","operations"],"title":"ReviseReportRequest"},"Revoked":{"properties":{"revoked":{"type":"boolean","title":"Revoked"}},"additionalProperties":false,"type":"object","required":["revoked"],"title":"Revoked"},"RunStatus":{"type":"string","enum":["pending","running","paused","waiting_user","waiting_permission","completed","partial","failed","cancelled"],"title":"RunStatus"},"ScheduleControl":{"properties":{"expected_revision":{"type":"integer","minimum":1.0,"title":"Expected Revision"},"action":{"type":"string","enum":["pause","resume","cancel"],"title":"Action"},"confirmed":{"type":"boolean","const":true,"title":"Confirmed"}},"additionalProperties":false,"type":"object","required":["expected_revision","action","confirmed"],"title":"ScheduleControl"},"ScheduleCreate-Input":{"properties":{"session_id":{"type":"string","maxLength":256,"minLength":1,"pattern":"^[A-Za-z0-9_.:@/-]+$","title":"Session Id"},"research":{"anyOf":[{"$ref":"#/components/schemas/ResearchSubmission"},{"type":"null"}]},"refresh":{"anyOf":[{"$ref":"#/components/schemas/RefreshTarget"},{"type":"null"}]},"trigger":{"type":"string","enum":["scheduled","on_open"],"title":"Trigger","default":"scheduled"},"first_run_at":{"type":"string","format":"date-time","title":"First Run At"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"},"interval_minutes":{"type":"integer","maximum":44640.0,"minimum":15.0,"title":"Interval Minutes"},"max_runs":{"type":"integer","maximum":30.0,"minimum":1.0,"title":"Max Runs"},"maximum_credits_per_run":{"type":"integer","maximum":1000000000.0,"minimum":1.0,"title":"Maximum Credits Per Run"},"maximum_total_credits":{"type":"integer","maximum":30000000000.0,"minimum":1.0,"title":"Maximum Total Credits"},"email":{"anyOf":[{"$ref":"#/components/schemas/ScheduledEmail"},{"type":"null"}]},"confirmed":{"type":"boolean","const":true,"title":"Confirmed"}},"additionalProperties":false,"type":"object","required":["session_id","first_run_at","expires_at","interval_minutes","max_runs","maximum_credits_per_run","maximum_total_credits","confirmed"],"title":"ScheduleCreate"},"ScheduleCreate-Output":{"properties":{"session_id":{"type":"string","maxLength":256,"minLength":1,"pattern":"^[A-Za-z0-9_.:@/-]+$","title":"Session Id"},"research":{"anyOf":[{"$ref":"#/components/schemas/ResearchSubmission"},{"type":"null"}]},"refresh":{"anyOf":[{"$ref":"#/components/schemas/RefreshTarget"},{"type":"null"}]},"trigger":{"type":"string","enum":["scheduled","on_open"],"title":"Trigger","default":"scheduled"},"first_run_at":{"type":"string","format":"date-time","title":"First Run At"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"},"interval_minutes":{"type":"integer","maximum":44640.0,"minimum":15.0,"title":"Interval Minutes"},"max_runs":{"type":"integer","maximum":30.0,"minimum":1.0,"title":"Max Runs"},"maximum_credits_per_run":{"type":"integer","maximum":1000000000.0,"minimum":1.0,"title":"Maximum Credits Per Run"},"maximum_total_credits":{"type":"integer","maximum":30000000000.0,"minimum":1.0,"title":"Maximum Total Credits"},"email":{"anyOf":[{"$ref":"#/components/schemas/ScheduledEmail"},{"type":"null"}]},"confirmed":{"type":"boolean","const":true,"title":"Confirmed"}},"additionalProperties":false,"type":"object","required":["session_id","first_run_at","expires_at","interval_minutes","max_runs","maximum_credits_per_run","maximum_total_credits","confirmed"],"title":"ScheduleCreate"},"ScheduleEdit":{"properties":{"expected_revision":{"type":"integer","minimum":1.0,"title":"Expected Revision"},"replacement":{"$ref":"#/components/schemas/ScheduleCreate-Input"}},"additionalProperties":false,"type":"object","required":["expected_revision","replacement"],"title":"ScheduleEdit"},"SchedulePage":{"properties":{"items":{"items":{"$ref":"#/components/schemas/ScheduleView"},"type":"array","title":"Items"},"next_cursor":{"anyOf":[{"type":"string","pattern":"^[a-f0-9]{32}$"},{"type":"null"}],"title":"Next Cursor"}},"additionalProperties":false,"type":"object","required":["items","next_cursor"],"title":"SchedulePage"},"ScheduleReceipt":{"properties":{"occurrence":{"type":"integer","title":"Occurrence"},"operation_id":{"anyOf":[{"type":"string","pattern":"^[a-f0-9]{32}$"},{"type":"null"}],"title":"Operation Id"},"outcome":{"type":"string","enum":["completed","partial","failed","cancelled","email_accepted","delivery_indeterminate","delivery_rejected","authorization_changed","budget_changed","result_deleted","outcome_unconfirmed","expired","refreshed","refresh_unchanged"],"title":"Outcome"},"recorded_at":{"type":"string","format":"date-time","title":"Recorded At"},"artifact_version":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Artifact Version"}},"additionalProperties":false,"type":"object","required":["occurrence","operation_id","outcome","recorded_at"],"title":"ScheduleReceipt"},"ScheduleView":{"properties":{"schedule_id":{"type":"string","pattern":"^[a-f0-9]{32}$","title":"Schedule Id"},"revision":{"type":"integer","title":"Revision"},"status":{"type":"string","enum":["active","paused","cancelled","finished"],"title":"Status"},"phase":{"type":"string","enum":["idle","admitting","running","sending"],"title":"Phase"},"request":{"$ref":"#/components/schemas/ScheduleCreate-Output"},"next_run_at":{"type":"string","format":"date-time","title":"Next Run At"},"occurrence":{"type":"integer","title":"Occurrence"},"operation_id":{"anyOf":[{"type":"string","pattern":"^[a-f0-9]{32}$"},{"type":"null"}],"title":"Operation Id"},"receipts":{"items":{"$ref":"#/components/schemas/ScheduleReceipt"},"type":"array","title":"Receipts"}},"additionalProperties":false,"type":"object","required":["schedule_id","revision","status","phase","request","next_run_at","occurrence","operation_id","receipts"],"title":"ScheduleView"},"ScheduleWorkflow":{"properties":{"workflow_ref":{"type":"string","const":"schedules.manage@1","title":"Workflow Ref","default":"schedules.manage@1"},"description":{"type":"string","title":"Description","default":"Run explicitly authorized research on a bounded schedule without keeping a browser open."},"required_scopes":{"items":{"$ref":"#/components/schemas/Scope"},"type":"array","title":"Required Scopes","default":["schedules:read","schedules:write","research:run","workspace:read","results:read","operations:cancel"]},"submit_path":{"type":"string","title":"Submit Path","default":"/v1/schedules"},"status_path":{"type":"string","title":"Status Path","default":"/v1/schedules/{schedule_id}"},"control_path":{"type":"string","title":"Control Path","default":"/v1/schedules/{schedule_id}/control"},"edit_path":{"type":"string","title":"Edit Path","default":"/v1/schedules/{schedule_id}"},"edit_method":{"type":"string","const":"PUT","title":"Edit Method","default":"PUT"},"opened_path":{"type":"string","title":"Opened Path","default":"/v1/schedules/{schedule_id}/opened"},"submission_schema":{"additionalProperties":{"$ref":"#/components/schemas/JsonValue"},"type":"object","title":"Submission Schema"},"maximum_credits_per_run":{"type":"integer","title":"Maximum Credits Per Run"},"limitations":{"items":{"type":"string"},"type":"array","title":"Limitations","default":["Staging only. Up to 30 runs, a 31-day window and explicit per-run/total credit ceilings; each run uses normal research pricing and one hold.","The originating API key and exact grant must remain valid. A changed grant requires a newly approved schedule; pause/resume does not renew consent.","Occurrences do not overlap or catch up in a burst. Questions wait for the normal clarification/resume flow.","Choose research or a refresh target. Refresh follows current artifact versions, pins inputs per occurrence and only permits data collection/analysis plus a data-only refresh of that target. It pauses after failed or unchanged refreshes. No design edits or public sharing.","For trigger=on_open, the authenticated host POSTs to opened when its viewer opens. Reads never spend credits. Notifications coalesce and respect the native 1/6/24/168-hour interval, finite expiry and run/credit ceilings.","Future runs can be edited with an expected revision while idle. Editing preserves occurrence counts, receipts, historical credit ceilings and the original 31-day window.","Email requires explicit recipients from the staging allowlist and public research without private context, skills or connected accounts. Provider acceptance is not inbox delivery.","Ambiguous email delivery is recorded and never automatically retried. Cancellation cannot recall an email already being sent."]}},"additionalProperties":false,"type":"object","required":["submission_schema","maximum_credits_per_run"],"title":"ScheduleWorkflow"},"ScheduledEmail":{"properties":{"subject":{"type":"string","maxLength":160,"minLength":1,"title":"Subject"},"to":{"items":{"type":"string"},"type":"array","maxItems":10,"minItems":1,"title":"To"},"confirmed_recipients":{"type":"boolean","const":true,"title":"Confirmed Recipients"}},"additionalProperties":false,"type":"object","required":["subject","to","confirmed_recipients"],"title":"ScheduledEmail"},"Scope":{"type":"string","enum":["capabilities:read","results:read","results:delete","operations:cancel","data:read","computation:run","equity:run","agents:read","agents:invoke","research:run","research:delegate","programs:run","comments:read","comments:write","workspace:read","workspace:write","files:delete","validation:run","exports:create","connections:use","connections:save","skills:read","skills:write","memory:read","memory:write","schedules:read","schedules:write","deliveries:read","email:send","shares:read","shares:write","usage:read","traces:read","audits:read"],"title":"Scope"},"ScorableCoverage":{"type":"string","enum":["full","partial","replay_required","unscorable"],"title":"ScorableCoverage"},"SearchDocuments":{"properties":{"action":{"type":"string","const":"search","title":"Action"},"documents":{"items":{"$ref":"#/components/schemas/DocumentSelection"},"type":"array","maxItems":12,"minItems":1,"title":"Documents"},"query":{"type":"string","maxLength":1000,"minLength":2,"title":"Query"},"top_k":{"type":"integer","maximum":12.0,"minimum":1.0,"title":"Top K","default":6},"page_start":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Page Start"},"page_end":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Page End"}},"additionalProperties":false,"type":"object","required":["action","documents","query"],"title":"SearchDocuments"},"SessionCreate":{"properties":{"title":{"type":"string","maxLength":200,"minLength":1,"title":"Title","default":"New Truman workspace"}},"additionalProperties":false,"type":"object","title":"SessionCreate"},"SessionPage":{"properties":{"items":{"items":{"$ref":"#/components/schemas/SessionSummary"},"type":"array","title":"Items"},"next_cursor":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Next Cursor"}},"additionalProperties":false,"type":"object","required":["items"],"title":"SessionPage"},"SessionSummary":{"properties":{"session_id":{"type":"string","title":"Session Id"},"title":{"type":"string","title":"Title"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"additionalProperties":false,"type":"object","required":["session_id","title","created_at","updated_at"],"title":"SessionSummary"},"Shares":{"properties":{"snapshots":{"items":{"$ref":"#/components/schemas/ArtifactShare"},"type":"array","title":"Snapshots"}},"additionalProperties":false,"type":"object","required":["snapshots"],"title":"Shares"},"SideEffectClass":{"type":"string","enum":["read_only","workspace_write","external_action"],"title":"SideEffectClass"},"SkillDefinition":{"properties":{"name":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,79}$","title":"Name"},"description":{"type":"string","maxLength":500,"minLength":1,"title":"Description"},"when_to_use":{"type":"string","maxLength":1000,"minLength":1,"title":"When To Use"},"instructions":{"items":{"type":"string"},"type":"array","maxItems":30,"minItems":1,"title":"Instructions"},"completion_checks":{"items":{"type":"string"},"type":"array","maxItems":30,"title":"Completion Checks","default":[]},"evidence_families":{"items":{"type":"string"},"type":"array","maxItems":30,"title":"Evidence Families","default":[]},"capability_tags":{"items":{"type":"string"},"type":"array","maxItems":30,"title":"Capability Tags","default":[]},"question_classes":{"items":{"type":"string"},"type":"array","maxItems":30,"title":"Question Classes","default":[]},"entity_kinds":{"items":{"type":"string"},"type":"array","maxItems":30,"title":"Entity Kinds","default":[]},"required_permissions":{"items":{"type":"string"},"type":"array","title":"Required Permissions","default":[]},"version":{"type":"string","pattern":"^[A-Za-z0-9_.-]{1,40}$","title":"Version","default":"1"}},"additionalProperties":false,"type":"object","required":["name","description","when_to_use","instructions"],"title":"SkillDefinition","description":"Versioned analyst guidance loaded into the open loop, never a route."},"SkillDelete":{"properties":{"explicit_user_request":{"type":"boolean","const":true,"title":"Explicit User Request"},"expected_revision":{"type":"string","pattern":"^[a-f0-9]{64}$","title":"Expected Revision"}},"additionalProperties":false,"type":"object","required":["explicit_user_request","expected_revision"],"title":"SkillDelete"},"SkillDocument":{"properties":{"skill_id":{"type":"string","format":"uuid","title":"Skill Id"},"filename":{"type":"string","title":"Filename"},"content":{"type":"string","title":"Content"},"enabled":{"type":"boolean","title":"Enabled"},"revision":{"type":"string","pattern":"^[a-f0-9]{64}$","title":"Revision"},"content_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$","title":"Content Sha256"}},"additionalProperties":false,"type":"object","required":["skill_id","filename","content","enabled","revision","content_sha256"],"title":"SkillDocument"},"SkillDocumentInput":{"properties":{"explicit_user_request":{"type":"boolean","const":true,"title":"Explicit User Request"},"filename":{"type":"string","maxLength":240,"minLength":4,"title":"Filename"},"content":{"type":"string","maxLength":12000,"minLength":1,"title":"Content"},"enabled":{"type":"boolean","title":"Enabled","default":true}},"additionalProperties":false,"type":"object","required":["explicit_user_request","filename","content"],"title":"SkillDocumentInput"},"SkillPage":{"properties":{"items":{"items":{"$ref":"#/components/schemas/SkillView"},"type":"array","title":"Items"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"}},"additionalProperties":false,"type":"object","required":["items"],"title":"SkillPage"},"SkillReceipt":{"properties":{"skill_id":{"type":"string","format":"uuid","title":"Skill Id"},"action":{"type":"string","enum":["create","replace","delete"],"title":"Action"},"revision":{"type":"string","pattern":"^[a-f0-9]{64}$","title":"Revision"}},"additionalProperties":false,"type":"object","required":["skill_id","action","revision"],"title":"SkillReceipt"},"SkillReplace":{"properties":{"explicit_user_request":{"type":"boolean","const":true,"title":"Explicit User Request"},"filename":{"type":"string","maxLength":240,"minLength":4,"title":"Filename"},"content":{"type":"string","maxLength":12000,"minLength":1,"title":"Content"},"enabled":{"type":"boolean","title":"Enabled","default":true},"expected_revision":{"type":"string","pattern":"^[a-f0-9]{64}$","title":"Expected Revision"}},"additionalProperties":false,"type":"object","required":["explicit_user_request","filename","content","expected_revision"],"title":"SkillReplace"},"SkillSelection":{"properties":{"skill_id":{"type":"string","format":"uuid","title":"Skill Id"},"content_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$","title":"Content Sha256"}},"additionalProperties":false,"type":"object","required":["skill_id","content_sha256"],"title":"SkillSelection"},"SkillView":{"properties":{"selection":{"$ref":"#/components/schemas/SkillSelection"},"definition":{"$ref":"#/components/schemas/SkillDefinition"},"trust":{"type":"string","const":"user_instructions","title":"Trust","default":"user_instructions"}},"additionalProperties":false,"type":"object","required":["selection","definition"],"title":"SkillView"},"SourceAuthorityClass":{"type":"string","enum":["first_party_truflation","verified_network","official_public","licensed_provider","external_cited","deterministic_derived","catalog_metadata"],"title":"SourceAuthorityClass"},"SourceMetadata":{"properties":{"descriptor_id":{"type":"string","title":"Descriptor Id"},"title":{"type":"string","title":"Title"},"description":{"type":"string","title":"Description"},"provider":{"type":"string","title":"Provider"},"authority_class":{"$ref":"#/components/schemas/SourceAuthorityClass"},"unit":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Unit"},"basis":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Basis"},"cadence":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cadence"},"geography":{"items":{"type":"string"},"type":"array","title":"Geography"},"ticker":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ticker"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"source_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Url"},"evidence_eligible":{"type":"boolean","const":false,"title":"Evidence Eligible","default":false}},"additionalProperties":false,"type":"object","required":["descriptor_id","title","description","provider","authority_class","unit","basis","cadence","geography","ticker","slug","source_url"],"title":"SourceMetadata"},"SourcePage":{"properties":{"items":{"items":{"$ref":"#/components/schemas/SourceMetadata"},"type":"array","title":"Items"},"total_matching":{"type":"integer","title":"Total Matching"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"},"catalog_revision":{"type":"string","title":"Catalog Revision"},"coverage":{"type":"string","const":"registered_source_catalog","title":"Coverage","default":"registered_source_catalog"},"guidance":{"type":"string","title":"Guidance","default":"These are registered source descriptions, not observations or proof of current availability. Provider-side dynamic discovery is not included. Use capability discovery to check executable tools."}},"additionalProperties":false,"type":"object","required":["items","total_matching","next_cursor","catalog_revision"],"title":"SourcePage"},"StartEquityBrief":{"properties":{"ticker":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9.\\-]{0,19}$","title":"Ticker"},"company_name":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Company Name"},"action":{"type":"string","const":"start_equity_brief","title":"Action"}},"additionalProperties":false,"type":"object","required":["ticker","action"],"title":"StartEquityBrief"},"SteeringReceipt":{"properties":{"run_id":{"type":"string","title":"Run Id"},"request_id":{"type":"string","title":"Request Id"},"status":{"type":"string","enum":["pending","applied","not_applied"],"title":"Status"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"}},"additionalProperties":false,"type":"object","required":["run_id","request_id","status"],"title":"SteeringReceipt"},"SteeringRequest":{"properties":{"request_id":{"type":"string","maxLength":160,"minLength":8,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{7,159}$","title":"Request Id"},"text":{"type":"string","maxLength":20000,"minLength":1,"title":"Text"},"workspace_artifact_ids":{"items":{"type":"string"},"type":"array","maxItems":12,"title":"Workspace Artifact Ids","default":[]},"prompt_references":{"items":{"$ref":"#/components/schemas/PromptReference"},"type":"array","maxItems":24,"title":"Prompt References","default":[]}},"additionalProperties":false,"type":"object","required":["request_id","text"],"title":"SteeringRequest"},"StepProgress":{"properties":{"name":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,39}$","title":"Name"},"job_id":{"type":"string","title":"Job Id"},"status":{"type":"string","enum":["queued","processing","completed","failed","cancelled"],"title":"Status"},"failure_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Failure Code"},"resource":{"anyOf":[{"$ref":"#/components/schemas/WorkspaceSummary"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["name","job_id","status"],"title":"StepProgress"},"SyncDocument":{"properties":{"action":{"type":"string","const":"sync_document","title":"Action"},"artifact_id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9_.:-]{0,239}$","title":"Artifact Id"},"block_id":{"type":"string","maxLength":120,"minLength":1,"title":"Block Id"},"expected_version":{"type":"integer","minimum":1.0,"title":"Expected Version"},"report_id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9_.:-]{0,239}$","title":"Report Id"},"report_version":{"type":"integer","minimum":1.0,"title":"Report Version"},"baseline_version":{"type":"integer","minimum":1.0,"title":"Baseline Version"}},"additionalProperties":false,"type":"object","required":["action","artifact_id","block_id","expected_version","report_id","report_version","baseline_version"],"title":"SyncDocument"},"TextFormat":{"properties":{"runs":{"anyOf":[{"items":{"$ref":"#/components/schemas/TextRun"},"type":"array","maxItems":512},{"type":"null"}],"title":"Runs"},"align":{"anyOf":[{"type":"string","enum":["left","center","right","justify"]},{"type":"null"}],"title":"Align"},"scale":{"type":"number","maximum":2.0,"minimum":0.5,"title":"Scale","default":1}},"additionalProperties":false,"type":"object","title":"TextFormat"},"TextRun":{"properties":{"text":{"type":"string","maxLength":6000,"title":"Text"},"bold":{"type":"boolean","title":"Bold","default":false},"italic":{"type":"boolean","title":"Italic","default":false},"underline":{"type":"boolean","title":"Underline","default":false}},"additionalProperties":false,"type":"object","required":["text"],"title":"TextRun"},"UploadCreate":{"properties":{"filename":{"type":"string","maxLength":240,"minLength":1,"title":"Filename"},"content_type":{"type":"string","maxLength":160,"minLength":1,"title":"Content Type"},"byte_count":{"type":"integer","maximum":33554432.0,"minimum":1.0,"title":"Byte Count"},"sha256":{"type":"string","pattern":"^[a-f0-9]{64}$","title":"Sha256"}},"additionalProperties":false,"type":"object","required":["filename","content_type","byte_count","sha256"],"title":"UploadCreate"},"UploadView":{"properties":{"upload_id":{"type":"string","pattern":"^[a-f0-9]{32}$","title":"Upload Id"},"session_id":{"type":"string","title":"Session Id"},"status":{"type":"string","enum":["awaiting_content","queued","processing","completed","failed","cancelled"],"title":"Status"},"filename":{"type":"string","title":"Filename"},"content_type":{"type":"string","title":"Content Type"},"byte_count":{"type":"integer","title":"Byte Count"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"},"resource":{"anyOf":[{"$ref":"#/components/schemas/WorkspaceSummary"},{"type":"null"}]},"failure_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Failure Code"}},"additionalProperties":false,"type":"object","required":["upload_id","session_id","status","filename","content_type","byte_count","created_at","expires_at"],"title":"UploadView"},"UsageExportPage":{"properties":{"schema_version":{"type":"integer","const":1,"title":"Schema Version","default":1},"unit":{"type":"string","const":"credits","title":"Unit","default":"credits"},"generated_at":{"type":"string","format":"date-time","title":"Generated At"},"created_after":{"type":"string","format":"date-time","title":"Created After"},"created_before":{"type":"string","format":"date-time","title":"Created Before"},"items":{"items":{"$ref":"#/components/schemas/UsageExportRow"},"type":"array","title":"Items"},"next_cursor":{"anyOf":[{"type":"string","pattern":"^[a-f0-9]{32}$"},{"type":"null"}],"title":"Next Cursor"},"page_settled_credits":{"type":"integer","minimum":0.0,"title":"Page Settled Credits"},"page_unsettled_operations":{"type":"integer","minimum":0.0,"title":"Page Unsettled Operations"},"totals_scope":{"type":"string","const":"this_page","title":"Totals Scope","default":"this_page"}},"additionalProperties":false,"type":"object","required":["generated_at","created_after","created_before","items","next_cursor","page_settled_credits","page_unsettled_operations"],"title":"UsageExportPage"},"UsageExportRow":{"properties":{"operation_id":{"type":"string","pattern":"^[a-f0-9]{32}$","title":"Operation Id"},"capability_ref":{"anyOf":[{"type":"string","pattern":"^[a-z][a-z0-9_.]{0,99}@[1-9][0-9]{0,3}$"},{"type":"null"}],"title":"Capability Ref"},"status":{"$ref":"#/components/schemas/OperationStatus"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"pricing_policy_id":{"type":"string","title":"Pricing Policy Id"},"maximum_credits":{"type":"integer","minimum":0.0,"title":"Maximum Credits"},"reserved_credits":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Reserved Credits"},"settled_credits":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Settled Credits"}},"additionalProperties":false,"type":"object","required":["operation_id","capability_ref","status","created_at","updated_at","pricing_policy_id","maximum_credits"],"title":"UsageExportRow"},"UserInteractionAnswer":{"properties":{"question_id":{"type":"string","pattern":"^[A-Za-z0-9_.:-]{1,80}$","title":"Question Id"},"selected_option_labels":{"items":{"type":"string"},"type":"array","maxItems":4,"title":"Selected Option Labels","default":[]},"other_text":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Other Text"}},"additionalProperties":false,"type":"object","required":["question_id"],"title":"UserInteractionAnswer","description":"One validated response to a pending user question."},"UserQuestion":{"properties":{"question_id":{"type":"string","pattern":"^[A-Za-z0-9_.:-]{1,80}$","title":"Question Id"},"header":{"type":"string","maxLength":12,"minLength":1,"title":"Header"},"question":{"type":"string","maxLength":500,"minLength":1,"title":"Question"},"options":{"items":{"$ref":"#/components/schemas/UserQuestionOption"},"type":"array","maxItems":4,"minItems":2,"title":"Options"},"multi_select":{"type":"boolean","title":"Multi Select","default":false},"review_text":{"anyOf":[{"type":"string","maxLength":80000},{"type":"null"}],"title":"Review Text"},"review_summary":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Review Summary"},"review_url":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Review Url"}},"additionalProperties":false,"type":"object","required":["question_id","header","question","options"],"title":"UserQuestion","description":"A bounded question rendered by the product, never free-form HTML."},"UserQuestionOption":{"properties":{"label":{"type":"string","maxLength":80,"minLength":1,"title":"Label"},"description":{"type":"string","maxLength":300,"minLength":1,"title":"Description"}},"additionalProperties":false,"type":"object","required":["label","description"],"title":"UserQuestionOption","description":"One human-readable choice for a model-requested clarification."},"ValidateArtifact":{"properties":{"action":{"type":"string","const":"validate","title":"Action"},"artifact_id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9_.:-]{0,239}$","title":"Artifact Id"},"version":{"type":"integer","minimum":1.0,"title":"Version"}},"additionalProperties":false,"type":"object","required":["action","artifact_id","version"],"title":"ValidateArtifact"},"WorkflowPage":{"properties":{"items":{"items":{"anyOf":[{"$ref":"#/components/schemas/ResearchWorkflow"},{"$ref":"#/components/schemas/ProgramWorkflow"},{"$ref":"#/components/schemas/ArtifactWorkflow"},{"$ref":"#/components/schemas/ScheduleWorkflow"},{"$ref":"#/components/schemas/EmailWorkflow"}]},"type":"array","title":"Items"}},"additionalProperties":false,"type":"object","required":["items"],"title":"WorkflowPage"},"WorkflowPricing":{"properties":{"unit":{"type":"string","const":"credits","title":"Unit","default":"credits"},"mode":{"type":"string","const":"metered_research","title":"Mode","default":"metered_research"},"account":{"type":"string","const":"shared_truman_balance","title":"Account","default":"shared_truman_balance"},"pricing_policy_id":{"type":"string","title":"Pricing Policy Id"},"maximum_credits":{"type":"integer","minimum":1.0,"title":"Maximum Credits"}},"additionalProperties":false,"type":"object","required":["pricing_policy_id","maximum_credits"],"title":"WorkflowPricing"},"WorkspaceColumn":{"properties":{"name":{"type":"string","maxLength":120,"minLength":1,"title":"Name"},"data_type":{"type":"string","maxLength":80,"minLength":1,"title":"Data Type","default":"unknown"},"unit":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Unit"},"basis":{"anyOf":[{"type":"string","maxLength":240},{"type":"null"}],"title":"Basis"}},"additionalProperties":false,"type":"object","required":["name"],"title":"WorkspaceColumn"},"WorkspaceDeliverableStatus":{"type":"string","enum":["pending","running","draft","complete","partial","needs_review","failed","archived"],"title":"WorkspaceDeliverableStatus","description":"User-visible lifecycle state for report and interactive deliverables."},"WorkspacePage":{"properties":{"items":{"items":{"$ref":"#/components/schemas/WorkspaceSummary"},"type":"array","title":"Items"},"next_cursor":{"anyOf":[{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9_.:-]{0,239}$"},{"type":"null"}],"title":"Next Cursor"}},"additionalProperties":false,"type":"object","required":["items"],"title":"WorkspacePage"},"WorkspaceRevisionKind":{"type":"string","enum":["create","edit","refresh","rerun"],"title":"WorkspaceRevisionKind"},"WorkspaceSourceReference":{"properties":{"source_id":{"type":"string","maxLength":240,"minLength":1,"title":"Source Id"},"title":{"type":"string","maxLength":300,"minLength":1,"title":"Title"},"provider":{"type":"string","maxLength":100,"minLength":1,"title":"Provider"},"url":{"anyOf":[{"type":"string","maxLength":2000,"pattern":"^https?://"},{"type":"null"}],"title":"Url"},"description":{"anyOf":[{"type":"string","maxLength":1200},{"type":"null"}],"title":"Description"},"observation_time":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Observation Time"},"publication_time":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Publication Time"},"retrieval_time":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Retrieval Time"}},"additionalProperties":false,"type":"object","required":["source_id","title","provider"],"title":"WorkspaceSourceReference"},"WorkspaceSummary":{"properties":{"reference":{"$ref":"#/components/schemas/ResourceRef"},"version":{"type":"integer","title":"Version"},"artifact_type":{"type":"string","title":"Artifact Type"},"title":{"type":"string","title":"Title"},"columns":{"items":{"$ref":"#/components/schemas/WorkspaceColumn"},"type":"array","title":"Columns"},"row_count":{"type":"integer","title":"Row Count"},"stored_row_count":{"type":"integer","title":"Stored Row Count"},"unit":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Unit"},"basis":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Basis"},"cadence":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cadence"},"time_range":{"$ref":"#/components/schemas/WorkspaceTimeRange"},"source_refs":{"items":{"$ref":"#/components/schemas/WorkspaceSourceReference"},"type":"array","title":"Source Refs"},"coverage_complete":{"type":"boolean","title":"Coverage Complete"},"freshness":{"type":"string","title":"Freshness"},"validation_state":{"type":"string","title":"Validation State"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"original_file":{"anyOf":[{"$ref":"#/components/schemas/OriginalFile"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["reference","version","artifact_type","title","columns","row_count","stored_row_count","unit","basis","cadence","time_range","source_refs","coverage_complete","freshness","validation_state","created_at"],"title":"WorkspaceSummary"},"WorkspaceTimeRange":{"properties":{"start":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Start"},"end":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"End"}},"additionalProperties":false,"type":"object","title":"WorkspaceTimeRange"}},"securitySchemes":{"TrumanAPIKey":{"type":"http","scheme":"bearer","description":"Paste your Truman API key only; Swagger UI adds Bearer. The key stays in this page's memory and is cleared on refresh. Use a server-side key store for your own integration, never frontend application code."}}},"servers":[{"url":"/truman"}]}