@1claw/openapi-spec 0.44.0 → 0.44.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -2
- package/openapi.json +767 -117
- package/openapi.yaml +448 -0
- package/package.json +1 -1
package/openapi.json
CHANGED
|
@@ -158,6 +158,10 @@
|
|
|
158
158
|
{
|
|
159
159
|
"name": "Agent Channels",
|
|
160
160
|
"description": "External messaging channels (Telegram, WhatsApp, Discord)"
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
"name": "OAuth Connect",
|
|
164
|
+
"description": "OAuth connected accounts for agents (provider registry, connect flows, app credentials)"
|
|
161
165
|
}
|
|
162
166
|
],
|
|
163
167
|
"paths": {
|
|
@@ -12080,6 +12084,66 @@
|
|
|
12080
12084
|
}
|
|
12081
12085
|
}
|
|
12082
12086
|
},
|
|
12087
|
+
"/v1/agents/org-directory": {
|
|
12088
|
+
"get": {
|
|
12089
|
+
"tags": [
|
|
12090
|
+
"agents",
|
|
12091
|
+
"discovery"
|
|
12092
|
+
],
|
|
12093
|
+
"summary": "List org agents",
|
|
12094
|
+
"description": "List agents within the caller's organization for sub-agent discovery.\nReturns agents with their capabilities, enabling agent-to-agent\ncoordination and discovery within an org. Requires authentication.\n",
|
|
12095
|
+
"operationId": "listOrgDirectory",
|
|
12096
|
+
"parameters": [
|
|
12097
|
+
{
|
|
12098
|
+
"name": "q",
|
|
12099
|
+
"in": "query",
|
|
12100
|
+
"schema": {
|
|
12101
|
+
"type": "string"
|
|
12102
|
+
},
|
|
12103
|
+
"description": "Search query to filter agents by name or description"
|
|
12104
|
+
},
|
|
12105
|
+
{
|
|
12106
|
+
"name": "tags",
|
|
12107
|
+
"in": "query",
|
|
12108
|
+
"schema": {
|
|
12109
|
+
"type": "string"
|
|
12110
|
+
},
|
|
12111
|
+
"description": "Comma-separated tag filter"
|
|
12112
|
+
},
|
|
12113
|
+
{
|
|
12114
|
+
"name": "page",
|
|
12115
|
+
"in": "query",
|
|
12116
|
+
"schema": {
|
|
12117
|
+
"type": "integer",
|
|
12118
|
+
"default": 1
|
|
12119
|
+
}
|
|
12120
|
+
},
|
|
12121
|
+
{
|
|
12122
|
+
"name": "page_size",
|
|
12123
|
+
"in": "query",
|
|
12124
|
+
"schema": {
|
|
12125
|
+
"type": "integer",
|
|
12126
|
+
"default": 20
|
|
12127
|
+
}
|
|
12128
|
+
}
|
|
12129
|
+
],
|
|
12130
|
+
"responses": {
|
|
12131
|
+
"200": {
|
|
12132
|
+
"description": "Org agent directory listing",
|
|
12133
|
+
"content": {
|
|
12134
|
+
"application/json": {
|
|
12135
|
+
"schema": {
|
|
12136
|
+
"$ref": "#/components/schemas/OrgDirectoryResponse"
|
|
12137
|
+
}
|
|
12138
|
+
}
|
|
12139
|
+
}
|
|
12140
|
+
},
|
|
12141
|
+
"401": {
|
|
12142
|
+
"$ref": "#/components/responses/Unauthorized"
|
|
12143
|
+
}
|
|
12144
|
+
}
|
|
12145
|
+
}
|
|
12146
|
+
},
|
|
12083
12147
|
"/v1/agents/{agent_id}/discovery": {
|
|
12084
12148
|
"patch": {
|
|
12085
12149
|
"tags": [
|
|
@@ -12180,7 +12244,7 @@
|
|
|
12180
12244
|
"Agent Chat"
|
|
12181
12245
|
],
|
|
12182
12246
|
"summary": "Send chat message",
|
|
12183
|
-
"description": "Send a message to an agent and receive a response via Shroud LLM.\nSupports SSE streaming when Accept: text/event-stream is set.\n",
|
|
12247
|
+
"description": "Send a message to an agent and receive a response via Shroud LLM.\nSupports SSE streaming when Accept: text/event-stream is set.\n\nAgents can call this endpoint on other agents within the same\norganization for inter-agent communication (agent-to-agent chat).\nThe caller must be authenticated and belong to the same org as\nthe target agent.\n",
|
|
12184
12248
|
"operationId": "sendChatMessage",
|
|
12185
12249
|
"parameters": [
|
|
12186
12250
|
{
|
|
@@ -12818,142 +12882,427 @@
|
|
|
12818
12882
|
}
|
|
12819
12883
|
}
|
|
12820
12884
|
}
|
|
12821
|
-
}
|
|
12822
|
-
},
|
|
12823
|
-
"components": {
|
|
12824
|
-
"securitySchemes": {
|
|
12825
|
-
"BearerAuth": {
|
|
12826
|
-
"type": "http",
|
|
12827
|
-
"scheme": "bearer",
|
|
12828
|
-
"bearerFormat": "JWT"
|
|
12829
|
-
},
|
|
12830
|
-
"ApiKeyAuth": {
|
|
12831
|
-
"type": "http",
|
|
12832
|
-
"scheme": "bearer",
|
|
12833
|
-
"description": "1ck_ prefixed API key used as Bearer token"
|
|
12834
|
-
}
|
|
12835
12885
|
},
|
|
12836
|
-
"
|
|
12837
|
-
"
|
|
12838
|
-
"
|
|
12839
|
-
|
|
12840
|
-
|
|
12841
|
-
"
|
|
12842
|
-
|
|
12843
|
-
|
|
12844
|
-
|
|
12845
|
-
|
|
12846
|
-
|
|
12847
|
-
|
|
12848
|
-
|
|
12849
|
-
|
|
12850
|
-
|
|
12851
|
-
|
|
12852
|
-
|
|
12853
|
-
|
|
12854
|
-
|
|
12855
|
-
|
|
12856
|
-
"name": "agent_id",
|
|
12857
|
-
"in": "path",
|
|
12858
|
-
"required": true,
|
|
12859
|
-
"schema": {
|
|
12860
|
-
"type": "string",
|
|
12861
|
-
"format": "uuid"
|
|
12862
|
-
}
|
|
12863
|
-
},
|
|
12864
|
-
"PolicyId": {
|
|
12865
|
-
"name": "policy_id",
|
|
12866
|
-
"in": "path",
|
|
12867
|
-
"required": true,
|
|
12868
|
-
"schema": {
|
|
12869
|
-
"type": "string",
|
|
12870
|
-
"format": "uuid"
|
|
12871
|
-
}
|
|
12872
|
-
},
|
|
12873
|
-
"CardId": {
|
|
12874
|
-
"name": "card_id",
|
|
12875
|
-
"in": "path",
|
|
12876
|
-
"required": true,
|
|
12877
|
-
"schema": {
|
|
12878
|
-
"type": "string",
|
|
12879
|
-
"format": "uuid"
|
|
12880
|
-
}
|
|
12881
|
-
},
|
|
12882
|
-
"IncludeSignedTx": {
|
|
12883
|
-
"name": "include_signed_tx",
|
|
12884
|
-
"in": "query",
|
|
12885
|
-
"required": false,
|
|
12886
|
-
"description": "Set to `true` or `1` to include the raw signed transaction hex in the response. Omitted by default to reduce key exfiltration risk. Only the literal values \"true\" or \"1\" enable inclusion; any other value or omission returns responses without signed_tx. Applies to GET /v1/agents/{agent_id}/transactions and GET /v1/agents/{agent_id}/transactions/{tx_id}.\n",
|
|
12887
|
-
"schema": {
|
|
12888
|
-
"type": "boolean",
|
|
12889
|
-
"default": false,
|
|
12890
|
-
"example": false
|
|
12886
|
+
"/v1/oauth/providers": {
|
|
12887
|
+
"get": {
|
|
12888
|
+
"tags": [
|
|
12889
|
+
"OAuth Connect"
|
|
12890
|
+
],
|
|
12891
|
+
"summary": "List OAuth providers",
|
|
12892
|
+
"description": "Returns the list of supported OAuth providers with their metadata,\navailable scopes, and authorization URLs. No authentication required.\n",
|
|
12893
|
+
"operationId": "listOAuthProviders",
|
|
12894
|
+
"security": [],
|
|
12895
|
+
"responses": {
|
|
12896
|
+
"200": {
|
|
12897
|
+
"description": "Provider list",
|
|
12898
|
+
"content": {
|
|
12899
|
+
"application/json": {
|
|
12900
|
+
"schema": {
|
|
12901
|
+
"$ref": "#/components/schemas/OAuthProviderListResponse"
|
|
12902
|
+
}
|
|
12903
|
+
}
|
|
12904
|
+
}
|
|
12905
|
+
}
|
|
12891
12906
|
}
|
|
12892
12907
|
}
|
|
12893
12908
|
},
|
|
12894
|
-
"
|
|
12895
|
-
"
|
|
12896
|
-
"
|
|
12897
|
-
|
|
12898
|
-
|
|
12899
|
-
|
|
12900
|
-
|
|
12901
|
-
|
|
12909
|
+
"/v1/agents/{agent_id}/oauth/connect": {
|
|
12910
|
+
"post": {
|
|
12911
|
+
"tags": [
|
|
12912
|
+
"OAuth Connect"
|
|
12913
|
+
],
|
|
12914
|
+
"summary": "Initiate OAuth connection",
|
|
12915
|
+
"description": "Start an OAuth authorization flow for the specified agent and provider.\nReturns the authorization URL to redirect the user to. Human-only.\n",
|
|
12916
|
+
"operationId": "connectOAuth",
|
|
12917
|
+
"parameters": [
|
|
12918
|
+
{
|
|
12919
|
+
"$ref": "#/components/parameters/AgentId"
|
|
12902
12920
|
}
|
|
12903
|
-
|
|
12904
|
-
|
|
12905
|
-
|
|
12906
|
-
|
|
12907
|
-
|
|
12908
|
-
|
|
12909
|
-
|
|
12910
|
-
|
|
12921
|
+
],
|
|
12922
|
+
"requestBody": {
|
|
12923
|
+
"required": true,
|
|
12924
|
+
"content": {
|
|
12925
|
+
"application/json": {
|
|
12926
|
+
"schema": {
|
|
12927
|
+
"$ref": "#/components/schemas/ConnectOAuthRequest"
|
|
12928
|
+
}
|
|
12911
12929
|
}
|
|
12912
12930
|
}
|
|
12913
|
-
}
|
|
12914
|
-
|
|
12915
|
-
|
|
12916
|
-
|
|
12917
|
-
|
|
12918
|
-
|
|
12919
|
-
|
|
12920
|
-
|
|
12931
|
+
},
|
|
12932
|
+
"responses": {
|
|
12933
|
+
"200": {
|
|
12934
|
+
"description": "Authorization URL generated",
|
|
12935
|
+
"content": {
|
|
12936
|
+
"application/json": {
|
|
12937
|
+
"schema": {
|
|
12938
|
+
"$ref": "#/components/schemas/ConnectOAuthResponse"
|
|
12939
|
+
}
|
|
12940
|
+
}
|
|
12921
12941
|
}
|
|
12942
|
+
},
|
|
12943
|
+
"400": {
|
|
12944
|
+
"$ref": "#/components/responses/BadRequest"
|
|
12945
|
+
},
|
|
12946
|
+
"403": {
|
|
12947
|
+
"$ref": "#/components/responses/Forbidden"
|
|
12948
|
+
},
|
|
12949
|
+
"404": {
|
|
12950
|
+
"$ref": "#/components/responses/NotFound"
|
|
12922
12951
|
}
|
|
12923
12952
|
}
|
|
12924
|
-
}
|
|
12925
|
-
|
|
12926
|
-
|
|
12927
|
-
|
|
12928
|
-
|
|
12929
|
-
|
|
12930
|
-
|
|
12931
|
-
|
|
12953
|
+
}
|
|
12954
|
+
},
|
|
12955
|
+
"/v1/agents/{agent_id}/oauth/connections": {
|
|
12956
|
+
"get": {
|
|
12957
|
+
"tags": [
|
|
12958
|
+
"OAuth Connect"
|
|
12959
|
+
],
|
|
12960
|
+
"summary": "List OAuth connections",
|
|
12961
|
+
"description": "List all active OAuth connections for the specified agent.",
|
|
12962
|
+
"operationId": "listOAuthConnections",
|
|
12963
|
+
"parameters": [
|
|
12964
|
+
{
|
|
12965
|
+
"$ref": "#/components/parameters/AgentId"
|
|
12932
12966
|
}
|
|
12933
|
-
|
|
12934
|
-
|
|
12935
|
-
|
|
12936
|
-
|
|
12937
|
-
|
|
12938
|
-
|
|
12939
|
-
|
|
12940
|
-
|
|
12967
|
+
],
|
|
12968
|
+
"responses": {
|
|
12969
|
+
"200": {
|
|
12970
|
+
"description": "Connection list",
|
|
12971
|
+
"content": {
|
|
12972
|
+
"application/json": {
|
|
12973
|
+
"schema": {
|
|
12974
|
+
"$ref": "#/components/schemas/OAuthConnectionListResponse"
|
|
12975
|
+
}
|
|
12976
|
+
}
|
|
12941
12977
|
}
|
|
12978
|
+
},
|
|
12979
|
+
"404": {
|
|
12980
|
+
"$ref": "#/components/responses/NotFound"
|
|
12942
12981
|
}
|
|
12943
12982
|
}
|
|
12944
|
-
}
|
|
12945
|
-
|
|
12946
|
-
|
|
12947
|
-
|
|
12948
|
-
|
|
12983
|
+
}
|
|
12984
|
+
},
|
|
12985
|
+
"/v1/agents/{agent_id}/oauth/disconnect/{binding_id}": {
|
|
12986
|
+
"post": {
|
|
12987
|
+
"tags": [
|
|
12988
|
+
"OAuth Connect"
|
|
12989
|
+
],
|
|
12990
|
+
"summary": "Disconnect OAuth connection",
|
|
12991
|
+
"description": "Disconnect an OAuth connection by revoking tokens and removing the binding.\nHuman-only.\n",
|
|
12992
|
+
"operationId": "disconnectOAuth",
|
|
12993
|
+
"parameters": [
|
|
12994
|
+
{
|
|
12995
|
+
"$ref": "#/components/parameters/AgentId"
|
|
12996
|
+
},
|
|
12997
|
+
{
|
|
12998
|
+
"name": "binding_id",
|
|
12999
|
+
"in": "path",
|
|
13000
|
+
"required": true,
|
|
12949
13001
|
"schema": {
|
|
12950
|
-
"
|
|
13002
|
+
"type": "string",
|
|
13003
|
+
"format": "uuid"
|
|
12951
13004
|
}
|
|
12952
13005
|
}
|
|
13006
|
+
],
|
|
13007
|
+
"responses": {
|
|
13008
|
+
"204": {
|
|
13009
|
+
"description": "Connection disconnected"
|
|
13010
|
+
},
|
|
13011
|
+
"403": {
|
|
13012
|
+
"$ref": "#/components/responses/Forbidden"
|
|
13013
|
+
},
|
|
13014
|
+
"404": {
|
|
13015
|
+
"$ref": "#/components/responses/NotFound"
|
|
13016
|
+
}
|
|
12953
13017
|
}
|
|
12954
13018
|
}
|
|
12955
13019
|
},
|
|
12956
|
-
"
|
|
13020
|
+
"/v1/agents/{agent_id}/oauth/app-credentials": {
|
|
13021
|
+
"post": {
|
|
13022
|
+
"tags": [
|
|
13023
|
+
"OAuth Connect"
|
|
13024
|
+
],
|
|
13025
|
+
"summary": "Save OAuth app credentials",
|
|
13026
|
+
"description": "Store custom OAuth app credentials (client ID/secret) for a provider.\nAllows the agent to use a BYOA (Bring Your Own App) OAuth application\ninstead of 1Claw's shared credentials. Human-only.\n",
|
|
13027
|
+
"operationId": "saveOAuthAppCredentials",
|
|
13028
|
+
"parameters": [
|
|
13029
|
+
{
|
|
13030
|
+
"$ref": "#/components/parameters/AgentId"
|
|
13031
|
+
}
|
|
13032
|
+
],
|
|
13033
|
+
"requestBody": {
|
|
13034
|
+
"required": true,
|
|
13035
|
+
"content": {
|
|
13036
|
+
"application/json": {
|
|
13037
|
+
"schema": {
|
|
13038
|
+
"$ref": "#/components/schemas/SaveOAuthAppCredentialsRequest"
|
|
13039
|
+
}
|
|
13040
|
+
}
|
|
13041
|
+
}
|
|
13042
|
+
},
|
|
13043
|
+
"responses": {
|
|
13044
|
+
"201": {
|
|
13045
|
+
"description": "Credentials saved",
|
|
13046
|
+
"content": {
|
|
13047
|
+
"application/json": {
|
|
13048
|
+
"schema": {
|
|
13049
|
+
"$ref": "#/components/schemas/OAuthAppCredentialResponse"
|
|
13050
|
+
}
|
|
13051
|
+
}
|
|
13052
|
+
}
|
|
13053
|
+
},
|
|
13054
|
+
"400": {
|
|
13055
|
+
"$ref": "#/components/responses/BadRequest"
|
|
13056
|
+
},
|
|
13057
|
+
"403": {
|
|
13058
|
+
"$ref": "#/components/responses/Forbidden"
|
|
13059
|
+
},
|
|
13060
|
+
"404": {
|
|
13061
|
+
"$ref": "#/components/responses/NotFound"
|
|
13062
|
+
}
|
|
13063
|
+
}
|
|
13064
|
+
},
|
|
13065
|
+
"get": {
|
|
13066
|
+
"tags": [
|
|
13067
|
+
"OAuth Connect"
|
|
13068
|
+
],
|
|
13069
|
+
"summary": "List OAuth app credentials",
|
|
13070
|
+
"description": "List stored OAuth app credentials for the agent. Client secrets\nare never returned in the response.\n",
|
|
13071
|
+
"operationId": "listOAuthAppCredentials",
|
|
13072
|
+
"parameters": [
|
|
13073
|
+
{
|
|
13074
|
+
"$ref": "#/components/parameters/AgentId"
|
|
13075
|
+
}
|
|
13076
|
+
],
|
|
13077
|
+
"responses": {
|
|
13078
|
+
"200": {
|
|
13079
|
+
"description": "Credential list",
|
|
13080
|
+
"content": {
|
|
13081
|
+
"application/json": {
|
|
13082
|
+
"schema": {
|
|
13083
|
+
"$ref": "#/components/schemas/OAuthAppCredentialListResponse"
|
|
13084
|
+
}
|
|
13085
|
+
}
|
|
13086
|
+
}
|
|
13087
|
+
},
|
|
13088
|
+
"404": {
|
|
13089
|
+
"$ref": "#/components/responses/NotFound"
|
|
13090
|
+
}
|
|
13091
|
+
}
|
|
13092
|
+
}
|
|
13093
|
+
},
|
|
13094
|
+
"/v1/agents/{agent_id}/oauth/app-credentials/{provider_slug}": {
|
|
13095
|
+
"delete": {
|
|
13096
|
+
"tags": [
|
|
13097
|
+
"OAuth Connect"
|
|
13098
|
+
],
|
|
13099
|
+
"summary": "Delete OAuth app credentials",
|
|
13100
|
+
"description": "Remove stored OAuth app credentials for a specific provider. Human-only.\n",
|
|
13101
|
+
"operationId": "deleteOAuthAppCredentials",
|
|
13102
|
+
"parameters": [
|
|
13103
|
+
{
|
|
13104
|
+
"$ref": "#/components/parameters/AgentId"
|
|
13105
|
+
},
|
|
13106
|
+
{
|
|
13107
|
+
"name": "provider_slug",
|
|
13108
|
+
"in": "path",
|
|
13109
|
+
"required": true,
|
|
13110
|
+
"schema": {
|
|
13111
|
+
"type": "string"
|
|
13112
|
+
},
|
|
13113
|
+
"description": "Provider identifier (e.g. \"github\", \"google\", \"slack\")"
|
|
13114
|
+
}
|
|
13115
|
+
],
|
|
13116
|
+
"responses": {
|
|
13117
|
+
"204": {
|
|
13118
|
+
"description": "Credentials deleted"
|
|
13119
|
+
},
|
|
13120
|
+
"403": {
|
|
13121
|
+
"$ref": "#/components/responses/Forbidden"
|
|
13122
|
+
},
|
|
13123
|
+
"404": {
|
|
13124
|
+
"$ref": "#/components/responses/NotFound"
|
|
13125
|
+
}
|
|
13126
|
+
}
|
|
13127
|
+
}
|
|
13128
|
+
},
|
|
13129
|
+
"/v1/oauth/callback": {
|
|
13130
|
+
"get": {
|
|
13131
|
+
"tags": [
|
|
13132
|
+
"OAuth Connect"
|
|
13133
|
+
],
|
|
13134
|
+
"summary": "OAuth callback",
|
|
13135
|
+
"description": "Public callback URL that OAuth providers redirect to after user authorization.\nExchanges the authorization code for tokens and redirects to the dashboard.\n",
|
|
13136
|
+
"operationId": "oauthConnectCallback",
|
|
13137
|
+
"security": [],
|
|
13138
|
+
"parameters": [
|
|
13139
|
+
{
|
|
13140
|
+
"name": "code",
|
|
13141
|
+
"in": "query",
|
|
13142
|
+
"schema": {
|
|
13143
|
+
"type": "string"
|
|
13144
|
+
},
|
|
13145
|
+
"description": "Authorization code from the OAuth provider"
|
|
13146
|
+
},
|
|
13147
|
+
{
|
|
13148
|
+
"name": "state",
|
|
13149
|
+
"in": "query",
|
|
13150
|
+
"schema": {
|
|
13151
|
+
"type": "string"
|
|
13152
|
+
},
|
|
13153
|
+
"description": "Opaque state parameter for CSRF protection and session binding"
|
|
13154
|
+
},
|
|
13155
|
+
{
|
|
13156
|
+
"name": "error",
|
|
13157
|
+
"in": "query",
|
|
13158
|
+
"schema": {
|
|
13159
|
+
"type": "string"
|
|
13160
|
+
},
|
|
13161
|
+
"description": "Error code if the authorization was denied or failed"
|
|
13162
|
+
}
|
|
13163
|
+
],
|
|
13164
|
+
"responses": {
|
|
13165
|
+
"302": {
|
|
13166
|
+
"description": "Redirect to dashboard with success or error status"
|
|
13167
|
+
}
|
|
13168
|
+
}
|
|
13169
|
+
}
|
|
13170
|
+
}
|
|
13171
|
+
},
|
|
13172
|
+
"components": {
|
|
13173
|
+
"securitySchemes": {
|
|
13174
|
+
"BearerAuth": {
|
|
13175
|
+
"type": "http",
|
|
13176
|
+
"scheme": "bearer",
|
|
13177
|
+
"bearerFormat": "JWT"
|
|
13178
|
+
},
|
|
13179
|
+
"ApiKeyAuth": {
|
|
13180
|
+
"type": "http",
|
|
13181
|
+
"scheme": "bearer",
|
|
13182
|
+
"description": "1ck_ prefixed API key used as Bearer token"
|
|
13183
|
+
}
|
|
13184
|
+
},
|
|
13185
|
+
"parameters": {
|
|
13186
|
+
"VaultId": {
|
|
13187
|
+
"name": "vault_id",
|
|
13188
|
+
"in": "path",
|
|
13189
|
+
"required": true,
|
|
13190
|
+
"schema": {
|
|
13191
|
+
"type": "string",
|
|
13192
|
+
"format": "uuid"
|
|
13193
|
+
}
|
|
13194
|
+
},
|
|
13195
|
+
"SecretPath": {
|
|
13196
|
+
"name": "path",
|
|
13197
|
+
"in": "path",
|
|
13198
|
+
"required": true,
|
|
13199
|
+
"schema": {
|
|
13200
|
+
"type": "string"
|
|
13201
|
+
},
|
|
13202
|
+
"description": "Secret path (e.g. \"db/credentials\")"
|
|
13203
|
+
},
|
|
13204
|
+
"AgentId": {
|
|
13205
|
+
"name": "agent_id",
|
|
13206
|
+
"in": "path",
|
|
13207
|
+
"required": true,
|
|
13208
|
+
"schema": {
|
|
13209
|
+
"type": "string",
|
|
13210
|
+
"format": "uuid"
|
|
13211
|
+
}
|
|
13212
|
+
},
|
|
13213
|
+
"PolicyId": {
|
|
13214
|
+
"name": "policy_id",
|
|
13215
|
+
"in": "path",
|
|
13216
|
+
"required": true,
|
|
13217
|
+
"schema": {
|
|
13218
|
+
"type": "string",
|
|
13219
|
+
"format": "uuid"
|
|
13220
|
+
}
|
|
13221
|
+
},
|
|
13222
|
+
"CardId": {
|
|
13223
|
+
"name": "card_id",
|
|
13224
|
+
"in": "path",
|
|
13225
|
+
"required": true,
|
|
13226
|
+
"schema": {
|
|
13227
|
+
"type": "string",
|
|
13228
|
+
"format": "uuid"
|
|
13229
|
+
}
|
|
13230
|
+
},
|
|
13231
|
+
"IncludeSignedTx": {
|
|
13232
|
+
"name": "include_signed_tx",
|
|
13233
|
+
"in": "query",
|
|
13234
|
+
"required": false,
|
|
13235
|
+
"description": "Set to `true` or `1` to include the raw signed transaction hex in the response. Omitted by default to reduce key exfiltration risk. Only the literal values \"true\" or \"1\" enable inclusion; any other value or omission returns responses without signed_tx. Applies to GET /v1/agents/{agent_id}/transactions and GET /v1/agents/{agent_id}/transactions/{tx_id}.\n",
|
|
13236
|
+
"schema": {
|
|
13237
|
+
"type": "boolean",
|
|
13238
|
+
"default": false,
|
|
13239
|
+
"example": false
|
|
13240
|
+
}
|
|
13241
|
+
}
|
|
13242
|
+
},
|
|
13243
|
+
"responses": {
|
|
13244
|
+
"BadRequest": {
|
|
13245
|
+
"description": "Invalid request",
|
|
13246
|
+
"content": {
|
|
13247
|
+
"application/json": {
|
|
13248
|
+
"schema": {
|
|
13249
|
+
"$ref": "#/components/schemas/ProblemDetails"
|
|
13250
|
+
}
|
|
13251
|
+
}
|
|
13252
|
+
}
|
|
13253
|
+
},
|
|
13254
|
+
"Unauthorized": {
|
|
13255
|
+
"description": "Authentication required or invalid",
|
|
13256
|
+
"content": {
|
|
13257
|
+
"application/json": {
|
|
13258
|
+
"schema": {
|
|
13259
|
+
"$ref": "#/components/schemas/ProblemDetails"
|
|
13260
|
+
}
|
|
13261
|
+
}
|
|
13262
|
+
}
|
|
13263
|
+
},
|
|
13264
|
+
"Forbidden": {
|
|
13265
|
+
"description": "Insufficient permissions",
|
|
13266
|
+
"content": {
|
|
13267
|
+
"application/json": {
|
|
13268
|
+
"schema": {
|
|
13269
|
+
"$ref": "#/components/schemas/ProblemDetails"
|
|
13270
|
+
}
|
|
13271
|
+
}
|
|
13272
|
+
}
|
|
13273
|
+
},
|
|
13274
|
+
"NotFound": {
|
|
13275
|
+
"description": "Resource not found",
|
|
13276
|
+
"content": {
|
|
13277
|
+
"application/json": {
|
|
13278
|
+
"schema": {
|
|
13279
|
+
"$ref": "#/components/schemas/ProblemDetails"
|
|
13280
|
+
}
|
|
13281
|
+
}
|
|
13282
|
+
}
|
|
13283
|
+
},
|
|
13284
|
+
"PaymentRequired": {
|
|
13285
|
+
"description": "x402 payment required",
|
|
13286
|
+
"content": {
|
|
13287
|
+
"application/json": {
|
|
13288
|
+
"schema": {
|
|
13289
|
+
"$ref": "#/components/schemas/PaymentRequirement"
|
|
13290
|
+
}
|
|
13291
|
+
}
|
|
13292
|
+
}
|
|
13293
|
+
},
|
|
13294
|
+
"Conflict": {
|
|
13295
|
+
"description": "Resource already exists or conflict",
|
|
13296
|
+
"content": {
|
|
13297
|
+
"application/json": {
|
|
13298
|
+
"schema": {
|
|
13299
|
+
"$ref": "#/components/schemas/ProblemDetails"
|
|
13300
|
+
}
|
|
13301
|
+
}
|
|
13302
|
+
}
|
|
13303
|
+
}
|
|
13304
|
+
},
|
|
13305
|
+
"schemas": {
|
|
12957
13306
|
"OrderCardRequest": {
|
|
12958
13307
|
"type": "object",
|
|
12959
13308
|
"required": [
|
|
@@ -21762,6 +22111,82 @@
|
|
|
21762
22111
|
}
|
|
21763
22112
|
}
|
|
21764
22113
|
},
|
|
22114
|
+
"OrgDirectoryAgent": {
|
|
22115
|
+
"type": "object",
|
|
22116
|
+
"required": [
|
|
22117
|
+
"id",
|
|
22118
|
+
"name",
|
|
22119
|
+
"intents_api_enabled",
|
|
22120
|
+
"execution_intents_enabled",
|
|
22121
|
+
"memory_enabled",
|
|
22122
|
+
"shroud_enabled"
|
|
22123
|
+
],
|
|
22124
|
+
"properties": {
|
|
22125
|
+
"id": {
|
|
22126
|
+
"type": "string",
|
|
22127
|
+
"format": "uuid"
|
|
22128
|
+
},
|
|
22129
|
+
"name": {
|
|
22130
|
+
"type": "string"
|
|
22131
|
+
},
|
|
22132
|
+
"public_description": {
|
|
22133
|
+
"type": "string",
|
|
22134
|
+
"nullable": true
|
|
22135
|
+
},
|
|
22136
|
+
"public_tags": {
|
|
22137
|
+
"type": "array",
|
|
22138
|
+
"items": {
|
|
22139
|
+
"type": "string"
|
|
22140
|
+
}
|
|
22141
|
+
},
|
|
22142
|
+
"a2a_url": {
|
|
22143
|
+
"type": "string",
|
|
22144
|
+
"nullable": true
|
|
22145
|
+
},
|
|
22146
|
+
"mcp_url": {
|
|
22147
|
+
"type": "string",
|
|
22148
|
+
"nullable": true
|
|
22149
|
+
},
|
|
22150
|
+
"intents_api_enabled": {
|
|
22151
|
+
"type": "boolean"
|
|
22152
|
+
},
|
|
22153
|
+
"execution_intents_enabled": {
|
|
22154
|
+
"type": "boolean"
|
|
22155
|
+
},
|
|
22156
|
+
"memory_enabled": {
|
|
22157
|
+
"type": "boolean"
|
|
22158
|
+
},
|
|
22159
|
+
"shroud_enabled": {
|
|
22160
|
+
"type": "boolean"
|
|
22161
|
+
}
|
|
22162
|
+
}
|
|
22163
|
+
},
|
|
22164
|
+
"OrgDirectoryResponse": {
|
|
22165
|
+
"type": "object",
|
|
22166
|
+
"required": [
|
|
22167
|
+
"agents",
|
|
22168
|
+
"total",
|
|
22169
|
+
"page",
|
|
22170
|
+
"page_size"
|
|
22171
|
+
],
|
|
22172
|
+
"properties": {
|
|
22173
|
+
"agents": {
|
|
22174
|
+
"type": "array",
|
|
22175
|
+
"items": {
|
|
22176
|
+
"$ref": "#/components/schemas/OrgDirectoryAgent"
|
|
22177
|
+
}
|
|
22178
|
+
},
|
|
22179
|
+
"total": {
|
|
22180
|
+
"type": "integer"
|
|
22181
|
+
},
|
|
22182
|
+
"page": {
|
|
22183
|
+
"type": "integer"
|
|
22184
|
+
},
|
|
22185
|
+
"page_size": {
|
|
22186
|
+
"type": "integer"
|
|
22187
|
+
}
|
|
22188
|
+
}
|
|
22189
|
+
},
|
|
21765
22190
|
"UpdateDiscoveryRequest": {
|
|
21766
22191
|
"type": "object",
|
|
21767
22192
|
"properties": {
|
|
@@ -22085,6 +22510,231 @@
|
|
|
22085
22510
|
}
|
|
22086
22511
|
}
|
|
22087
22512
|
}
|
|
22513
|
+
},
|
|
22514
|
+
"OAuthProviderScope": {
|
|
22515
|
+
"type": "object",
|
|
22516
|
+
"properties": {
|
|
22517
|
+
"scope": {
|
|
22518
|
+
"type": "string"
|
|
22519
|
+
},
|
|
22520
|
+
"label": {
|
|
22521
|
+
"type": "string"
|
|
22522
|
+
},
|
|
22523
|
+
"description": {
|
|
22524
|
+
"type": "string"
|
|
22525
|
+
},
|
|
22526
|
+
"default": {
|
|
22527
|
+
"type": "boolean"
|
|
22528
|
+
}
|
|
22529
|
+
}
|
|
22530
|
+
},
|
|
22531
|
+
"OAuthProvider": {
|
|
22532
|
+
"type": "object",
|
|
22533
|
+
"properties": {
|
|
22534
|
+
"slug": {
|
|
22535
|
+
"type": "string",
|
|
22536
|
+
"description": "Unique provider identifier (e.g. \"github\", \"google\", \"slack\")"
|
|
22537
|
+
},
|
|
22538
|
+
"display_name": {
|
|
22539
|
+
"type": "string"
|
|
22540
|
+
},
|
|
22541
|
+
"icon_url": {
|
|
22542
|
+
"type": "string",
|
|
22543
|
+
"format": "uri"
|
|
22544
|
+
},
|
|
22545
|
+
"authorization_url": {
|
|
22546
|
+
"type": "string",
|
|
22547
|
+
"format": "uri"
|
|
22548
|
+
},
|
|
22549
|
+
"token_url": {
|
|
22550
|
+
"type": "string",
|
|
22551
|
+
"format": "uri"
|
|
22552
|
+
},
|
|
22553
|
+
"scopes_available": {
|
|
22554
|
+
"type": "array",
|
|
22555
|
+
"items": {
|
|
22556
|
+
"$ref": "#/components/schemas/OAuthProviderScope"
|
|
22557
|
+
}
|
|
22558
|
+
},
|
|
22559
|
+
"default_scopes": {
|
|
22560
|
+
"type": "array",
|
|
22561
|
+
"items": {
|
|
22562
|
+
"type": "string"
|
|
22563
|
+
}
|
|
22564
|
+
},
|
|
22565
|
+
"extra_auth_params": {
|
|
22566
|
+
"type": "object",
|
|
22567
|
+
"additionalProperties": {
|
|
22568
|
+
"type": "string"
|
|
22569
|
+
},
|
|
22570
|
+
"nullable": true
|
|
22571
|
+
},
|
|
22572
|
+
"requires_app_credentials": {
|
|
22573
|
+
"type": "boolean",
|
|
22574
|
+
"description": "Whether custom app credentials are required (vs. shared 1Claw app)"
|
|
22575
|
+
},
|
|
22576
|
+
"documentation_url": {
|
|
22577
|
+
"type": "string",
|
|
22578
|
+
"format": "uri",
|
|
22579
|
+
"nullable": true
|
|
22580
|
+
}
|
|
22581
|
+
}
|
|
22582
|
+
},
|
|
22583
|
+
"OAuthProviderListResponse": {
|
|
22584
|
+
"type": "object",
|
|
22585
|
+
"properties": {
|
|
22586
|
+
"providers": {
|
|
22587
|
+
"type": "array",
|
|
22588
|
+
"items": {
|
|
22589
|
+
"$ref": "#/components/schemas/OAuthProvider"
|
|
22590
|
+
}
|
|
22591
|
+
}
|
|
22592
|
+
}
|
|
22593
|
+
},
|
|
22594
|
+
"ConnectOAuthRequest": {
|
|
22595
|
+
"type": "object",
|
|
22596
|
+
"required": [
|
|
22597
|
+
"provider_slug"
|
|
22598
|
+
],
|
|
22599
|
+
"properties": {
|
|
22600
|
+
"provider_slug": {
|
|
22601
|
+
"type": "string",
|
|
22602
|
+
"description": "Provider to connect (e.g. \"github\", \"google\", \"slack\")"
|
|
22603
|
+
},
|
|
22604
|
+
"scopes": {
|
|
22605
|
+
"type": "array",
|
|
22606
|
+
"items": {
|
|
22607
|
+
"type": "string"
|
|
22608
|
+
},
|
|
22609
|
+
"description": "Override default scopes for this connection"
|
|
22610
|
+
},
|
|
22611
|
+
"redirect_after": {
|
|
22612
|
+
"type": "string",
|
|
22613
|
+
"description": "URL to redirect to after the OAuth flow completes"
|
|
22614
|
+
}
|
|
22615
|
+
}
|
|
22616
|
+
},
|
|
22617
|
+
"ConnectOAuthResponse": {
|
|
22618
|
+
"type": "object",
|
|
22619
|
+
"properties": {
|
|
22620
|
+
"authorization_url": {
|
|
22621
|
+
"type": "string",
|
|
22622
|
+
"format": "uri",
|
|
22623
|
+
"description": "Redirect the user to this URL to authorize the connection"
|
|
22624
|
+
}
|
|
22625
|
+
}
|
|
22626
|
+
},
|
|
22627
|
+
"OAuthConnectionResponse": {
|
|
22628
|
+
"type": "object",
|
|
22629
|
+
"properties": {
|
|
22630
|
+
"binding_id": {
|
|
22631
|
+
"type": "string",
|
|
22632
|
+
"format": "uuid"
|
|
22633
|
+
},
|
|
22634
|
+
"provider_slug": {
|
|
22635
|
+
"type": "string"
|
|
22636
|
+
},
|
|
22637
|
+
"provider_name": {
|
|
22638
|
+
"type": "string"
|
|
22639
|
+
},
|
|
22640
|
+
"scopes": {
|
|
22641
|
+
"type": "array",
|
|
22642
|
+
"items": {
|
|
22643
|
+
"type": "string"
|
|
22644
|
+
}
|
|
22645
|
+
},
|
|
22646
|
+
"status": {
|
|
22647
|
+
"type": "string",
|
|
22648
|
+
"enum": [
|
|
22649
|
+
"active",
|
|
22650
|
+
"expired",
|
|
22651
|
+
"revoked"
|
|
22652
|
+
]
|
|
22653
|
+
},
|
|
22654
|
+
"needs_reauth": {
|
|
22655
|
+
"type": "boolean"
|
|
22656
|
+
},
|
|
22657
|
+
"created_at": {
|
|
22658
|
+
"type": "string",
|
|
22659
|
+
"format": "date-time"
|
|
22660
|
+
}
|
|
22661
|
+
}
|
|
22662
|
+
},
|
|
22663
|
+
"OAuthConnectionListResponse": {
|
|
22664
|
+
"type": "object",
|
|
22665
|
+
"properties": {
|
|
22666
|
+
"connections": {
|
|
22667
|
+
"type": "array",
|
|
22668
|
+
"items": {
|
|
22669
|
+
"$ref": "#/components/schemas/OAuthConnectionResponse"
|
|
22670
|
+
}
|
|
22671
|
+
}
|
|
22672
|
+
}
|
|
22673
|
+
},
|
|
22674
|
+
"SaveOAuthAppCredentialsRequest": {
|
|
22675
|
+
"type": "object",
|
|
22676
|
+
"required": [
|
|
22677
|
+
"provider_slug",
|
|
22678
|
+
"client_id",
|
|
22679
|
+
"client_secret"
|
|
22680
|
+
],
|
|
22681
|
+
"properties": {
|
|
22682
|
+
"provider_slug": {
|
|
22683
|
+
"type": "string",
|
|
22684
|
+
"description": "Provider this credential is for"
|
|
22685
|
+
},
|
|
22686
|
+
"client_id": {
|
|
22687
|
+
"type": "string"
|
|
22688
|
+
},
|
|
22689
|
+
"client_secret": {
|
|
22690
|
+
"type": "string",
|
|
22691
|
+
"description": "Write-only; never returned in responses"
|
|
22692
|
+
},
|
|
22693
|
+
"redirect_uri": {
|
|
22694
|
+
"type": "string",
|
|
22695
|
+
"format": "uri",
|
|
22696
|
+
"description": "Custom redirect URI override"
|
|
22697
|
+
}
|
|
22698
|
+
}
|
|
22699
|
+
},
|
|
22700
|
+
"OAuthAppCredentialResponse": {
|
|
22701
|
+
"type": "object",
|
|
22702
|
+
"properties": {
|
|
22703
|
+
"id": {
|
|
22704
|
+
"type": "string",
|
|
22705
|
+
"format": "uuid"
|
|
22706
|
+
},
|
|
22707
|
+
"provider_slug": {
|
|
22708
|
+
"type": "string"
|
|
22709
|
+
},
|
|
22710
|
+
"client_id": {
|
|
22711
|
+
"type": "string"
|
|
22712
|
+
},
|
|
22713
|
+
"redirect_uri": {
|
|
22714
|
+
"type": "string",
|
|
22715
|
+
"format": "uri",
|
|
22716
|
+
"nullable": true
|
|
22717
|
+
},
|
|
22718
|
+
"created_at": {
|
|
22719
|
+
"type": "string",
|
|
22720
|
+
"format": "date-time"
|
|
22721
|
+
},
|
|
22722
|
+
"updated_at": {
|
|
22723
|
+
"type": "string",
|
|
22724
|
+
"format": "date-time"
|
|
22725
|
+
}
|
|
22726
|
+
}
|
|
22727
|
+
},
|
|
22728
|
+
"OAuthAppCredentialListResponse": {
|
|
22729
|
+
"type": "object",
|
|
22730
|
+
"properties": {
|
|
22731
|
+
"credentials": {
|
|
22732
|
+
"type": "array",
|
|
22733
|
+
"items": {
|
|
22734
|
+
"$ref": "#/components/schemas/OAuthAppCredentialResponse"
|
|
22735
|
+
}
|
|
22736
|
+
}
|
|
22737
|
+
}
|
|
22088
22738
|
}
|
|
22089
22739
|
}
|
|
22090
22740
|
}
|