@deepraxis/sdk 0.1.0-dev.fa57968 → 0.1.0-dev.fe2a6ba
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/METHODS.md +86 -1
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/sdk.gen.d.ts +164 -20
- package/dist/generated/sdk.gen.js +421 -47
- package/dist/generated/types.gen.d.ts +5269 -1725
- package/dist/helpers/application-publish.d.ts +24 -4
- package/dist/helpers/application-publish.js +53 -3
- package/dist/operations.generated.d.ts +437 -9
- package/dist/operations.generated.js +545 -10
- package/dist/resources.generated.d.ts +752 -33
- package/dist/resources.generated.js +46 -0
- package/package.json +1 -1
|
@@ -61,7 +61,7 @@ export const operations = [
|
|
|
61
61
|
"resource": "agent.agents",
|
|
62
62
|
"method": "create",
|
|
63
63
|
"summary": "Create agent",
|
|
64
|
-
"description": "Create a reusable agent definition, then pass its returned id to sessions.create to start a conversation. The definition includes model, system prompt, tools, MCP servers and an optional multiagent roster. It is saved as version 1; real updates create new versions. Unlike Anthropic Managed Agents, nonempty skills attachments
|
|
64
|
+
"description": "Create a reusable agent definition, then pass its returned id to sessions.create to start a conversation. The definition includes model, system prompt, tools, MCP servers and an optional multiagent roster. It is saved as version 1; real updates create new versions. Unlike Anthropic Managed Agents, nonempty skills attachments return 400; the native skill tool is separate from the skills field. Use tools: [{type: \"agent_toolset_20260401\"}] for built-in tools including codemode, skill and agent; inspect toolsets.list for names and schemas, and keep bash enabled for native additions. To offer only some tools, set default_config: {enabled: false} and list the tools to keep in configs, e.g. tools: [{type: \"agent_toolset_20260401\", default_config: {enabled: false}, configs: [{name: \"codemode\", enabled: true}, {name: \"bash\", enabled: true, permission_policy: {type: \"always_ask\"}}]}]; every tool not listed, including todo_write, enter_plan_mode, ask_user_question and goal_read, follows default_config, and the response echoes it. codemode runs through bash, so enabling codemode while bash is disabled returns 400. Optional mcp_toolset entries pair with mcp_servers. model accepts platform model IDs such as deepseek-flash, not only the Claude IDs in the protocol examples. model.settings.reasoning sets default thinking; other extra model controls return 400. Example: {\"name\":\"helper\",\"model\":{\"id\":\"deepseek-flash\"},\"tools\":[{\"type\":\"agent_toolset_20260401\"}]}.",
|
|
65
65
|
"http": "POST",
|
|
66
66
|
"path": "/agent/v1/agents",
|
|
67
67
|
"streaming": "no",
|
|
@@ -94,7 +94,7 @@ export const operations = [
|
|
|
94
94
|
"type": "array",
|
|
95
95
|
"itemType": "object",
|
|
96
96
|
"required": false,
|
|
97
|
-
"description": "
|
|
97
|
+
"description": "Praxis extension: HTTP, SSE or trusted stdio MCP servers paired with mcp_toolset entries and saved with the agent version."
|
|
98
98
|
},
|
|
99
99
|
{
|
|
100
100
|
"name": "metadata",
|
|
@@ -175,6 +175,17 @@ export const operations = [
|
|
|
175
175
|
"type": "object",
|
|
176
176
|
"required": false,
|
|
177
177
|
"description": "Praxis extension: switchable model ids on /agent/v1 only. The default model must be included. When omitted, only the default model is selectable."
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
"name": "preset",
|
|
181
|
+
"type": "string",
|
|
182
|
+
"enum": [
|
|
183
|
+
"minimal",
|
|
184
|
+
"data-editor",
|
|
185
|
+
"full"
|
|
186
|
+
],
|
|
187
|
+
"required": false,
|
|
188
|
+
"description": "Optional tool preset. minimal enables read, glob, grep and ask_user_question; data-editor also enables write and edit; full uses the default toolset with always_allow. Explicit tools override matching preset entries. codemode requires bash and is absent from data-editor."
|
|
178
189
|
}
|
|
179
190
|
]
|
|
180
191
|
}
|
|
@@ -207,7 +218,7 @@ export const operations = [
|
|
|
207
218
|
"resource": "agent.agents",
|
|
208
219
|
"method": "update",
|
|
209
220
|
"summary": "Update agent",
|
|
210
|
-
"description": "Update an agent. Send the current version in the body for optimistic concurrency: a stale version returns 409, and an update that changes nothing keeps the version number. Any real change saves a new version; existing sessions keep the version they were created with. Omitted fields keep their value. multiagent takes null or a coordinator roster; subagent_model keeps its value when omitted and is cleared by null. Archived agents cannot be updated. Unlike Anthropic Managed Agents, nonempty skills attachments
|
|
221
|
+
"description": "Update an agent. Send the current version in the body for optimistic concurrency: a stale version returns 409, and an update that changes nothing keeps the version number. Any real change saves a new version; existing sessions keep the version they were created with. Omitted fields keep their value. multiagent takes null or a coordinator roster; subagent_model keeps its value when omitted and is cleared by null. Archived agents cannot be updated. Unlike Anthropic Managed Agents, nonempty skills attachments return 400; use the native skill tool for available runtime skills.",
|
|
211
222
|
"http": "POST",
|
|
212
223
|
"path": "/agent/v1/agents/{agent_id}",
|
|
213
224
|
"streaming": "no",
|
|
@@ -233,7 +244,7 @@ export const operations = [
|
|
|
233
244
|
"type": "array",
|
|
234
245
|
"itemType": "object",
|
|
235
246
|
"required": false,
|
|
236
|
-
"description": "
|
|
247
|
+
"description": "Praxis extension: HTTP, SSE or trusted stdio MCP servers paired with mcp_toolset entries and saved with the agent version."
|
|
237
248
|
},
|
|
238
249
|
{
|
|
239
250
|
"name": "metadata",
|
|
@@ -332,6 +343,17 @@ export const operations = [
|
|
|
332
343
|
"type": "object",
|
|
333
344
|
"required": false,
|
|
334
345
|
"description": "Praxis extension: switchable model ids on /agent/v1 only. The default model must be included. When omitted, only the default model is selectable."
|
|
346
|
+
},
|
|
347
|
+
{
|
|
348
|
+
"name": "preset",
|
|
349
|
+
"type": "string",
|
|
350
|
+
"enum": [
|
|
351
|
+
"minimal",
|
|
352
|
+
"data-editor",
|
|
353
|
+
"full"
|
|
354
|
+
],
|
|
355
|
+
"required": false,
|
|
356
|
+
"description": "Optional tool preset. minimal enables read, glob, grep and ask_user_question; data-editor also enables write and edit; full uses the default toolset with always_allow. Explicit tools override matching preset entries. codemode requires bash and is absent from data-editor."
|
|
335
357
|
}
|
|
336
358
|
]
|
|
337
359
|
}
|
|
@@ -353,6 +375,192 @@ export const operations = [
|
|
|
353
375
|
],
|
|
354
376
|
"query": []
|
|
355
377
|
},
|
|
378
|
+
{
|
|
379
|
+
"resource": "agent.agents.endUsers",
|
|
380
|
+
"method": "list",
|
|
381
|
+
"summary": "List End Users",
|
|
382
|
+
"description": "List users who have sessions or token issuance history on a service agent.\n\nOrdered by last_active_at and external_user_id descending. q is a case-sensitive literal prefix, including underscores. limit is 1–100, default 20. Reuse next_page with the same organization, agent, q and limit. Preemptively blocked users without history do not appear. End-user credentials and inaccessible or personal agents return 404.",
|
|
383
|
+
"http": "GET",
|
|
384
|
+
"path": "/agent/v1/agents/{agent_id}/end_users",
|
|
385
|
+
"streaming": "no",
|
|
386
|
+
"pagination": false,
|
|
387
|
+
"pathParams": [
|
|
388
|
+
{
|
|
389
|
+
"name": "agent_id",
|
|
390
|
+
"sdkName": "agent_id"
|
|
391
|
+
}
|
|
392
|
+
],
|
|
393
|
+
"query": [
|
|
394
|
+
{
|
|
395
|
+
"name": "limit",
|
|
396
|
+
"type": "integer",
|
|
397
|
+
"required": false,
|
|
398
|
+
"description": "Maximum users per page; defaults to 20."
|
|
399
|
+
},
|
|
400
|
+
{
|
|
401
|
+
"name": "page",
|
|
402
|
+
"type": "string",
|
|
403
|
+
"required": false,
|
|
404
|
+
"description": "next_page from the previous response with the same agent, q and limit."
|
|
405
|
+
},
|
|
406
|
+
{
|
|
407
|
+
"name": "q",
|
|
408
|
+
"type": "string",
|
|
409
|
+
"required": false,
|
|
410
|
+
"description": "Case-sensitive literal prefix of external_user_id; omit or use an empty string for all users."
|
|
411
|
+
}
|
|
412
|
+
]
|
|
413
|
+
},
|
|
414
|
+
{
|
|
415
|
+
"resource": "agent.agents.endUsers",
|
|
416
|
+
"method": "delete",
|
|
417
|
+
"summary": "Delete end-user data",
|
|
418
|
+
"description": "Delete a host application's end-user data from one service agent after explicit confirmation.\n\nDevelop only. Set confirm to the exact external_user_id; missing or mismatched confirmation returns 400. Returns 202 with a pending task id, not completion. Poll the deletion endpoint. Concurrent requests reuse the unfinished task; retry DELETE after failure to resume it. Tokens are revoked and the user is blocked before a seven-day recovery snapshot is verified. Sessions including child sessions, conversation data, grants and feedback are then removed. A pre-existing block remains; a temporary block is removed on success. Attachment metadata is recorded and File attachments are retained. No charge is introduced by this operation. Example: DELETE /agent/v1/agents/agent_example/end_users/customer_123?confirm=customer_123.",
|
|
419
|
+
"http": "DELETE",
|
|
420
|
+
"path": "/agent/v1/agents/{agent_id}/end_users/{external_user_id}",
|
|
421
|
+
"streaming": "no",
|
|
422
|
+
"pagination": false,
|
|
423
|
+
"pathParams": [
|
|
424
|
+
{
|
|
425
|
+
"name": "agent_id",
|
|
426
|
+
"sdkName": "agent_id"
|
|
427
|
+
},
|
|
428
|
+
{
|
|
429
|
+
"name": "external_user_id",
|
|
430
|
+
"sdkName": "external_user_id"
|
|
431
|
+
}
|
|
432
|
+
],
|
|
433
|
+
"query": [
|
|
434
|
+
{
|
|
435
|
+
"name": "confirm",
|
|
436
|
+
"type": "string",
|
|
437
|
+
"required": true,
|
|
438
|
+
"description": "Must exactly equal the external_user_id path parameter to confirm destructive deletion."
|
|
439
|
+
}
|
|
440
|
+
]
|
|
441
|
+
},
|
|
442
|
+
{
|
|
443
|
+
"resource": "agent.agents.endUsers",
|
|
444
|
+
"method": "retrieve",
|
|
445
|
+
"summary": "Get End User",
|
|
446
|
+
"description": "Inspect one end user and their twenty most recently updated sessions.\n\nUse external_user_id from listing or your host application. Users without session or issuance history return 404, including preemptively blocked users. End-user credentials and inaccessible or personal agents return 404.",
|
|
447
|
+
"http": "GET",
|
|
448
|
+
"path": "/agent/v1/agents/{agent_id}/end_users/{external_user_id}",
|
|
449
|
+
"streaming": "no",
|
|
450
|
+
"pagination": false,
|
|
451
|
+
"pathParams": [
|
|
452
|
+
{
|
|
453
|
+
"name": "agent_id",
|
|
454
|
+
"sdkName": "agent_id"
|
|
455
|
+
},
|
|
456
|
+
{
|
|
457
|
+
"name": "external_user_id",
|
|
458
|
+
"sdkName": "external_user_id"
|
|
459
|
+
}
|
|
460
|
+
],
|
|
461
|
+
"query": []
|
|
462
|
+
},
|
|
463
|
+
{
|
|
464
|
+
"resource": "agent.agents.endUsers.block",
|
|
465
|
+
"method": "create",
|
|
466
|
+
"summary": "Block End User",
|
|
467
|
+
"description": "Block token issuance and session creation, then revoke existing tokens for an end user.\n\nMay block a user before any history exists; timestamps are then null and counts and cost are zero. Requires an embed policy, otherwise returns 409 with setup guidance. Deduplicates the policy blocklist and retains its 1000-user maximum. If revocation returns 502, the user remains blocked; retry to finish revocation. Repeats keep the user blocked and revoke any remaining grants. End-user credentials and inaccessible or personal agents return 404.",
|
|
468
|
+
"http": "POST",
|
|
469
|
+
"path": "/agent/v1/agents/{agent_id}/end_users/{external_user_id}/block",
|
|
470
|
+
"streaming": "no",
|
|
471
|
+
"pagination": false,
|
|
472
|
+
"pathParams": [
|
|
473
|
+
{
|
|
474
|
+
"name": "agent_id",
|
|
475
|
+
"sdkName": "agent_id"
|
|
476
|
+
},
|
|
477
|
+
{
|
|
478
|
+
"name": "external_user_id",
|
|
479
|
+
"sdkName": "external_user_id"
|
|
480
|
+
}
|
|
481
|
+
],
|
|
482
|
+
"query": []
|
|
483
|
+
},
|
|
484
|
+
{
|
|
485
|
+
"resource": "agent.agents.endUsers",
|
|
486
|
+
"method": "retrieveDeletion",
|
|
487
|
+
"summary": "Get end-user deletion",
|
|
488
|
+
"description": "Poll the latest deletion task for an end user, including after the user data has been removed.\n\nUse the same agent_id and external_user_id as the confirmed DELETE. Status is pending, snapshotting, deleting, done or failed. Counts are empty until a verified snapshot exists. A failed task remains blocked and resumes when DELETE is retried with matching confirmation. snapshot_key is an operator recovery reference retained for seven days, not a public download URL. End-user credentials, inaccessible or personal agents, and missing tasks return 404. This read does not create a task or charge usage.",
|
|
489
|
+
"http": "GET",
|
|
490
|
+
"path": "/agent/v1/agents/{agent_id}/end_users/{external_user_id}/deletion",
|
|
491
|
+
"streaming": "no",
|
|
492
|
+
"pagination": false,
|
|
493
|
+
"pathParams": [
|
|
494
|
+
{
|
|
495
|
+
"name": "agent_id",
|
|
496
|
+
"sdkName": "agent_id"
|
|
497
|
+
},
|
|
498
|
+
{
|
|
499
|
+
"name": "external_user_id",
|
|
500
|
+
"sdkName": "external_user_id"
|
|
501
|
+
}
|
|
502
|
+
],
|
|
503
|
+
"query": []
|
|
504
|
+
},
|
|
505
|
+
{
|
|
506
|
+
"resource": "agent.agents.endUsers.revokeTokens",
|
|
507
|
+
"method": "create",
|
|
508
|
+
"summary": "Revoke End User Tokens",
|
|
509
|
+
"description": "Revoke all issued tokens for an end user and terminate their open embed streams.\n\nRevokes credentials before marking grants revoked. Upstream failure returns 502 without changing grant revocation timestamps. Returns the count of newly revoked grants; a repeat without new grants returns zero. Does not block future issuance. End-user credentials and inaccessible or personal agents return 404.",
|
|
510
|
+
"http": "POST",
|
|
511
|
+
"path": "/agent/v1/agents/{agent_id}/end_users/{external_user_id}/revoke_tokens",
|
|
512
|
+
"streaming": "no",
|
|
513
|
+
"pagination": false,
|
|
514
|
+
"pathParams": [
|
|
515
|
+
{
|
|
516
|
+
"name": "agent_id",
|
|
517
|
+
"sdkName": "agent_id"
|
|
518
|
+
},
|
|
519
|
+
{
|
|
520
|
+
"name": "external_user_id",
|
|
521
|
+
"sdkName": "external_user_id"
|
|
522
|
+
}
|
|
523
|
+
],
|
|
524
|
+
"query": []
|
|
525
|
+
},
|
|
526
|
+
{
|
|
527
|
+
"resource": "agent.agents.endUsers.unblock",
|
|
528
|
+
"method": "create",
|
|
529
|
+
"summary": "Unblock End User",
|
|
530
|
+
"description": "Allow an end user to receive new tokens and create new sessions again.\n\nRemoves the user from the blocklist; previously revoked tokens stay revoked. Idempotent. Requires an embed policy, otherwise returns 409 with setup guidance. Returns null timestamps and zero counts and cost when no session or issuance history exists. End-user credentials and inaccessible or personal agents return 404.",
|
|
531
|
+
"http": "POST",
|
|
532
|
+
"path": "/agent/v1/agents/{agent_id}/end_users/{external_user_id}/unblock",
|
|
533
|
+
"streaming": "no",
|
|
534
|
+
"pagination": false,
|
|
535
|
+
"pathParams": [
|
|
536
|
+
{
|
|
537
|
+
"name": "agent_id",
|
|
538
|
+
"sdkName": "agent_id"
|
|
539
|
+
},
|
|
540
|
+
{
|
|
541
|
+
"name": "external_user_id",
|
|
542
|
+
"sdkName": "external_user_id"
|
|
543
|
+
}
|
|
544
|
+
],
|
|
545
|
+
"query": []
|
|
546
|
+
},
|
|
547
|
+
{
|
|
548
|
+
"resource": "agent.agents.unarchive",
|
|
549
|
+
"method": "create",
|
|
550
|
+
"summary": "Unarchive Agent",
|
|
551
|
+
"description": "Restore an archived agent without creating a configuration version. Already active agents are unchanged. Missing or inaccessible agents return 404. Use the returned agent id to create new sessions.",
|
|
552
|
+
"http": "POST",
|
|
553
|
+
"path": "/agent/v1/agents/{agent_id}/unarchive",
|
|
554
|
+
"streaming": "no",
|
|
555
|
+
"pagination": false,
|
|
556
|
+
"pathParams": [
|
|
557
|
+
{
|
|
558
|
+
"name": "agent_id",
|
|
559
|
+
"sdkName": "agent_id"
|
|
560
|
+
}
|
|
561
|
+
],
|
|
562
|
+
"query": []
|
|
563
|
+
},
|
|
356
564
|
{
|
|
357
565
|
"resource": "agent.agents.versions",
|
|
358
566
|
"method": "list",
|
|
@@ -548,7 +756,7 @@ export const operations = [
|
|
|
548
756
|
"resource": "agent.computers",
|
|
549
757
|
"method": "connect",
|
|
550
758
|
"summary": "Connect computer",
|
|
551
|
-
"description": "Resume the computer and issue a sandbox connection.\n\nOwn-face extension: Managed Agents has no persistent Computer connection. Returns the public SDK sandbox_id, envd_access_token and template_id. Archived computers remain accessible; foreign or absent computers return 404. Never cache credentials.",
|
|
759
|
+
"description": "Resume the computer and issue a sandbox connection.\n\nOwn-face extension: Managed Agents has no persistent Computer connection. Returns the public SDK sandbox_id, envd_access_token and template_id, plus the machine tier the computer is on now (light or heavy) and the lease that keeps it there (lease_id, lease_expires_at; lease_id is null when no lease exists). Keep the lease while the connection stays open: renew it about every 20 seconds (POST .../leases/{lease_id}/renew) and release it on close (DELETE .../leases/{lease_id}). An unrenewed lease simply expires, and the full machine is reclaimed only after that. Archived computers remain accessible; foreign or absent computers return 404. Never cache credentials.\n\nConnect to a computer with a caller-held lease. Omit the body or send {} to request light: the lightweight shell, or the heavy instance while it is running. Send {\"need\":\"heavy\"} to request full Linux for interactive programs; files are synchronized before the heavy connection is returned with tier heavy. Heavy running time counts toward the daily budget in seconds. Renew the lease while using the connection and release it with DELETE when finished. If the daily budget is exhausted, 429 COMPUTER_BUDGET_EXHAUSTED allows you to continue with need light.",
|
|
552
760
|
"http": "POST",
|
|
553
761
|
"path": "/agent/v1/computers/{computer_id}/connect",
|
|
554
762
|
"streaming": "no",
|
|
@@ -559,7 +767,22 @@ export const operations = [
|
|
|
559
767
|
"sdkName": "computer_id"
|
|
560
768
|
}
|
|
561
769
|
],
|
|
562
|
-
"query": []
|
|
770
|
+
"query": [],
|
|
771
|
+
"body": {
|
|
772
|
+
"required": false,
|
|
773
|
+
"fields": [
|
|
774
|
+
{
|
|
775
|
+
"name": "need",
|
|
776
|
+
"type": "string",
|
|
777
|
+
"enum": [
|
|
778
|
+
"light",
|
|
779
|
+
"heavy"
|
|
780
|
+
],
|
|
781
|
+
"required": false,
|
|
782
|
+
"description": "Defaults to light. light uses the lightweight shell, or the heavy instance while it is running. heavy requests a full Linux computer for interactive programs; heavy running time counts toward the daily budget in seconds."
|
|
783
|
+
}
|
|
784
|
+
]
|
|
785
|
+
}
|
|
563
786
|
},
|
|
564
787
|
{
|
|
565
788
|
"resource": "agent.computers.files",
|
|
@@ -609,6 +832,48 @@ export const operations = [
|
|
|
609
832
|
}
|
|
610
833
|
]
|
|
611
834
|
},
|
|
835
|
+
{
|
|
836
|
+
"resource": "agent.computers.leases",
|
|
837
|
+
"method": "delete",
|
|
838
|
+
"summary": "Release computer lease",
|
|
839
|
+
"description": "Give the lease back when a connection closes so the full machine can be reclaimed without waiting for it to expire.\n\nOwn-face extension. Idempotent: an unknown or already released lease succeeds as well. Foreign or absent computers return 404.",
|
|
840
|
+
"http": "DELETE",
|
|
841
|
+
"path": "/agent/v1/computers/{computer_id}/leases/{lease_id}",
|
|
842
|
+
"streaming": "no",
|
|
843
|
+
"pagination": false,
|
|
844
|
+
"pathParams": [
|
|
845
|
+
{
|
|
846
|
+
"name": "computer_id",
|
|
847
|
+
"sdkName": "computer_id"
|
|
848
|
+
},
|
|
849
|
+
{
|
|
850
|
+
"name": "lease_id",
|
|
851
|
+
"sdkName": "lease_id"
|
|
852
|
+
}
|
|
853
|
+
],
|
|
854
|
+
"query": []
|
|
855
|
+
},
|
|
856
|
+
{
|
|
857
|
+
"resource": "agent.computers.leases.renew",
|
|
858
|
+
"method": "create",
|
|
859
|
+
"summary": "Renew computer lease",
|
|
860
|
+
"description": "Extend the lease a connection holds so the full machine stays in service while the connection is open.\n\nOwn-face extension. A lease that is no longer valid (released, expired, or the computer moved to another machine) returns 409 LEASE_STALE; call connect again for a new connection and lease. Foreign or absent computers return 404.",
|
|
861
|
+
"http": "POST",
|
|
862
|
+
"path": "/agent/v1/computers/{computer_id}/leases/{lease_id}/renew",
|
|
863
|
+
"streaming": "no",
|
|
864
|
+
"pagination": false,
|
|
865
|
+
"pathParams": [
|
|
866
|
+
{
|
|
867
|
+
"name": "computer_id",
|
|
868
|
+
"sdkName": "computer_id"
|
|
869
|
+
},
|
|
870
|
+
{
|
|
871
|
+
"name": "lease_id",
|
|
872
|
+
"sdkName": "lease_id"
|
|
873
|
+
}
|
|
874
|
+
],
|
|
875
|
+
"query": []
|
|
876
|
+
},
|
|
612
877
|
{
|
|
613
878
|
"resource": "agent.deploymentRuns",
|
|
614
879
|
"method": "list",
|
|
@@ -1026,6 +1291,41 @@ export const operations = [
|
|
|
1026
1291
|
],
|
|
1027
1292
|
"query": []
|
|
1028
1293
|
},
|
|
1294
|
+
{
|
|
1295
|
+
"resource": "agent.embed",
|
|
1296
|
+
"method": "retrieveAppearance",
|
|
1297
|
+
"summary": "Read chat appearance",
|
|
1298
|
+
"description": "Load saved appearance for an iframe or Hosted chat page. Supply an end-user embed token as Bearer authorization, or a console-issued publishable key in Praxis-Publishable-Key before anonymous token issuance. The credential selects the agent; identity_number and agent_id query parameters are rejected with 400. Missing appearance returns an empty object. Kit option names retain camelCase. Responses are private and cacheable for 60 seconds. Component hosts configure Kit in their own code instead.",
|
|
1299
|
+
"http": "GET",
|
|
1300
|
+
"path": "/agent/v1/embed/appearance",
|
|
1301
|
+
"streaming": "no",
|
|
1302
|
+
"pagination": false,
|
|
1303
|
+
"pathParams": [],
|
|
1304
|
+
"query": []
|
|
1305
|
+
},
|
|
1306
|
+
{
|
|
1307
|
+
"resource": "agent.embed.exchange",
|
|
1308
|
+
"method": "create",
|
|
1309
|
+
"summary": "Exchange Hosted Code",
|
|
1310
|
+
"description": "Redeem a single-use hosted link credential for an end-user token.\n\nRead code from the c fragment parameter of hosted_url returned by embed token creation with hosted true, then remove the fragment before exchanging. No Authorization header is required; the code authenticates this request. The code expires after 60 seconds and is consumed atomically on exchange, so concurrent attempts have only one winner. Expired, used and unknown codes return the same 404 body. Keep the token in memory and return to the host website for a fresh link when it expires; exchange cannot refresh it. Requests are IP limited per minute using the anonymous entrypoint budget (default 20). Example body is {\"code\":\"<code from hosted_url>\"}.",
|
|
1311
|
+
"http": "POST",
|
|
1312
|
+
"path": "/agent/v1/embed/exchange",
|
|
1313
|
+
"streaming": "no",
|
|
1314
|
+
"pagination": false,
|
|
1315
|
+
"pathParams": [],
|
|
1316
|
+
"query": [],
|
|
1317
|
+
"body": {
|
|
1318
|
+
"required": true,
|
|
1319
|
+
"fields": [
|
|
1320
|
+
{
|
|
1321
|
+
"name": "code",
|
|
1322
|
+
"type": "string",
|
|
1323
|
+
"required": true,
|
|
1324
|
+
"description": "Single-use credential from the c fragment parameter of hosted_url returned by embed token creation. Valid for 60 seconds."
|
|
1325
|
+
}
|
|
1326
|
+
]
|
|
1327
|
+
}
|
|
1328
|
+
},
|
|
1029
1329
|
{
|
|
1030
1330
|
"resource": "agent.embedTokens",
|
|
1031
1331
|
"method": "list",
|
|
@@ -1067,7 +1367,7 @@ export const operations = [
|
|
|
1067
1367
|
"resource": "agent.embedTokens",
|
|
1068
1368
|
"method": "create",
|
|
1069
1369
|
"summary": "Create Embed Token",
|
|
1070
|
-
"description": "Issue a short-lived credential on your backend for an end user of a service agent.\n\nRequires an active service agent in your organization with an embed policy. Pins the requested version or the latest version and snapshots the policy environment, vaults and resources; metadata comes from the request. Blocked users cannot receive tokens. Keep your API key on the backend and pass only the returned token to the frontend. Every call creates a new grant; issuance is not idempotent.
|
|
1370
|
+
"description": "Issue a short-lived credential on your backend for an end user of a service agent.\n\nRequires an active service agent in your organization with an embed policy. Pins the requested version or the latest version and snapshots the policy environment, vaults and resources; metadata comes from the request. Blocked users cannot receive tokens. Keep your API key on the backend and pass only the returned token to the frontend. Every call creates a new grant; issuance is not idempotent. Set hosted to true to also receive hosted_url; redirect the user there within 60 seconds. The agent must have an identity_number. The URL fragment contains a single-use exchange credential, not the token. Omit hosted or set false for ordinary token issuance.",
|
|
1071
1371
|
"http": "POST",
|
|
1072
1372
|
"path": "/agent/v1/embed_tokens",
|
|
1073
1373
|
"streaming": "no",
|
|
@@ -1077,6 +1377,12 @@ export const operations = [
|
|
|
1077
1377
|
"body": {
|
|
1078
1378
|
"required": true,
|
|
1079
1379
|
"fields": [
|
|
1380
|
+
{
|
|
1381
|
+
"name": "hosted",
|
|
1382
|
+
"type": "boolean",
|
|
1383
|
+
"required": false,
|
|
1384
|
+
"description": "Set true to also return a hosted chat URL with a single-use credential valid for 60 seconds. Defaults to false; the agent must have an identity_number."
|
|
1385
|
+
},
|
|
1080
1386
|
{
|
|
1081
1387
|
"name": "agent",
|
|
1082
1388
|
"type": "string",
|
|
@@ -1136,6 +1442,35 @@ export const operations = [
|
|
|
1136
1442
|
]
|
|
1137
1443
|
}
|
|
1138
1444
|
},
|
|
1445
|
+
{
|
|
1446
|
+
"resource": "agent.embedTokens.anonymous",
|
|
1447
|
+
"method": "create",
|
|
1448
|
+
"summary": "Issue anonymous visitor token",
|
|
1449
|
+
"description": "Obtain a short-lived embedding token for a visitor without an account using the agent owner's publishable key.\n\nNo Authorization header is required. Send the browser Origin allowed by the agent policy. Save a returned visitor_secret and reuse it for refreshes; only new visitors receive one. Unknown secrets create new visitors, and extra fields including visitor_id return 400. Issuance uses the key creator's organization membership, the key session budget and the smaller of the policy TTL maximum and 3600 seconds. IP requests are limited per minute (default 20); UTC daily session and spending caps are checked across the key's primary sessions created that day. Token issuance itself does not create a session or charge usage; subsequent sessions bill the host organization. Example body: {\"publishable_key\":\"pk_praxis_example\"}.",
|
|
1450
|
+
"http": "POST",
|
|
1451
|
+
"path": "/agent/v1/embed_tokens/anonymous",
|
|
1452
|
+
"streaming": "no",
|
|
1453
|
+
"pagination": false,
|
|
1454
|
+
"pathParams": [],
|
|
1455
|
+
"query": [],
|
|
1456
|
+
"body": {
|
|
1457
|
+
"required": true,
|
|
1458
|
+
"fields": [
|
|
1459
|
+
{
|
|
1460
|
+
"name": "publishable_key",
|
|
1461
|
+
"type": "string",
|
|
1462
|
+
"required": true,
|
|
1463
|
+
"description": "Public key created by the service agent owner; safe to include in browser code."
|
|
1464
|
+
},
|
|
1465
|
+
{
|
|
1466
|
+
"name": "visitor_secret",
|
|
1467
|
+
"type": "string",
|
|
1468
|
+
"required": false,
|
|
1469
|
+
"description": "Secret returned by a previous anonymous issuance for this key. Omit for a new visitor; an unknown secret creates a new visitor."
|
|
1470
|
+
}
|
|
1471
|
+
]
|
|
1472
|
+
}
|
|
1473
|
+
},
|
|
1139
1474
|
{
|
|
1140
1475
|
"resource": "agent.embedTokens.revoke",
|
|
1141
1476
|
"method": "create",
|
|
@@ -1432,6 +1767,25 @@ export const operations = [
|
|
|
1432
1767
|
"type": "string",
|
|
1433
1768
|
"required": false,
|
|
1434
1769
|
"description": "Opaque pagination cursor: pass the next_page value of the previous response unchanged. Omit it for the first page. A cursor from a different query or a malformed one returns 400."
|
|
1770
|
+
},
|
|
1771
|
+
{
|
|
1772
|
+
"name": "external_user_id",
|
|
1773
|
+
"type": "string",
|
|
1774
|
+
"required": false,
|
|
1775
|
+
"description": "Filter by an exact end-user identifier (1–128 characters: A-Z, a-z, 0-9, underscore, dot, colon, at sign or hyphen). Keep this filter unchanged when following page."
|
|
1776
|
+
},
|
|
1777
|
+
{
|
|
1778
|
+
"name": "source",
|
|
1779
|
+
"type": "string",
|
|
1780
|
+
"enum": [
|
|
1781
|
+
"kit",
|
|
1782
|
+
"iframe",
|
|
1783
|
+
"hosted",
|
|
1784
|
+
"api",
|
|
1785
|
+
"automation"
|
|
1786
|
+
],
|
|
1787
|
+
"required": false,
|
|
1788
|
+
"description": "Filter by session origin: kit, iframe, hosted, api or automation. Keep this filter unchanged when following page."
|
|
1435
1789
|
}
|
|
1436
1790
|
]
|
|
1437
1791
|
},
|
|
@@ -1439,7 +1793,7 @@ export const operations = [
|
|
|
1439
1793
|
"resource": "agent.sessions",
|
|
1440
1794
|
"method": "create",
|
|
1441
1795
|
"summary": "Create session",
|
|
1442
|
-
"description": "Create a session: one conversation with an agent, running on a machine. Pass agent as an agent id (latest version) or {id, version, type:\"agent\"}. Unlike Anthropic Managed Agents, omit environment_id to get a light machine, unless computer_id (explicit, or the agent's default) selects a Computer; pass environment_id for a sandbox recipe. Optional model must be one of the agent's allowed models; optional thinking is {effort: low|medium|high|xhigh|none} or null, where null inherits the agent default and then the model default (none requires the model to allow disabling thinking). Selections are saved before initial_events run; invalid ones return 400 invalid_request_error. Inline agent overrides are not supported. Supports vault_ids, up to 50, owned by the current organization and not archived; credential injection is deferred to a later version. Omitted budget defaults to USD 20; null removes the limit, and a limit object uses a positive integer string of USD cents. Up to 500 file resources can be attached. Use initial_events to send a first user.message in this request, or send messages afterwards with sessions.events.send. The returned status can still be idle before initial events run; read agent.message and the subsequent session.status_idle event to confirm completion.",
|
|
1796
|
+
"description": "Create a session: one conversation with an agent, running on a machine. Pass agent as an agent id (latest version) or {id, version, type:\"agent\"}. Unlike Anthropic Managed Agents, omit environment_id to get a light machine, unless computer_id (explicit, or the agent's default) selects a Computer; pass environment_id for a sandbox recipe. Optional model must be one of the agent's allowed models; optional thinking is {effort: low|medium|high|xhigh|max|none} or null, where null inherits the agent default and then the model default (none requires the model to allow disabling thinking). Selections are saved before initial_events run; invalid ones return 400 invalid_request_error. Inline agent overrides are not supported. Supports vault_ids, up to 50, owned by the current organization and not archived; credential injection is deferred to a later version. Omitted budget defaults to USD 20; null removes the limit, and a limit object uses a positive integer string of USD cents. Up to 500 file resources can be attached. Use initial_events to send a first user.message in this request, or send messages afterwards with sessions.events.send. The returned status can still be idle before initial events run; read agent.message and the subsequent session.status_idle event to confirm completion.",
|
|
1443
1797
|
"http": "POST",
|
|
1444
1798
|
"path": "/agent/v1/sessions",
|
|
1445
1799
|
"streaming": "no",
|
|
@@ -1533,6 +1887,23 @@ export const operations = [
|
|
|
1533
1887
|
]
|
|
1534
1888
|
}
|
|
1535
1889
|
},
|
|
1890
|
+
{
|
|
1891
|
+
"resource": "agent.sessions",
|
|
1892
|
+
"method": "delete",
|
|
1893
|
+
"summary": "Delete session",
|
|
1894
|
+
"description": "Delete an idle or terminated session and its event history after saving a deletion snapshot. Supply the session id from creation or listing. Running sessions return 409 INVALID_STATE: interrupt first or wait until idle or terminated. Afterwards retrieval and event listing return 404 and lists omit the session. Example: DELETE /agent/v1/sessions/sesn_example.",
|
|
1895
|
+
"http": "DELETE",
|
|
1896
|
+
"path": "/agent/v1/sessions/{session_id}",
|
|
1897
|
+
"streaming": "no",
|
|
1898
|
+
"pagination": false,
|
|
1899
|
+
"pathParams": [
|
|
1900
|
+
{
|
|
1901
|
+
"name": "session_id",
|
|
1902
|
+
"sdkName": "session_id"
|
|
1903
|
+
}
|
|
1904
|
+
],
|
|
1905
|
+
"query": []
|
|
1906
|
+
},
|
|
1536
1907
|
{
|
|
1537
1908
|
"resource": "agent.sessions",
|
|
1538
1909
|
"method": "retrieve",
|
|
@@ -1791,7 +2162,7 @@ export const operations = [
|
|
|
1791
2162
|
"resource": "agent.sessions.events",
|
|
1792
2163
|
"method": "list",
|
|
1793
2164
|
"summary": "List session events",
|
|
1794
|
-
"description": "Read the event history of a session as a page of events, oldest first by default (order=desc for newest first). Use it after sending a message to collect the reply, to find tool calls that wait for approval (session.status_idle with stop_reason requires_action lists their event_ids), or to audit a run; to follow a running session live use sessions.events.stream instead. Filter by types and by a created_at range on processed_at; pages hold at most 100 events (default 20) and next_page continues. A failed run emits session.error before session.status_terminated. Native history also includes user.steer, user.withdraw, system.notification, session.forked, session.goal_changed and session.goal_verification; these are not accepted by the /anthropic/v1 event-type filter.",
|
|
2165
|
+
"description": "Read the event history of a session as a page of events, oldest first by default (order=desc for newest first). Use it after sending a message to collect the reply, to find tool calls that wait for approval or client custom tool results (session.status_idle with stop_reason requires_action lists their event_ids), or to audit a run; to follow a running session live use sessions.events.stream instead. Filter by types and by a created_at range on processed_at; pages hold at most 100 events (default 20) and next_page continues. A failed run emits session.error before session.status_terminated. Native history also includes user.steer, user.withdraw, system.notification, session.forked, session.goal_changed and session.goal_verification; these are not accepted by the /anthropic/v1 event-type filter.",
|
|
1795
2166
|
"http": "GET",
|
|
1796
2167
|
"path": "/agent/v1/sessions/{session_id}/events",
|
|
1797
2168
|
"streaming": "no",
|
|
@@ -1862,7 +2233,7 @@ export const operations = [
|
|
|
1862
2233
|
"resource": "agent.sessions.events",
|
|
1863
2234
|
"method": "send",
|
|
1864
2235
|
"summary": "Send session events",
|
|
1865
|
-
"description": "Send events to a session: user.message (exactly one nonempty text block), user.interrupt, user.tool_confirmation to allow or deny a pending tool call, user.steer to inject a queued user.message into a turn that is still running, and user.withdraw to retract a queued message. The response only acknowledges the inputs; read replies with sessions.events.list or sessions.events.stream. A message sent while the session waits for tool approval is queued (processed_at null) and runs in order after the approval is resolved. Archived sessions reject new messages. To approve, read a pending agent.tool_use or agent.mcp_tool_use event and send {type: \"user.tool_confirmation\", tool_use_id: <that event id>, result: \"allow\"} (or deny); include session_thread_id for a child approval. Native confirmations also accept updated_permissions, answers and annotations, which /anthropic/v1 rejects.",
|
|
2236
|
+
"description": "Attach optional praxis_context={items:[{name,value}]} to user.message for untrusted page context on this turn only (maximum 32 items, 4096 UTF-8 JSON bytes). /anthropic/v1 rejects this field. Send events to a session: user.message (exactly one nonempty text block), user.interrupt, user.tool_confirmation to allow or deny a pending tool call, user.custom_tool_result to return a custom tool result, user.steer to inject a queued user.message into a turn that is still running, and user.withdraw to retract a queued message. The response only acknowledges the inputs; read replies with sessions.events.list or sessions.events.stream. A message sent while the session waits for tool approval is queued (processed_at null) and runs in order after the approval is resolved. Archived sessions reject new messages. To approve, read a pending agent.tool_use or agent.mcp_tool_use event and send {type: \"user.tool_confirmation\", tool_use_id: <that event id>, result: \"allow\"} (or deny); include session_thread_id for a child approval. Native confirmations also accept updated_permissions, answers and annotations, which /anthropic/v1 rejects. Both faces accept user.custom_tool_result with custom_tool_use_id from agent.custom_tool_use.id or the requires_action stop_reason.event_ids. Unlike Anthropic, result content accepts only text blocks (omit it for an empty array). Omitted or null is_error means false. The server routes child calls by id; session_thread_id is rejected in this input. Unknown call ids return 400; duplicate results or calls no longer waiting return 409.",
|
|
1866
2237
|
"http": "POST",
|
|
1867
2238
|
"path": "/agent/v1/sessions/{session_id}/events",
|
|
1868
2239
|
"streaming": "no",
|
|
@@ -3026,6 +3397,27 @@ export const operations = [
|
|
|
3026
3397
|
],
|
|
3027
3398
|
"query": []
|
|
3028
3399
|
},
|
|
3400
|
+
{
|
|
3401
|
+
"resource": "application.workers.versions.assets",
|
|
3402
|
+
"method": "retrieveManifest",
|
|
3403
|
+
"summary": "Get version asset manifest",
|
|
3404
|
+
"description": "Read the retained asset paths, content hashes and byte sizes of a version for publication planning. This read creates no session or version. A version without assets returns an empty manifest; unavailable artifacts and foreign resources return 404.",
|
|
3405
|
+
"http": "GET",
|
|
3406
|
+
"path": "/application/v1/workers/{worker_id}/versions/{version_id}/assets/manifest",
|
|
3407
|
+
"streaming": "no",
|
|
3408
|
+
"pagination": false,
|
|
3409
|
+
"pathParams": [
|
|
3410
|
+
{
|
|
3411
|
+
"name": "worker_id",
|
|
3412
|
+
"sdkName": "worker_id"
|
|
3413
|
+
},
|
|
3414
|
+
{
|
|
3415
|
+
"name": "version_id",
|
|
3416
|
+
"sdkName": "version_id"
|
|
3417
|
+
}
|
|
3418
|
+
],
|
|
3419
|
+
"query": []
|
|
3420
|
+
},
|
|
3029
3421
|
{
|
|
3030
3422
|
"resource": "automation.actions",
|
|
3031
3423
|
"method": "list",
|
|
@@ -11364,6 +11756,43 @@ export const operations = [
|
|
|
11364
11756
|
],
|
|
11365
11757
|
"query": []
|
|
11366
11758
|
},
|
|
11759
|
+
{
|
|
11760
|
+
"resource": "organization.feedback",
|
|
11761
|
+
"method": "list",
|
|
11762
|
+
"summary": "List your organization's feedback",
|
|
11763
|
+
"description": "Feedback submitted by your organization, newest first, with phase and unread state. Filter by phase and search titles and message text (case-insensitive). Page with next_page. Requires a valid API key, Console session, or machine token of the organization.",
|
|
11764
|
+
"http": "GET",
|
|
11765
|
+
"path": "/organization/v1/feedback",
|
|
11766
|
+
"streaming": "no",
|
|
11767
|
+
"pagination": false,
|
|
11768
|
+
"pathParams": [],
|
|
11769
|
+
"query": [
|
|
11770
|
+
{
|
|
11771
|
+
"name": "phase",
|
|
11772
|
+
"type": "string",
|
|
11773
|
+
"required": false,
|
|
11774
|
+
"description": "Only feedback in these phases: a comma-separated list of open, awaiting_customer, in_progress, resolved or closed, for example open,in_progress; see the phase field of a feedback for what each means."
|
|
11775
|
+
},
|
|
11776
|
+
{
|
|
11777
|
+
"name": "query",
|
|
11778
|
+
"type": "string",
|
|
11779
|
+
"required": false,
|
|
11780
|
+
"description": "Case-insensitive text matched against titles and message bodies."
|
|
11781
|
+
},
|
|
11782
|
+
{
|
|
11783
|
+
"name": "limit",
|
|
11784
|
+
"type": "integer",
|
|
11785
|
+
"required": false,
|
|
11786
|
+
"description": "Items per page, 1 to 100."
|
|
11787
|
+
},
|
|
11788
|
+
{
|
|
11789
|
+
"name": "page",
|
|
11790
|
+
"type": "string",
|
|
11791
|
+
"required": false,
|
|
11792
|
+
"description": "Opaque cursor from next_page of the previous response."
|
|
11793
|
+
}
|
|
11794
|
+
]
|
|
11795
|
+
},
|
|
11367
11796
|
{
|
|
11368
11797
|
"resource": "organization.feedback",
|
|
11369
11798
|
"method": "create",
|
|
@@ -11408,6 +11837,18 @@ export const operations = [
|
|
|
11408
11837
|
"required": false,
|
|
11409
11838
|
"description": "X-Request-Id from the failed response or the related error event ID."
|
|
11410
11839
|
},
|
|
11840
|
+
{
|
|
11841
|
+
"name": "title",
|
|
11842
|
+
"type": "string",
|
|
11843
|
+
"required": false,
|
|
11844
|
+
"description": "Short summary shown in the feedback list; at most 200 Unicode code points."
|
|
11845
|
+
},
|
|
11846
|
+
{
|
|
11847
|
+
"name": "type",
|
|
11848
|
+
"type": "string",
|
|
11849
|
+
"required": false,
|
|
11850
|
+
"description": "Feedback type key enabled in the help settings, such as issue, suggestion, billing or other. Unknown or disabled keys are rejected with INVALID_PARAMS."
|
|
11851
|
+
},
|
|
11411
11852
|
{
|
|
11412
11853
|
"name": "tags",
|
|
11413
11854
|
"type": "object",
|
|
@@ -11440,6 +11881,100 @@ export const operations = [
|
|
|
11440
11881
|
]
|
|
11441
11882
|
}
|
|
11442
11883
|
},
|
|
11884
|
+
{
|
|
11885
|
+
"resource": "organization.feedback.counts",
|
|
11886
|
+
"method": "list",
|
|
11887
|
+
"summary": "Count your organization's feedback by phase",
|
|
11888
|
+
"description": "How many of your organization's feedback are in each phase, for status tabs. Counts never include another organization's feedback.",
|
|
11889
|
+
"http": "GET",
|
|
11890
|
+
"path": "/organization/v1/feedback/counts",
|
|
11891
|
+
"streaming": "no",
|
|
11892
|
+
"pagination": false,
|
|
11893
|
+
"pathParams": [],
|
|
11894
|
+
"query": []
|
|
11895
|
+
},
|
|
11896
|
+
{
|
|
11897
|
+
"resource": "organization.feedback",
|
|
11898
|
+
"method": "retrieve",
|
|
11899
|
+
"summary": "Get one of your organization's feedback",
|
|
11900
|
+
"description": "Read one feedback submitted by your organization with its current phase and first-response timing. Another organization's feedback answers 404 FEEDBACK_NOT_FOUND exactly like a missing one.",
|
|
11901
|
+
"http": "GET",
|
|
11902
|
+
"path": "/organization/v1/feedback/{id}",
|
|
11903
|
+
"streaming": "no",
|
|
11904
|
+
"pagination": false,
|
|
11905
|
+
"pathParams": [
|
|
11906
|
+
{
|
|
11907
|
+
"name": "id",
|
|
11908
|
+
"sdkName": "id"
|
|
11909
|
+
}
|
|
11910
|
+
],
|
|
11911
|
+
"query": []
|
|
11912
|
+
},
|
|
11913
|
+
{
|
|
11914
|
+
"resource": "organization.feedback.messages",
|
|
11915
|
+
"method": "list",
|
|
11916
|
+
"summary": "List the messages of a feedback",
|
|
11917
|
+
"description": "The conversation of one feedback in time order: your messages, support replies and system events. Internal support notes are never returned. Page with next_page.",
|
|
11918
|
+
"http": "GET",
|
|
11919
|
+
"path": "/organization/v1/feedback/{id}/messages",
|
|
11920
|
+
"streaming": "no",
|
|
11921
|
+
"pagination": false,
|
|
11922
|
+
"pathParams": [
|
|
11923
|
+
{
|
|
11924
|
+
"name": "id",
|
|
11925
|
+
"sdkName": "id"
|
|
11926
|
+
}
|
|
11927
|
+
],
|
|
11928
|
+
"query": [
|
|
11929
|
+
{
|
|
11930
|
+
"name": "limit",
|
|
11931
|
+
"type": "integer",
|
|
11932
|
+
"required": false,
|
|
11933
|
+
"description": "Items per page, 1 to 100."
|
|
11934
|
+
},
|
|
11935
|
+
{
|
|
11936
|
+
"name": "page",
|
|
11937
|
+
"type": "string",
|
|
11938
|
+
"required": false,
|
|
11939
|
+
"description": "Opaque cursor from next_page of the previous response."
|
|
11940
|
+
}
|
|
11941
|
+
]
|
|
11942
|
+
},
|
|
11943
|
+
{
|
|
11944
|
+
"resource": "organization.feedback.messages",
|
|
11945
|
+
"method": "create",
|
|
11946
|
+
"summary": "Reply on a feedback",
|
|
11947
|
+
"description": "Add your message to a feedback conversation, for example to answer a question from support. A reply while the phase is awaiting_customer moves it to in_progress and notifies support.",
|
|
11948
|
+
"http": "POST",
|
|
11949
|
+
"path": "/organization/v1/feedback/{id}/messages",
|
|
11950
|
+
"streaming": "no",
|
|
11951
|
+
"pagination": false,
|
|
11952
|
+
"pathParams": [
|
|
11953
|
+
{
|
|
11954
|
+
"name": "id",
|
|
11955
|
+
"sdkName": "id"
|
|
11956
|
+
}
|
|
11957
|
+
],
|
|
11958
|
+
"query": [],
|
|
11959
|
+
"body": {
|
|
11960
|
+
"required": true,
|
|
11961
|
+
"fields": [
|
|
11962
|
+
{
|
|
11963
|
+
"name": "body",
|
|
11964
|
+
"type": "string",
|
|
11965
|
+
"required": true,
|
|
11966
|
+
"description": "Markdown text; at most 4096 Unicode code points."
|
|
11967
|
+
},
|
|
11968
|
+
{
|
|
11969
|
+
"name": "attachments",
|
|
11970
|
+
"type": "array",
|
|
11971
|
+
"itemType": "object",
|
|
11972
|
+
"required": false,
|
|
11973
|
+
"description": "Up to five attachments; decoded bytes must not exceed 10 MiB each or 20 MiB in total."
|
|
11974
|
+
}
|
|
11975
|
+
]
|
|
11976
|
+
}
|
|
11977
|
+
},
|
|
11443
11978
|
{
|
|
11444
11979
|
"resource": "organization.usage",
|
|
11445
11980
|
"method": "list",
|