@deepraxis/sdk 0.1.0-dev.5dca2b5 → 0.1.0-dev.660e4a8

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.
@@ -75,7 +75,7 @@ export const operations = [
75
75
  "name": "model",
76
76
  "type": "object",
77
77
  "required": true,
78
- "description": "Model identifier. Accepts the\n[model string](https://platform.claude.com/docs/en/about-claude/models/overview#latest-models-comparison),\ne.g. `claude-opus-5`, or a `model_config` object for additional configuration\ncontrol"
78
+ "description": "A model id from the Praxis model catalog (`praxis.model.models.list`), or a `model_config` object for additional configuration control. Unlike Anthropic, Claude model ids other than those in the catalog are rejected."
79
79
  },
80
80
  {
81
81
  "name": "name",
@@ -129,25 +129,11 @@ export const operations = [
129
129
  "description": "Tool configurations available to the agent. Maximum of 128 tools\nacross all toolsets allowed."
130
130
  },
131
131
  {
132
- "name": "databases",
133
- "type": "array",
134
- "itemType": "object",
135
- "required": false,
136
- "description": "Database allowlist for platform resources accessible through service-agent codemode. Only kind=service accepts nonempty bindings; personal agents return 400. At most 20 bindings per resource type, with no duplicate ids. Newly added bindings apply only to new sessions; disabling or removing a binding immediately revokes access in running sessions. Unbound resources return 404; writes to read_only resources are refused. Other platform APIs return 403, except public API discovery. Invalid bindings and unknown item fields return 400. Omit on create for no bindings."
137
- },
138
- {
139
- "name": "vector_stores",
140
- "type": "array",
141
- "itemType": "object",
142
- "required": false,
143
- "description": "Knowledge vector store allowlist for platform resources accessible through service-agent codemode. Only kind=service accepts nonempty bindings; personal agents return 400. At most 20 bindings per resource type, with no duplicate ids. Newly added bindings apply only to new sessions; disabling or removing a binding immediately revokes access in running sessions. Unbound resources return 404; writes to read_only resources are refused. Other platform APIs return 403, except public API discovery. Invalid bindings and unknown item fields return 400. Omit on create for no bindings."
144
- },
145
- {
146
- "name": "files",
132
+ "name": "bindings",
147
133
  "type": "array",
148
134
  "itemType": "object",
149
135
  "required": false,
150
- "description": "File allowlist for platform resources accessible through service-agent codemode. Only kind=service accepts nonempty bindings; personal agents return 400. At most 20 bindings per resource type, with no duplicate ids. Newly added bindings apply only to new sessions; disabling or removing a binding immediately revokes access in running sessions. Unbound resources return 404; writes to read_only resources are refused. Other platform APIs return 403, except public API discovery. Invalid bindings and unknown item fields return 400. Omit on create for no bindings."
136
+ "description": "Platform resources and services this service agent's codemode may reach, as one list of typed bindings. Only kind=service accepts a nonempty list; personal agents return 400. There are two kinds. A resource binding names one resource with id and access: database (id db_..., read_only or read_write), vector_store (id vs_..., read_only or read_write), file (id file- plus 24 letters or digits, as the File API returns it; read_only), media_library (any id without ':' or whitespace, read_only or read_write), model (a model catalog id, invoke), workflow and script (id <namespace>/<name>, invoke). A service binding opens a whole service and carries only enabled: search or browser. At most 20 bindings per type, no repeated type and id, and each service type at most once. A session is authorized by the agent version it runs: newly added bindings apply only to new sessions, and a version saved with apply=false changes no access until it is applied. Applying a version that disables, removes or downgrades a binding revokes it immediately in running sessions on older versions. A resource that is not bound returns 404, a service that is not opened returns 403, and a write to a resource bound read_only returns 403 BINDING_READ_ONLY. Unknown types, fields on the wrong kind (id, access or instructions on a service binding), wrong access and malformed ids return 400. The former databases, vector_stores and files fields are removed and return 400. Omit on create for no bindings."
151
137
  },
152
138
  {
153
139
  "name": "kind",
@@ -197,6 +183,25 @@ export const operations = [
197
183
  "required": false,
198
184
  "description": "Praxis extension: switchable model ids on /agent/v1 only. The default model must be included. When omitted, only the default model is selectable."
199
185
  },
186
+ {
187
+ "name": "avatar",
188
+ "type": "string",
189
+ "required": false,
190
+ "description": "Avatar image of the agent: an absolute https URL of at most 2048 characters, without credentials; any other value returns 400 avatar must be an https URL. It is the default picture in agent lists, the agent detail, the chat header and embedded chat when the embed appearance sets none. Saved with the agent version like other configuration, so apply=false keeps the previous avatar in effect until that version is applied. Omit on create for no avatar; on update, omit to keep it and send null to clear it. Both personal and service agents accept it. /agent/v1 only; /anthropic neither accepts nor returns it."
191
+ },
192
+ {
193
+ "name": "environment_id",
194
+ "type": "string",
195
+ "required": false,
196
+ "description": "Default environment of a service agent: the environment_id a new session gets when it names none. Use light, node22 or the env_ id of an active environment of your organization; any other value returns 400 environment_id <id> was not found. null means no environment, so sessions are plain conversation without codemode or bash. Saved with the agent version like other configuration, so apply=false keeps the previous environment in effect for new sessions until that version is applied; a session that sets environment_id itself, null included, overrides it. Omit on create for light; on update, omit to keep it. Versions saved before this field existed read as light. Personal agents use a Computer: a non-null value returns 400 and the field is not returned. /agent/v1 only; /anthropic neither accepts nor returns it."
197
+ },
198
+ {
199
+ "name": "vault_ids",
200
+ "type": "array",
201
+ "itemType": "string",
202
+ "required": false,
203
+ "description": "Default vaults of a service agent: the vault_ids a new session gets when it names none, so the agent's credentials follow the version. At most 50 ids without duplicates; each must be a vault of your organization that is not archived, otherwise 400 vault_ids[<index>] <id> was not found. Saved with the agent version like other configuration, so apply=false keeps the previous vaults in effect for new sessions until that version is applied; a session that sets vault_ids itself, [] included, overrides it. Omit on create for []; on update, omit to keep the list and send an array to replace it as a whole. Versions saved before this field existed read as []. Embed tokens use the vault_ids of the version they pin; vault_ids on the embed policy is deprecated, still accepted and ignored. Personal agents get no default vaults: a non-empty value returns 400 and the field is not returned. /agent/v1 only; /anthropic neither accepts nor returns it."
204
+ },
200
205
  {
201
206
  "name": "preset",
202
207
  "type": "string",
@@ -239,7 +244,7 @@ export const operations = [
239
244
  "resource": "agent.agents",
240
245
  "method": "update",
241
246
  "summary": "Update agent",
242
- "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.",
247
+ "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. apply defaults to true and moves active_version to the new version, or to the latest when configuration is unchanged; apply false saves without applying. version_note optionally records up to 280 characters on a newly created version. Existing sessions and tokens keep their version. 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.",
243
248
  "http": "POST",
244
249
  "path": "/agent/v1/agents/{agent_id}",
245
250
  "streaming": "no",
@@ -277,7 +282,7 @@ export const operations = [
277
282
  "name": "model",
278
283
  "type": "object",
279
284
  "required": false,
280
- "description": "Model identifier. Accepts the\n[model string](https://platform.claude.com/docs/en/about-claude/models/overview#latest-models-comparison),\ne.g. `claude-opus-5`, or a `model_config` object for additional configuration\ncontrol. Omit to preserve. Cannot be cleared."
285
+ "description": "A model id from the Praxis model catalog (`praxis.model.models.list`), or a `model_config` object for additional configuration control. Unlike Anthropic, Claude model ids other than those in the catalog are rejected."
281
286
  },
282
287
  {
283
288
  "name": "multiagent",
@@ -318,25 +323,23 @@ export const operations = [
318
323
  "description": "The agent's current version, used to prevent concurrent overwrites.\nObtain this value from a create or retrieve response. Must be at least 1 if\nspecified. When supplied, the request fails if it does not match the server's\ncurrent version; omit to apply the update unconditionally."
319
324
  },
320
325
  {
321
- "name": "databases",
322
- "type": "array",
323
- "itemType": "object",
326
+ "name": "apply",
327
+ "type": "boolean",
324
328
  "required": false,
325
- "description": "Replace this resource allowlist; omission preserves it, and null or [] clears it. Additions apply only to new sessions; disabling or removing a binding immediately revokes access in running sessions. Only service agents accept nonempty bindings."
329
+ "description": "Defaults to true: apply the newly saved version, or the latest version when configuration is unchanged. Set false to save without changing active_version. Unlike Managed Agents, saving and applying can be separate."
326
330
  },
327
331
  {
328
- "name": "vector_stores",
329
- "type": "array",
330
- "itemType": "object",
332
+ "name": "version_note",
333
+ "type": "string",
331
334
  "required": false,
332
- "description": "Replace this resource allowlist; omission preserves it, and null or [] clears it. Additions apply only to new sessions; disabling or removing a binding immediately revokes access in running sessions. Only service agents accept nonempty bindings."
335
+ "description": "Optional change explanation stored as note on the new immutable version, up to 280 characters. Omission stores null. A note alone does not create a version or rewrite an existing note."
333
336
  },
334
337
  {
335
- "name": "files",
338
+ "name": "bindings",
336
339
  "type": "array",
337
340
  "itemType": "object",
338
341
  "required": false,
339
- "description": "Replace this resource allowlist; omission preserves it, and null or [] clears it. Additions apply only to new sessions; disabling or removing a binding immediately revokes access in running sessions. Only service agents accept nonempty bindings."
342
+ "description": "Replace the whole bindings list; omission preserves it, and null or [] clears it. Additions apply only to new sessions; once this version is applied, disabling, removing or downgrading a binding revokes it immediately in running sessions on older versions, while apply=false changes no access. Only service agents accept a nonempty list."
340
343
  },
341
344
  {
342
345
  "name": "kind",
@@ -386,6 +389,25 @@ export const operations = [
386
389
  "required": false,
387
390
  "description": "Praxis extension: switchable model ids on /agent/v1 only. The default model must be included. When omitted, only the default model is selectable."
388
391
  },
392
+ {
393
+ "name": "avatar",
394
+ "type": "string",
395
+ "required": false,
396
+ "description": "Avatar image of the agent: an absolute https URL of at most 2048 characters, without credentials; any other value returns 400 avatar must be an https URL. It is the default picture in agent lists, the agent detail, the chat header and embedded chat when the embed appearance sets none. Saved with the agent version like other configuration, so apply=false keeps the previous avatar in effect until that version is applied. Omit on create for no avatar; on update, omit to keep it and send null to clear it. Both personal and service agents accept it. /agent/v1 only; /anthropic neither accepts nor returns it."
397
+ },
398
+ {
399
+ "name": "environment_id",
400
+ "type": "string",
401
+ "required": false,
402
+ "description": "Default environment of a service agent: the environment_id a new session gets when it names none. Use light, node22 or the env_ id of an active environment of your organization; any other value returns 400 environment_id <id> was not found. null means no environment, so sessions are plain conversation without codemode or bash. Saved with the agent version like other configuration, so apply=false keeps the previous environment in effect for new sessions until that version is applied; a session that sets environment_id itself, null included, overrides it. Omit on create for light; on update, omit to keep it. Versions saved before this field existed read as light. Personal agents use a Computer: a non-null value returns 400 and the field is not returned. /agent/v1 only; /anthropic neither accepts nor returns it."
403
+ },
404
+ {
405
+ "name": "vault_ids",
406
+ "type": "array",
407
+ "itemType": "string",
408
+ "required": false,
409
+ "description": "Default vaults of a service agent: the vault_ids a new session gets when it names none, so the agent's credentials follow the version. At most 50 ids without duplicates; each must be a vault of your organization that is not archived, otherwise 400 vault_ids[<index>] <id> was not found. Saved with the agent version like other configuration, so apply=false keeps the previous vaults in effect for new sessions until that version is applied; a session that sets vault_ids itself, [] included, overrides it. Omit on create for []; on update, omit to keep the list and send an array to replace it as a whole. Versions saved before this field existed read as []. Embed tokens use the vault_ids of the version they pin; vault_ids on the embed policy is deprecated, still accepted and ignored. Personal agents get no default vaults: a non-empty value returns 400 and the field is not returned. /agent/v1 only; /anthropic neither accepts nor returns it."
410
+ },
389
411
  {
390
412
  "name": "preset",
391
413
  "type": "string",
@@ -417,6 +439,144 @@ export const operations = [
417
439
  ],
418
440
  "query": []
419
441
  },
442
+ {
443
+ "resource": "agent.agents.customers.auth.accessTokens",
444
+ "method": "create",
445
+ "summary": "Create customer access token",
446
+ "description": "Exchange a grant code, or the agent's publishable key for an anonymous visitor, for a customer access token that authorizes the agent's embedded sessions.\n\nNo Authorization header is required: the grant code or the publishable key is the credential. Agent Kit calls this from the browser, so send the page Origin. With grant_code, the code is consumed atomically: concurrent attempts have exactly one winner, and unknown, used, expired and other-agent codes all return the same 401 GRANT_CODE_INVALID. The sign-in starts now and lasts the code's max_session_seconds. Unlike Shopify, a visitor without an account gets a token too: send publishable_key instead and a new anonymous customer (anon_…) is created, bound to the request Origin, for 7 days. The access token lasts at most two hours and never outlives the sign-in; renew it with access_tokens/renew before expires_at. Both forms share the per-IP minute limit of anonymous issuance (default 20). Example body: {\"grant_code\":\"cgc_…\"}.",
447
+ "http": "POST",
448
+ "path": "/agent/v1/agents/{agent_id}/customers/auth/access_tokens",
449
+ "streaming": "no",
450
+ "pagination": false,
451
+ "pathParams": [
452
+ {
453
+ "name": "agent_id",
454
+ "sdkName": "agent_id"
455
+ }
456
+ ],
457
+ "query": [],
458
+ "body": {
459
+ "required": true,
460
+ "fields": []
461
+ }
462
+ },
463
+ {
464
+ "resource": "agent.agents.customers.auth.accessTokens",
465
+ "method": "deleteCurrent",
466
+ "summary": "Log out customer",
467
+ "description": "Log the customer out by revoking the sign-in of the presented access token and every token issued in it.\n\nSend the current customer access token as the Bearer credential, with no body, when the customer logs out of your site. Every token of the sign-in, including renewed ones, stops working, and their live event streams close; the customer's conversations are kept. Returns 204. Calling it again with the same token returns 401 ACCESS_TOKEN_REVOKED, so treat that as already logged out.",
468
+ "http": "DELETE",
469
+ "path": "/agent/v1/agents/{agent_id}/customers/auth/access_tokens/current",
470
+ "streaming": "no",
471
+ "pagination": false,
472
+ "pathParams": [
473
+ {
474
+ "name": "agent_id",
475
+ "sdkName": "agent_id"
476
+ }
477
+ ],
478
+ "query": []
479
+ },
480
+ {
481
+ "resource": "agent.agents.customers.auth.accessTokens.renew",
482
+ "method": "create",
483
+ "summary": "Renew customer access token",
484
+ "description": "Get a fresh customer access token in the same sign-in, authenticated with the current one.\n\nSend the current customer access token as the Bearer credential, with no body, a few minutes before expires_at. The new token keeps the version, budget, context, metadata and origin binding of the sign-in and lasts at most two hours, never past session_expires_at. Unlike Shopify, renewal does not revoke the presented token: it stays valid until its own expiry, so a reply that is streaming on it is not cut off. When less than 60 seconds of the sign-in remain, renewal returns 401 CUSTOMER_SESSION_EXPIRED; sign the customer in again with a new grant code from your backend. A token that was logged out or merged returns 401 ACCESS_TOKEN_REVOKED.",
485
+ "http": "POST",
486
+ "path": "/agent/v1/agents/{agent_id}/customers/auth/access_tokens/renew",
487
+ "streaming": "no",
488
+ "pagination": false,
489
+ "pathParams": [
490
+ {
491
+ "name": "agent_id",
492
+ "sdkName": "agent_id"
493
+ }
494
+ ],
495
+ "query": []
496
+ },
497
+ {
498
+ "resource": "agent.agents.customers.auth.grantCodes",
499
+ "method": "create",
500
+ "summary": "Create customer grant code",
501
+ "description": "Sign your logged-in customer in to a service agent from your backend with a one-time grant code that Agent Kit exchanges for a customer access token.\n\nCall this from your backend with your API key after your own login succeeds, then pass the returned code to Agent Kit in the browser; never call it from the browser. Customer authorization follows Shopify Storefront customer access tokens (Multipass-style sign-in, a short-lived token, renewal and logout), so that experience applies. customer_id is your own identifier for the customer: use an opaque id such as your database user id, not an email address or phone number. The value auth is reserved, and ids starting with anon_ are reserved for anonymous customers. The code works once and expires after expires_in seconds (default 900). The sign-in it starts lasts max_session_seconds (default 7 days); version, budget_cents, system_message, agent_override and metadata apply to every token of the sign-in. Unlike Shopify, origin binds the whole sign-in to one page origin, and anonymous_access_token merges the conversations of the anonymous visitor who chatted before signing in into this customer. Example body: {\"customer_id\":\"cus_8f2a91\",\"origin\":\"https://shop.example.com\"}.",
502
+ "http": "POST",
503
+ "path": "/agent/v1/agents/{agent_id}/customers/auth/grant_codes",
504
+ "streaming": "no",
505
+ "pagination": false,
506
+ "pathParams": [
507
+ {
508
+ "name": "agent_id",
509
+ "sdkName": "agent_id"
510
+ }
511
+ ],
512
+ "query": [],
513
+ "body": {
514
+ "required": true,
515
+ "fields": [
516
+ {
517
+ "name": "customer_id",
518
+ "type": "string",
519
+ "required": true,
520
+ "description": "Your stable, opaque identifier for the signed-in customer, such as your database user id. Do not use an email address or phone number. \"auth\" is reserved, and ids starting with anon_ are reserved for anonymous customers."
521
+ },
522
+ {
523
+ "name": "version",
524
+ "type": "integer",
525
+ "required": false,
526
+ "description": "Existing agent version that every token of this sign-in pins. Defaults to the agent's active_version when the code is issued."
527
+ },
528
+ {
529
+ "name": "budget_cents",
530
+ "type": "integer",
531
+ "required": false,
532
+ "description": "Budget in cents for each session the customer starts. Defaults to the embed policy session budget and cannot exceed its maximum."
533
+ },
534
+ {
535
+ "name": "system_message",
536
+ "type": "array",
537
+ "itemType": "object",
538
+ "required": false,
539
+ "description": "Optional context the agent receives at the start of each session, as text blocks, limited to 8192 UTF-8 bytes in total."
540
+ },
541
+ {
542
+ "name": "agent_override",
543
+ "type": "object",
544
+ "required": false,
545
+ "description": "Optional system prompt override, accepted only when the embed policy allows agent overrides."
546
+ },
547
+ {
548
+ "name": "metadata",
549
+ "type": "object",
550
+ "required": false,
551
+ "description": "Up to 16 string pairs copied onto every session the customer starts. The playground key is reserved."
552
+ },
553
+ {
554
+ "name": "origin",
555
+ "type": "string",
556
+ "required": false,
557
+ "description": "Page origin, such as https://shop.example.com, that must be one of the agent policy's allowed_origins (or localhost when the policy allows it). When set, every token of this sign-in works only from exactly this origin. Omit to accept any policy origin."
558
+ },
559
+ {
560
+ "name": "expires_in",
561
+ "type": "integer",
562
+ "required": false,
563
+ "description": "Seconds the code stays redeemable, from 60 to 86400. Defaults to 900."
564
+ },
565
+ {
566
+ "name": "max_session_seconds",
567
+ "type": "integer",
568
+ "required": false,
569
+ "description": "Total lifetime of the sign-in in seconds, from 3600 to 604800 (7 days). Tokens renew within it; after it the customer signs in again. Defaults to 604800."
570
+ },
571
+ {
572
+ "name": "anonymous_access_token",
573
+ "type": "string",
574
+ "required": false,
575
+ "description": "The current access token of the anonymous customer who used this agent before signing in. Their conversations become visible to the identified customer, and the anonymous sign-in ends at exchange."
576
+ }
577
+ ]
578
+ }
579
+ },
420
580
  {
421
581
  "resource": "agent.agents.endUsers",
422
582
  "method": "list",
@@ -633,6 +793,27 @@ export const operations = [
633
793
  }
634
794
  ]
635
795
  },
796
+ {
797
+ "resource": "agent.agents.versions",
798
+ "method": "apply",
799
+ "summary": "Apply Agent Version",
800
+ "description": "Apply a version from agents.versions.list by its version number. This idempotent operation changes active_version without creating a version; existing sessions and tokens keep their version. The response is the latest saved agent with its current active_version. Missing versions return 404 Agent version not found; archived agents return 409 Agent is archived. For example, POST /agent/v1/agents/{agent_id}/versions/2/apply with no body.",
801
+ "http": "POST",
802
+ "path": "/agent/v1/agents/{agent_id}/versions/{version}/apply",
803
+ "streaming": "no",
804
+ "pagination": false,
805
+ "pathParams": [
806
+ {
807
+ "name": "agent_id",
808
+ "sdkName": "agent_id"
809
+ },
810
+ {
811
+ "name": "version",
812
+ "sdkName": "version"
813
+ }
814
+ ],
815
+ "query": []
816
+ },
636
817
  {
637
818
  "resource": "agent.computers",
638
819
  "method": "list",
@@ -1835,7 +2016,7 @@ export const operations = [
1835
2016
  "resource": "agent.sessions",
1836
2017
  "method": "create",
1837
2018
  "summary": "Create session",
1838
- "description": "Create a session: one conversation with an agent. 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 an environment id for a sandbox recipe. For service agents, omission returns environment_id=light; explicit null allocates no machine, so codemode, bash and other machine tools are unavailable. 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.",
2019
+ "description": "Create a session: one conversation with an agent. Pass agent as an agent id (active_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 an environment id for a sandbox recipe. For service agents, omission returns environment_id=light; explicit null allocates no machine, so codemode, bash and other machine tools are unavailable. 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.",
1839
2020
  "http": "POST",
1840
2021
  "path": "/agent/v1/sessions",
1841
2022
  "streaming": "no",
@@ -2722,83 +2903,302 @@ export const operations = [
2722
2903
  ]
2723
2904
  },
2724
2905
  {
2725
- "resource": "agent.toolsets",
2906
+ "resource": "agent.skills",
2726
2907
  "method": "list",
2727
- "summary": "List Toolsets",
2728
- "description": "Discover tool names, input schemas, read-only status and default permission policies before configuring an agent. The catalog is read-only: enable tools through agents.create or agents.update. agent_toolset_20260401 includes bash, edit, glob, grep, read, write, web_search, web_fetch, task_output, task_stop, monitor, agent, send_message, codemode and skill, plus todo_write, enter_plan_mode, ask_user_question and goal_read, which are listed so they can be switched off. Native additions require bash enabled; codemode requires bash (enabling it with bash disabled returns 400; keep bash enabled with permission_policy always_ask to restrict it); send_message also requires agent. To keep only some tools, set default_config.enabled to false and enable the wanted tools in configs; unlisted tools follow default_config. The catalog includes plugin names and versions. Sessions created through /anthropic/v1 expose only the eight official tools.",
2908
+ "summary": "List skills",
2909
+ "description": "List the skills uploaded to your organization, newest first, in pages of at most 100 (default 20). Use it to find a skill id before reading, versioning or deleting it. Only source=custom has content; source=anthropic returns an empty list. Pass next_page from the response as page to read the next page; a null next_page means the end.",
2729
2910
  "http": "GET",
2730
- "path": "/agent/v1/toolsets",
2911
+ "path": "/agent/v1/skills",
2731
2912
  "streaming": "no",
2732
2913
  "pagination": false,
2733
2914
  "pathParams": [],
2734
- "query": []
2915
+ "query": [
2916
+ {
2917
+ "name": "source",
2918
+ "type": "string",
2919
+ "required": false,
2920
+ "description": "Filter skills by source.\n\nIf provided, only skills from the specified source will be returned:\n\n- `\"custom\"`: only return user-created skills\n- `\"anthropic\"`: only return Anthropic-created skills"
2921
+ },
2922
+ {
2923
+ "name": "limit",
2924
+ "type": "number",
2925
+ "required": false,
2926
+ "description": "Number of items per page."
2927
+ },
2928
+ {
2929
+ "name": "page",
2930
+ "type": "string",
2931
+ "required": false,
2932
+ "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."
2933
+ }
2934
+ ]
2735
2935
  },
2736
2936
  {
2737
- "resource": "application.assets.upload",
2937
+ "resource": "agent.skills",
2738
2938
  "method": "create",
2739
- "summary": "Upload assets",
2740
- "description": "Upload one batch: files maps hash to base64 content. The last batch returns the completion token.",
2939
+ "summary": "Create skill",
2940
+ "description": "Upload a skill: a directory that contains SKILL.md, which the agent reads when it needs the skill. Send multipart/form-data with one files part per file, each file name being its path under one top-level directory (pdf/SKILL.md, pdf/scripts/run.py), and an optional display_name. SKILL.md frontmatter needs a description; name defaults to the directory name. Limits: 8 MB in total, at most 200 files, no .. segments, absolute paths or empty names; a violation returns 400 naming the path or field. The upload creates the skill and its first version, and versions are immutable. Attach the skill to an agent with `skills` on the agent.",
2741
2941
  "http": "POST",
2742
- "path": "/application/v1/assets/upload",
2942
+ "path": "/agent/v1/skills",
2743
2943
  "streaming": "no",
2744
2944
  "pagination": false,
2945
+ "multipart": true,
2745
2946
  "pathParams": [],
2746
2947
  "query": [],
2747
2948
  "body": {
2748
2949
  "required": true,
2749
2950
  "fields": [
2750
2951
  {
2751
- "name": "jwt",
2752
- "type": "string",
2952
+ "name": "files",
2953
+ "type": "array",
2954
+ "itemType": "string",
2753
2955
  "required": true,
2754
- "description": "Upload token from the session."
2956
+ "description": "Files to upload for the skill.\n\nAll files must be in the same top-level directory and must include a SKILL.md\nfile at the root of that directory."
2755
2957
  },
2756
2958
  {
2757
- "name": "files",
2758
- "type": "object",
2759
- "required": true,
2760
- "description": "Hash → base64 file content."
2959
+ "name": "display_name",
2960
+ "type": "string",
2961
+ "required": false,
2962
+ "description": "Human-readable, single-line label for the Skill. Maximum 255\ncharacters. Always set: derived from the SKILL.md frontmatter `name` when\nomitted at creation. Not unique."
2761
2963
  }
2762
2964
  ]
2763
2965
  }
2764
2966
  },
2765
2967
  {
2766
- "resource": "application.subdomain",
2767
- "method": "retrieve",
2768
- "summary": "Get account subdomain",
2769
- "description": "Return the account subdomain used in every Worker URL. A default is created on first use.",
2770
- "http": "GET",
2771
- "path": "/application/v1/subdomain",
2968
+ "resource": "agent.skills",
2969
+ "method": "delete",
2970
+ "summary": "Delete skill",
2971
+ "description": "Delete a skill that has no live versions. A skill that still has versions returns 409 Delete all versions first; remove each with skills.versions.delete, then call this. Returns {id, type: skill_deleted}. skill_id comes from skills.create or skills.list.",
2972
+ "http": "DELETE",
2973
+ "path": "/agent/v1/skills/{skill_id}",
2772
2974
  "streaming": "no",
2773
2975
  "pagination": false,
2774
- "pathParams": [],
2976
+ "pathParams": [
2977
+ {
2978
+ "name": "skill_id",
2979
+ "sdkName": "skill_id"
2980
+ }
2981
+ ],
2775
2982
  "query": []
2776
2983
  },
2777
2984
  {
2778
- "resource": "application.subdomain",
2779
- "method": "update",
2780
- "summary": "Change account subdomain",
2781
- "description": "Change the account subdomain. Every Worker moves to the new address at once; old addresses stop resolving.",
2782
- "http": "PUT",
2783
- "path": "/application/v1/subdomain",
2985
+ "resource": "agent.skills",
2986
+ "method": "retrieve",
2987
+ "summary": "Get skill",
2988
+ "description": "Read one skill by id: its display_name, source and latest_version_id. skill_id comes from skills.create or skills.list. A skill of another organization, or a deleted one, returns 404 Skill not found.",
2989
+ "http": "GET",
2990
+ "path": "/agent/v1/skills/{skill_id}",
2784
2991
  "streaming": "no",
2785
2992
  "pagination": false,
2786
- "pathParams": [],
2787
- "query": [],
2788
- "body": {
2789
- "required": true,
2790
- "fields": [
2791
- {
2792
- "name": "subdomain",
2793
- "type": "string",
2794
- "required": true,
2795
- "description": "Account subdomain, 8–32 lowercase letters and digits; part of every Worker URL."
2796
- }
2797
- ]
2798
- }
2993
+ "pathParams": [
2994
+ {
2995
+ "name": "skill_id",
2996
+ "sdkName": "skill_id"
2997
+ }
2998
+ ],
2999
+ "query": []
2799
3000
  },
2800
3001
  {
2801
- "resource": "application.workers",
3002
+ "resource": "agent.skills.versions",
3003
+ "method": "list",
3004
+ "summary": "List skill versions",
3005
+ "description": "List the live versions of one skill, newest first, in pages of at most 100 (default 20). Each item carries the name and description read from the SKILL.md of that version. Pass next_page from the response as page to read the next page; a null next_page means the end.",
3006
+ "http": "GET",
3007
+ "path": "/agent/v1/skills/{skill_id}/versions",
3008
+ "streaming": "no",
3009
+ "pagination": false,
3010
+ "pathParams": [
3011
+ {
3012
+ "name": "skill_id",
3013
+ "sdkName": "skill_id"
3014
+ }
3015
+ ],
3016
+ "query": [
3017
+ {
3018
+ "name": "limit",
3019
+ "type": "number",
3020
+ "required": false,
3021
+ "description": "Number of items per page."
3022
+ },
3023
+ {
3024
+ "name": "page",
3025
+ "type": "string",
3026
+ "required": false,
3027
+ "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."
3028
+ }
3029
+ ]
3030
+ },
3031
+ {
3032
+ "resource": "agent.skills.versions",
3033
+ "method": "create",
3034
+ "summary": "Create skill version",
3035
+ "description": "Upload a new version of a skill with the same multipart/form-data shape and limits as skills.create (8 MB, 200 files, one top-level directory containing SKILL.md). The SKILL.md name must equal the name of the skill; a different name returns 400. The new version becomes latest_version_id of the skill, and earlier versions stay unchanged because versions are immutable. Attach it to an agent with `skills` on the agent.",
3036
+ "http": "POST",
3037
+ "path": "/agent/v1/skills/{skill_id}/versions",
3038
+ "streaming": "no",
3039
+ "pagination": false,
3040
+ "multipart": true,
3041
+ "pathParams": [
3042
+ {
3043
+ "name": "skill_id",
3044
+ "sdkName": "skill_id"
3045
+ }
3046
+ ],
3047
+ "query": [],
3048
+ "body": {
3049
+ "required": true,
3050
+ "fields": [
3051
+ {
3052
+ "name": "files",
3053
+ "type": "array",
3054
+ "itemType": "string",
3055
+ "required": true,
3056
+ "description": "Files to upload for the skill.\n\nAll files must be in the same top-level directory and must include a SKILL.md\nfile at the root of that directory."
3057
+ }
3058
+ ]
3059
+ }
3060
+ },
3061
+ {
3062
+ "resource": "agent.skills.versions",
3063
+ "method": "delete",
3064
+ "summary": "Delete skill version",
3065
+ "description": "Soft-delete one version of a skill so it can no longer be read or downloaded; latest_version_id of the skill falls back to the newest remaining version. Returns {id, type: skill_version_deleted}. A skill can be deleted only after all of its versions are deleted.",
3066
+ "http": "DELETE",
3067
+ "path": "/agent/v1/skills/{skill_id}/versions/{version}",
3068
+ "streaming": "no",
3069
+ "pagination": false,
3070
+ "pathParams": [
3071
+ {
3072
+ "name": "skill_id",
3073
+ "sdkName": "skill_id"
3074
+ },
3075
+ {
3076
+ "name": "version",
3077
+ "sdkName": "version"
3078
+ }
3079
+ ],
3080
+ "query": []
3081
+ },
3082
+ {
3083
+ "resource": "agent.skills.versions",
3084
+ "method": "retrieve",
3085
+ "summary": "Get skill version",
3086
+ "description": "Read one version of a skill: its name, description and created_at as read from SKILL.md. version is the id returned by skills.versions.create or skills.versions.list. A deleted or unknown version returns 404 Skill version not found.",
3087
+ "http": "GET",
3088
+ "path": "/agent/v1/skills/{skill_id}/versions/{version}",
3089
+ "streaming": "no",
3090
+ "pagination": false,
3091
+ "pathParams": [
3092
+ {
3093
+ "name": "skill_id",
3094
+ "sdkName": "skill_id"
3095
+ },
3096
+ {
3097
+ "name": "version",
3098
+ "sdkName": "version"
3099
+ }
3100
+ ],
3101
+ "query": []
3102
+ },
3103
+ {
3104
+ "resource": "agent.skills.versions",
3105
+ "method": "retrieveContent",
3106
+ "summary": "Download skill version",
3107
+ "description": "Download the content of one version as a zip archive (application/zip): the uploaded directory with its top-level folder and every file. version is the id returned by skills.versions.create or skills.versions.list; a deleted version returns 404.",
3108
+ "http": "GET",
3109
+ "path": "/agent/v1/skills/{skill_id}/versions/{version}/content",
3110
+ "streaming": "no",
3111
+ "pagination": false,
3112
+ "pathParams": [
3113
+ {
3114
+ "name": "skill_id",
3115
+ "sdkName": "skill_id"
3116
+ },
3117
+ {
3118
+ "name": "version",
3119
+ "sdkName": "version"
3120
+ }
3121
+ ],
3122
+ "query": []
3123
+ },
3124
+ {
3125
+ "resource": "agent.toolsets",
3126
+ "method": "list",
3127
+ "summary": "List Toolsets",
3128
+ "description": "Discover tool names, input schemas, read-only status and default permission policies before configuring an agent. The catalog is read-only: enable tools through agents.create or agents.update. agent_toolset_20260401 includes bash, edit, glob, grep, read, write, web_search, web_fetch, task_output, task_stop, monitor, agent, send_message, codemode and skill, plus todo_write, enter_plan_mode, ask_user_question and goal_read, which are listed so they can be switched off. Native additions require bash enabled; codemode requires bash (enabling it with bash disabled returns 400; keep bash enabled with permission_policy always_ask to restrict it); send_message also requires agent. To keep only some tools, set default_config.enabled to false and enable the wanted tools in configs; unlisted tools follow default_config. The catalog includes plugin names and versions. Sessions created through /anthropic/v1 expose only the eight official tools.",
3129
+ "http": "GET",
3130
+ "path": "/agent/v1/toolsets",
3131
+ "streaming": "no",
3132
+ "pagination": false,
3133
+ "pathParams": [],
3134
+ "query": []
3135
+ },
3136
+ {
3137
+ "resource": "application.assets.upload",
3138
+ "method": "create",
3139
+ "summary": "Upload assets",
3140
+ "description": "Upload one batch: files maps hash to base64 content. The last batch returns the completion token.",
3141
+ "http": "POST",
3142
+ "path": "/application/v1/assets/upload",
3143
+ "streaming": "no",
3144
+ "pagination": false,
3145
+ "pathParams": [],
3146
+ "query": [],
3147
+ "body": {
3148
+ "required": true,
3149
+ "fields": [
3150
+ {
3151
+ "name": "jwt",
3152
+ "type": "string",
3153
+ "required": true,
3154
+ "description": "Upload token from the session."
3155
+ },
3156
+ {
3157
+ "name": "files",
3158
+ "type": "object",
3159
+ "required": true,
3160
+ "description": "Hash → base64 file content."
3161
+ }
3162
+ ]
3163
+ }
3164
+ },
3165
+ {
3166
+ "resource": "application.subdomain",
3167
+ "method": "retrieve",
3168
+ "summary": "Get account subdomain",
3169
+ "description": "Return the account subdomain used in every Worker URL. A default is created on first use.",
3170
+ "http": "GET",
3171
+ "path": "/application/v1/subdomain",
3172
+ "streaming": "no",
3173
+ "pagination": false,
3174
+ "pathParams": [],
3175
+ "query": []
3176
+ },
3177
+ {
3178
+ "resource": "application.subdomain",
3179
+ "method": "update",
3180
+ "summary": "Change account subdomain",
3181
+ "description": "Change the account subdomain. Every Worker moves to the new address at once; old addresses stop resolving.",
3182
+ "http": "PUT",
3183
+ "path": "/application/v1/subdomain",
3184
+ "streaming": "no",
3185
+ "pagination": false,
3186
+ "pathParams": [],
3187
+ "query": [],
3188
+ "body": {
3189
+ "required": true,
3190
+ "fields": [
3191
+ {
3192
+ "name": "subdomain",
3193
+ "type": "string",
3194
+ "required": true,
3195
+ "description": "Account subdomain, 8–32 lowercase letters and digits; part of every Worker URL."
3196
+ }
3197
+ ]
3198
+ }
3199
+ },
3200
+ {
3201
+ "resource": "application.workers",
2802
3202
  "method": "list",
2803
3203
  "summary": "List Workers",
2804
3204
  "description": "List Workers in your account. Filter by status or by label with label.<key>=<value>.",
@@ -3563,13 +3963,13 @@ export const operations = [
3563
3963
  "name": "namespace",
3564
3964
  "type": "string",
3565
3965
  "required": true,
3566
- "description": "Choose a namespace without prior registration; praxis is read-only. Folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63}."
3966
+ "description": "Choose a namespace without prior registration; praxis is reserved for built-in Actions. Folded to lowercase; matches [a-z0-9][a-z0-9_-]{0,63}."
3567
3967
  },
3568
3968
  {
3569
3969
  "name": "name",
3570
3970
  "type": "string",
3571
3971
  "required": true,
3572
- "description": "Name, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63}."
3972
+ "description": "Name, folded to lowercase; matches [a-z0-9][a-z0-9_-]{0,63}."
3573
3973
  },
3574
3974
  {
3575
3975
  "name": "description",
@@ -3632,8 +4032,8 @@ export const operations = [
3632
4032
  {
3633
4033
  "resource": "automation.actions",
3634
4034
  "method": "retrieve",
3635
- "summary": "Get an action",
3636
- "description": "Read the action and its full current implementation. The response ETag is the current revision ID for conditional updates.",
4035
+ "summary": "Get an Action with its current input and output JSON Schemas",
4036
+ "description": "Read the Action and its full current implementation, with input and output JSON Schemas at current_revision.input_schema and current_revision.output_schema. To read a built-in Action, use ns=praxis and name=<bare name>, for example name=ocr; invoke it in a script with call(\"ocr\", input). The response ETag is the current revision ID for conditional updates.",
3637
4037
  "http": "GET",
3638
4038
  "path": "/automation/v1/actions/{ns}/{name}",
3639
4039
  "streaming": "no",
@@ -4207,8 +4607,8 @@ export const operations = [
4207
4607
  {
4208
4608
  "resource": "automation.runs",
4209
4609
  "method": "create",
4210
- "summary": "Create a run",
4211
- "description": "Execute a published script or workflow with target, or test unpublished code directly with source and language (ts for TypeScript, yaml for workflow YAML), without first saving or publishing a definition. target and source are mutually exclusive; target accepts ns/name@version, @tag or @range and defaults to latest when @ is omitted. Source/input validation precedes run creation, so a separate validate call is optional. input defaults to {} and must match the input schema and fit within 1 MiB. wait is 0–60 seconds (default 0): a terminal run returns 200, otherwise 202. Use the returned id with praxis.automation.runs.retrieve and inspect status, output and error; acceptance does not mean successful completion. Idempotency-Key is scoped to tenant, method and path for 24 hours, excluding wait from the fingerprint; replay returns the current run with Idempotent-Replayed: true, changed contents return 422 and an in-flight request returns 409. New non-deterministic run IDs contain 78 characters (run_ + 10-character base36 millisecond timestamp + 64-character hexadecimal DO ID), compared with 46 for legacy random IDs. Historical and deterministic IDs remain valid; same-millisecond order is not guaranteed. Minimal body: {\"source\":\"export default async () => ({ok: true});\",\"language\":\"ts\",\"wait\":10}.",
4610
+ "summary": "Run a published target or execute draft source",
4611
+ "description": "Execute a published script or workflow with target, or test unpublished code directly with source and language (ts for TypeScript, yaml for workflow YAML), without first saving or publishing a definition. Minimal script: `export default async ({ file_id }: { file_id: string }) => { const result = await call(\"ocr\", { document: { type: \"file\", file_id } }); return result; }`; send it as source with language=\"ts\", input={\"file_id\":\"<uploaded file ID>\"} and wait=0, using a PDF or image already uploaded to your account. To call a platform API directly in the same script, use the praxis SDK object, for example `praxis.model.ocr.create({ body: { model: \"glm-ocr\", document: { type: \"file\", file_id } } })`; Action IDs are strings passed to call(), not SDK methods such as praxis.ocr(...). praxis, call, invoke, console and codemode are module-scope bindings, not on globalThis, and need no import; invoke(\"namespace/name\", input) starts a child run. target and source are mutually exclusive; target accepts ns/name@version, @tag or @range and defaults to latest when @ is omitted. Source/input validation precedes run creation, so a separate validate call is optional. input defaults to {} and must match the input schema and fit within 1 MiB. wait is 0–60 seconds (default 0): a terminal run returns 200, otherwise 202. Use the returned id with praxis.automation.runs.retrieve and inspect status, output and error; acceptance does not mean successful completion. For long-running, background or batch work, use wait: 0 and poll the run, or split work into child runs or a workflow; wait only controls the response wait and does not extend execution limits. Actions time out after 30 s (run-sandbox after 10 min); scripts have a 5 min wall-clock limit and a 30 s CPU limit; workflows default to 24 h and allow up to 7 days. Each run can start at most 100 child runs, with at most 20 active at once; nesting depth is limited to 10. Idempotency-Key is scoped to tenant, method and path for 24 hours, excluding wait from the fingerprint; replay returns the current run with Idempotent-Replayed: true, changed contents return 422 and an in-flight request returns 409. New non-deterministic run IDs contain 78 characters, compared with 46 for legacy random IDs; treat IDs as opaque strings. Historical and deterministic IDs remain valid; same-millisecond order is not guaranteed.",
4212
4612
  "http": "POST",
4213
4613
  "path": "/automation/v1/runs",
4214
4614
  "streaming": "no",
@@ -4686,7 +5086,7 @@ export const operations = [
4686
5086
  "resource": "automation.scripts",
4687
5087
  "method": "create",
4688
5088
  "summary": "Create a script",
4689
- "description": "Save a TypeScript script as an editable draft for later reuse; this does not publish or start a run. Choose your own namespace without registering it first; praxis is read-only. Scripts and workflows share names within the tenant; a duplicate returns NAME_TAKEN. The draft is a source string with a default-exported function, for example `export default async (input: {name: string}) => ({greeting: \"Hello, \" + input.name});`. To test it, pass that source and language=ts to praxis.automation.runs.create without publishing. To publish later, use the returned draft.revision as expected_draft_revision.",
5089
+ "description": "Save a TypeScript script as an editable draft for later reuse; this does not publish or start a run. Choose your own namespace without registering it first; praxis is reserved for built-in Actions. Scripts and workflows share names within the tenant; a duplicate returns NAME_TAKEN. The draft is a source string with a default-exported function, for example `export default async (input: {name: string}) => ({greeting: \"Hello, \" + input.name});`. Scripts provide praxis, call, invoke, console and codemode as module-scope bindings, not on globalThis, with no import needed: praxis.<domain>.<resource>.<method>(...) calls a platform API, call(\"ocr\", input) calls a built-in Action, and invoke(\"namespace/name\", input) starts a child run. Action IDs are strings (bare names for built-ins, namespace/name for your own Actions); praxis.ocr(...) does not exist. To test it, pass that source and language=ts to praxis.automation.runs.create without publishing. To publish later, use the returned draft.revision as expected_draft_revision.",
4690
5090
  "http": "POST",
4691
5091
  "path": "/automation/v1/scripts",
4692
5092
  "streaming": "no",
@@ -4700,13 +5100,13 @@ export const operations = [
4700
5100
  "name": "namespace",
4701
5101
  "type": "string",
4702
5102
  "required": true,
4703
- "description": "Choose a namespace without prior registration; praxis is read-only. Folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63}."
5103
+ "description": "Choose a namespace without prior registration; praxis is reserved for built-in Actions. Folded to lowercase; matches [a-z0-9][a-z0-9_-]{0,63}."
4704
5104
  },
4705
5105
  {
4706
5106
  "name": "name",
4707
5107
  "type": "string",
4708
5108
  "required": true,
4709
- "description": "Name, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63}."
5109
+ "description": "Name, folded to lowercase; matches [a-z0-9][a-z0-9_-]{0,63}."
4710
5110
  },
4711
5111
  {
4712
5112
  "name": "description",
@@ -4754,7 +5154,7 @@ export const operations = [
4754
5154
  "resource": "automation.scripts",
4755
5155
  "method": "update",
4756
5156
  "summary": "Update a script draft",
4757
- "description": "Update description, labels or draft with the current draft revision in If-Match. Even metadata-only updates create a new draft revision.",
5157
+ "description": "Update description, labels or draft with the current draft revision in If-Match. Even metadata-only updates create a new draft revision. Scripts provide praxis, call, invoke, console and codemode as module-scope bindings, not on globalThis, with no import needed: praxis.<domain>.<resource>.<method>(...) calls a platform API, call(\"ocr\", input) calls a built-in Action, and invoke(\"namespace/name\", input) starts a child run. Action IDs are strings (bare names for built-ins, namespace/name for your own Actions); praxis.ocr(...) does not exist.",
4758
5158
  "http": "PATCH",
4759
5159
  "path": "/automation/v1/scripts/{ns}/{name}",
4760
5160
  "streaming": "no",
@@ -5708,7 +6108,7 @@ export const operations = [
5708
6108
  "resource": "automation.workflows",
5709
6109
  "method": "create",
5710
6110
  "summary": "Create a workflow",
5711
- "description": "Save a YAML workflow as an editable draft without publishing or starting a run. Choose your own namespace without registering it first; praxis is read-only. To test the draft, send its source and language=yaml to praxis.automation.runs.create. Scripts and workflows share names within the tenant; a duplicate returns NAME_TAKEN. run.workflow accepts ns/name@range or {namespace, name, version, input}; run.script uses the same reference shape as a platform extension. Object namespace, name and version are required; version accepts an exact version, dist-tag or range, locked at publication. Object input defaults to {} and supports expressions; string references retain task-level with. run.await defaults to true and returns the child output. With false, the child uses detach and the task immediately returns {run_id}; parent cancellation does not cascade. Inline script.code returns DEFINITION_INVALID with a detail asking you to save a script and reference it first. raise.error retains its type URI, status, title and detail in the run error.",
6111
+ "description": "Save a YAML workflow as an editable draft without publishing or starting a run. Choose your own namespace without registering it first; praxis is reserved for built-in Actions. To test the draft, send its source and language=yaml to praxis.automation.runs.create. Scripts and workflows share names within the tenant; a duplicate returns NAME_TAKEN. run.workflow accepts ns/name@range or {namespace, name, version, input}; run.script uses the same reference shape as a platform extension. Object namespace, name and version are required; version accepts an exact version, dist-tag or range, locked at publication. Object input defaults to {} and supports expressions; string references retain task-level with. run.await defaults to true and returns the child output. With false, the child uses detach and the task immediately returns {run_id}; parent cancellation does not cascade. Inline script.code returns DEFINITION_INVALID with a detail asking you to save a script and reference it first. raise.error retains its type URI, status, title and detail in the run error.",
5712
6112
  "http": "POST",
5713
6113
  "path": "/automation/v1/workflows",
5714
6114
  "streaming": "no",
@@ -5722,13 +6122,13 @@ export const operations = [
5722
6122
  "name": "namespace",
5723
6123
  "type": "string",
5724
6124
  "required": true,
5725
- "description": "Choose a namespace without prior registration; praxis is read-only. Folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63}."
6125
+ "description": "Choose a namespace without prior registration; praxis is reserved for built-in Actions. Folded to lowercase; matches [a-z0-9][a-z0-9_-]{0,63}."
5726
6126
  },
5727
6127
  {
5728
6128
  "name": "name",
5729
6129
  "type": "string",
5730
6130
  "required": true,
5731
- "description": "Name, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63}."
6131
+ "description": "Name, folded to lowercase; matches [a-z0-9][a-z0-9_-]{0,63}."
5732
6132
  },
5733
6133
  {
5734
6134
  "name": "description",
@@ -13845,6 +14245,1466 @@ export const operations = [
13845
14245
  ]
13846
14246
  }
13847
14247
  },
14248
+ {
14249
+ "resource": "ticket.activity",
14250
+ "method": "retrieve",
14251
+ "summary": "List activity",
14252
+ "description": "List activity within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Pass next_page_token as page_token to continue with the same filter. Service authorization applies to the verified human subject.",
14253
+ "http": "GET",
14254
+ "path": "/ticket/v1/activity",
14255
+ "streaming": "no",
14256
+ "pagination": false,
14257
+ "pathParams": [],
14258
+ "query": [
14259
+ {
14260
+ "name": "repository",
14261
+ "type": "string",
14262
+ "required": false,
14263
+ "description": "Repository id from GET /ticket/v1/repositories; omit for the default tickets container."
14264
+ },
14265
+ {
14266
+ "name": "page_size",
14267
+ "type": "integer",
14268
+ "required": false,
14269
+ "description": "Records per page; defaults to 30, maximum 100."
14270
+ },
14271
+ {
14272
+ "name": "page_token",
14273
+ "type": "string",
14274
+ "required": false,
14275
+ "description": "Cursor returned as next_page_token; omit for the first page."
14276
+ },
14277
+ {
14278
+ "name": "filter",
14279
+ "type": "string",
14280
+ "required": false,
14281
+ "description": "Activity qualifiers: actor, actor-kind, action, ticket, source and since; passed unchanged to the service."
14282
+ }
14283
+ ]
14284
+ },
14285
+ {
14286
+ "resource": "ticket.comments",
14287
+ "method": "delete",
14288
+ "summary": "Remove comments",
14289
+ "description": "Remove comments within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Service authorization applies to the verified human subject.",
14290
+ "http": "DELETE",
14291
+ "path": "/ticket/v1/comments/{id}",
14292
+ "streaming": "no",
14293
+ "pagination": false,
14294
+ "pathParams": [
14295
+ {
14296
+ "name": "id",
14297
+ "sdkName": "id"
14298
+ }
14299
+ ],
14300
+ "query": [
14301
+ {
14302
+ "name": "repository",
14303
+ "type": "string",
14304
+ "required": false,
14305
+ "description": "Repository id from GET /ticket/v1/repositories; omit for the default tickets container."
14306
+ }
14307
+ ]
14308
+ },
14309
+ {
14310
+ "resource": "ticket.comments",
14311
+ "method": "retrieve",
14312
+ "summary": "Read comments",
14313
+ "description": "Read comments within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Service authorization applies to the verified human subject.",
14314
+ "http": "GET",
14315
+ "path": "/ticket/v1/comments/{id}",
14316
+ "streaming": "no",
14317
+ "pagination": false,
14318
+ "pathParams": [
14319
+ {
14320
+ "name": "id",
14321
+ "sdkName": "id"
14322
+ }
14323
+ ],
14324
+ "query": [
14325
+ {
14326
+ "name": "repository",
14327
+ "type": "string",
14328
+ "required": false,
14329
+ "description": "Repository id from GET /ticket/v1/repositories; omit for the default tickets container."
14330
+ }
14331
+ ]
14332
+ },
14333
+ {
14334
+ "resource": "ticket.comments",
14335
+ "method": "update",
14336
+ "summary": "Update comments",
14337
+ "description": "Update comments within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Service authorization applies to the verified human subject.",
14338
+ "http": "PATCH",
14339
+ "path": "/ticket/v1/comments/{id}",
14340
+ "streaming": "no",
14341
+ "pagination": false,
14342
+ "pathParams": [
14343
+ {
14344
+ "name": "id",
14345
+ "sdkName": "id"
14346
+ }
14347
+ ],
14348
+ "query": [
14349
+ {
14350
+ "name": "repository",
14351
+ "type": "string",
14352
+ "required": false,
14353
+ "description": "Repository id from GET /ticket/v1/repositories; omit for the default tickets container."
14354
+ }
14355
+ ],
14356
+ "body": {
14357
+ "required": true,
14358
+ "fields": [
14359
+ {
14360
+ "name": "body",
14361
+ "type": "string",
14362
+ "required": true,
14363
+ "description": "Markdown text, at most 65536 characters."
14364
+ },
14365
+ {
14366
+ "name": "in_reply_to",
14367
+ "type": "string",
14368
+ "required": false,
14369
+ "description": "Opaque identifier returned by this resource's create or list operation."
14370
+ }
14371
+ ]
14372
+ }
14373
+ },
14374
+ {
14375
+ "resource": "ticket.comments.reactions",
14376
+ "method": "list",
14377
+ "summary": "List reactions",
14378
+ "description": "List reactions within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Pass next_page_token as page_token to continue with the same filter. Service authorization applies to the verified human subject.",
14379
+ "http": "GET",
14380
+ "path": "/ticket/v1/comments/{id}/reactions",
14381
+ "streaming": "no",
14382
+ "pagination": false,
14383
+ "pathParams": [
14384
+ {
14385
+ "name": "id",
14386
+ "sdkName": "id"
14387
+ }
14388
+ ],
14389
+ "query": [
14390
+ {
14391
+ "name": "repository",
14392
+ "type": "string",
14393
+ "required": false,
14394
+ "description": "Repository id from GET /ticket/v1/repositories; omit for the default tickets container."
14395
+ },
14396
+ {
14397
+ "name": "page_size",
14398
+ "type": "integer",
14399
+ "required": false,
14400
+ "description": "Records per page; defaults to 30, maximum 100."
14401
+ },
14402
+ {
14403
+ "name": "page_token",
14404
+ "type": "string",
14405
+ "required": false,
14406
+ "description": "Cursor returned as next_page_token; omit for the first page."
14407
+ }
14408
+ ]
14409
+ },
14410
+ {
14411
+ "resource": "ticket.comments.reactions",
14412
+ "method": "create",
14413
+ "summary": "Create or add reactions",
14414
+ "description": "Create or add reactions within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Service authorization applies to the verified human subject.",
14415
+ "http": "POST",
14416
+ "path": "/ticket/v1/comments/{id}/reactions",
14417
+ "streaming": "no",
14418
+ "pagination": false,
14419
+ "pathParams": [
14420
+ {
14421
+ "name": "id",
14422
+ "sdkName": "id"
14423
+ }
14424
+ ],
14425
+ "query": [
14426
+ {
14427
+ "name": "repository",
14428
+ "type": "string",
14429
+ "required": false,
14430
+ "description": "Repository id from GET /ticket/v1/repositories; omit for the default tickets container."
14431
+ }
14432
+ ],
14433
+ "body": {
14434
+ "required": true,
14435
+ "fields": [
14436
+ {
14437
+ "name": "content",
14438
+ "type": "string",
14439
+ "enum": [
14440
+ "+1",
14441
+ "-1",
14442
+ "laugh",
14443
+ "confused",
14444
+ "heart",
14445
+ "hooray",
14446
+ "eyes",
14447
+ "rocket"
14448
+ ],
14449
+ "required": true,
14450
+ "description": "Reaction to add or remove: +1 approves, -1 disapproves, laugh, confused, heart, hooray, eyes, or rocket."
14451
+ }
14452
+ ]
14453
+ }
14454
+ },
14455
+ {
14456
+ "resource": "ticket.comments.reactions",
14457
+ "method": "delete",
14458
+ "summary": "Remove reactions",
14459
+ "description": "Remove reactions within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Service authorization applies to the verified human subject.",
14460
+ "http": "DELETE",
14461
+ "path": "/ticket/v1/comments/{id}/reactions/{content}",
14462
+ "streaming": "no",
14463
+ "pagination": false,
14464
+ "pathParams": [
14465
+ {
14466
+ "name": "id",
14467
+ "sdkName": "id"
14468
+ },
14469
+ {
14470
+ "name": "content",
14471
+ "sdkName": "content"
14472
+ }
14473
+ ],
14474
+ "query": [
14475
+ {
14476
+ "name": "repository",
14477
+ "type": "string",
14478
+ "required": false,
14479
+ "description": "Repository id from GET /ticket/v1/repositories; omit for the default tickets container."
14480
+ }
14481
+ ]
14482
+ },
14483
+ {
14484
+ "resource": "ticket.labels",
14485
+ "method": "list",
14486
+ "summary": "List labels",
14487
+ "description": "List labels within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Pass next_page_token as page_token to continue with the same filter. Service authorization applies to the verified human subject.",
14488
+ "http": "GET",
14489
+ "path": "/ticket/v1/labels",
14490
+ "streaming": "no",
14491
+ "pagination": false,
14492
+ "pathParams": [],
14493
+ "query": [
14494
+ {
14495
+ "name": "repository",
14496
+ "type": "string",
14497
+ "required": false,
14498
+ "description": "Repository id from GET /ticket/v1/repositories; omit for the default tickets container."
14499
+ },
14500
+ {
14501
+ "name": "page_size",
14502
+ "type": "integer",
14503
+ "required": false,
14504
+ "description": "Records per page; defaults to 30, maximum 100."
14505
+ },
14506
+ {
14507
+ "name": "page_token",
14508
+ "type": "string",
14509
+ "required": false,
14510
+ "description": "Cursor returned as next_page_token; omit for the first page."
14511
+ }
14512
+ ]
14513
+ },
14514
+ {
14515
+ "resource": "ticket.labels",
14516
+ "method": "create",
14517
+ "summary": "Create or add labels",
14518
+ "description": "Create or add labels within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Organization owner or admin authority is required for this write; API keys without role information act as members.",
14519
+ "http": "POST",
14520
+ "path": "/ticket/v1/labels",
14521
+ "streaming": "no",
14522
+ "pagination": false,
14523
+ "pathParams": [],
14524
+ "query": [
14525
+ {
14526
+ "name": "repository",
14527
+ "type": "string",
14528
+ "required": false,
14529
+ "description": "Repository id from GET /ticket/v1/repositories; omit for the default tickets container."
14530
+ }
14531
+ ],
14532
+ "body": {
14533
+ "required": true,
14534
+ "fields": [
14535
+ {
14536
+ "name": "name",
14537
+ "type": "string",
14538
+ "required": true,
14539
+ "description": "Case-insensitive label name within the repository."
14540
+ },
14541
+ {
14542
+ "name": "color",
14543
+ "type": "string",
14544
+ "required": true,
14545
+ "description": "Six hexadecimal digits without #."
14546
+ },
14547
+ {
14548
+ "name": "description",
14549
+ "type": "string",
14550
+ "required": false,
14551
+ "description": "Label's purpose."
14552
+ }
14553
+ ]
14554
+ }
14555
+ },
14556
+ {
14557
+ "resource": "ticket.labels",
14558
+ "method": "delete",
14559
+ "summary": "Remove labels",
14560
+ "description": "Remove labels within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Organization owner or admin authority is required for this write; API keys without role information act as members.",
14561
+ "http": "DELETE",
14562
+ "path": "/ticket/v1/labels/{name}",
14563
+ "streaming": "no",
14564
+ "pagination": false,
14565
+ "pathParams": [
14566
+ {
14567
+ "name": "name",
14568
+ "sdkName": "name"
14569
+ }
14570
+ ],
14571
+ "query": [
14572
+ {
14573
+ "name": "repository",
14574
+ "type": "string",
14575
+ "required": false,
14576
+ "description": "Repository id from GET /ticket/v1/repositories; omit for the default tickets container."
14577
+ }
14578
+ ]
14579
+ },
14580
+ {
14581
+ "resource": "ticket.labels",
14582
+ "method": "update",
14583
+ "summary": "Update labels",
14584
+ "description": "Update labels within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Organization owner or admin authority is required for this write; API keys without role information act as members.",
14585
+ "http": "PATCH",
14586
+ "path": "/ticket/v1/labels/{name}",
14587
+ "streaming": "no",
14588
+ "pagination": false,
14589
+ "pathParams": [
14590
+ {
14591
+ "name": "name",
14592
+ "sdkName": "name"
14593
+ }
14594
+ ],
14595
+ "query": [
14596
+ {
14597
+ "name": "repository",
14598
+ "type": "string",
14599
+ "required": false,
14600
+ "description": "Repository id from GET /ticket/v1/repositories; omit for the default tickets container."
14601
+ }
14602
+ ],
14603
+ "body": {
14604
+ "required": true,
14605
+ "fields": [
14606
+ {
14607
+ "name": "color",
14608
+ "type": "string",
14609
+ "required": false,
14610
+ "description": "Six hexadecimal digits without #."
14611
+ },
14612
+ {
14613
+ "name": "description",
14614
+ "type": "string",
14615
+ "required": false,
14616
+ "description": "Label's purpose."
14617
+ },
14618
+ {
14619
+ "name": "new_name",
14620
+ "type": "string",
14621
+ "required": false,
14622
+ "description": "Case-insensitive label name within the repository."
14623
+ }
14624
+ ]
14625
+ }
14626
+ },
14627
+ {
14628
+ "resource": "ticket.milestones",
14629
+ "method": "list",
14630
+ "summary": "List milestones",
14631
+ "description": "List milestones within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Pass next_page_token as page_token to continue with the same filter. Service authorization applies to the verified human subject.",
14632
+ "http": "GET",
14633
+ "path": "/ticket/v1/milestones",
14634
+ "streaming": "no",
14635
+ "pagination": false,
14636
+ "pathParams": [],
14637
+ "query": [
14638
+ {
14639
+ "name": "repository",
14640
+ "type": "string",
14641
+ "required": false,
14642
+ "description": "Repository id from GET /ticket/v1/repositories; omit for the default tickets container."
14643
+ },
14644
+ {
14645
+ "name": "page_size",
14646
+ "type": "integer",
14647
+ "required": false,
14648
+ "description": "Records per page; defaults to 30, maximum 100."
14649
+ },
14650
+ {
14651
+ "name": "page_token",
14652
+ "type": "string",
14653
+ "required": false,
14654
+ "description": "Cursor returned as next_page_token; omit for the first page."
14655
+ }
14656
+ ]
14657
+ },
14658
+ {
14659
+ "resource": "ticket.milestones",
14660
+ "method": "create",
14661
+ "summary": "Create or add milestones",
14662
+ "description": "Create or add milestones within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Organization owner or admin authority is required for this write; API keys without role information act as members.",
14663
+ "http": "POST",
14664
+ "path": "/ticket/v1/milestones",
14665
+ "streaming": "no",
14666
+ "pagination": false,
14667
+ "pathParams": [],
14668
+ "query": [
14669
+ {
14670
+ "name": "repository",
14671
+ "type": "string",
14672
+ "required": false,
14673
+ "description": "Repository id from GET /ticket/v1/repositories; omit for the default tickets container."
14674
+ }
14675
+ ],
14676
+ "body": {
14677
+ "required": true,
14678
+ "fields": [
14679
+ {
14680
+ "name": "title",
14681
+ "type": "string",
14682
+ "required": true,
14683
+ "description": "Short title, at most 256 Unicode characters."
14684
+ },
14685
+ {
14686
+ "name": "description",
14687
+ "type": "string",
14688
+ "required": false,
14689
+ "description": "Milestone description."
14690
+ },
14691
+ {
14692
+ "name": "due_on",
14693
+ "type": "string",
14694
+ "required": false,
14695
+ "description": "Due date, or null if unset."
14696
+ },
14697
+ {
14698
+ "name": "state",
14699
+ "type": "string",
14700
+ "enum": [
14701
+ "open",
14702
+ "closed"
14703
+ ],
14704
+ "required": false,
14705
+ "description": "open means actionable; closed means resolved or declined."
14706
+ }
14707
+ ]
14708
+ }
14709
+ },
14710
+ {
14711
+ "resource": "ticket.milestones",
14712
+ "method": "delete",
14713
+ "summary": "Remove milestones",
14714
+ "description": "Remove milestones within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Organization owner or admin authority is required for this write; API keys without role information act as members.",
14715
+ "http": "DELETE",
14716
+ "path": "/ticket/v1/milestones/{number}",
14717
+ "streaming": "no",
14718
+ "pagination": false,
14719
+ "pathParams": [
14720
+ {
14721
+ "name": "number",
14722
+ "sdkName": "number"
14723
+ }
14724
+ ],
14725
+ "query": [
14726
+ {
14727
+ "name": "repository",
14728
+ "type": "string",
14729
+ "required": false,
14730
+ "description": "Repository id from GET /ticket/v1/repositories; omit for the default tickets container."
14731
+ }
14732
+ ]
14733
+ },
14734
+ {
14735
+ "resource": "ticket.milestones",
14736
+ "method": "retrieve",
14737
+ "summary": "Read milestones",
14738
+ "description": "Read milestones within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Service authorization applies to the verified human subject.",
14739
+ "http": "GET",
14740
+ "path": "/ticket/v1/milestones/{number}",
14741
+ "streaming": "no",
14742
+ "pagination": false,
14743
+ "pathParams": [
14744
+ {
14745
+ "name": "number",
14746
+ "sdkName": "number"
14747
+ }
14748
+ ],
14749
+ "query": [
14750
+ {
14751
+ "name": "repository",
14752
+ "type": "string",
14753
+ "required": false,
14754
+ "description": "Repository id from GET /ticket/v1/repositories; omit for the default tickets container."
14755
+ }
14756
+ ]
14757
+ },
14758
+ {
14759
+ "resource": "ticket.milestones",
14760
+ "method": "update",
14761
+ "summary": "Update milestones",
14762
+ "description": "Update milestones within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Organization owner or admin authority is required for this write; API keys without role information act as members.",
14763
+ "http": "PATCH",
14764
+ "path": "/ticket/v1/milestones/{number}",
14765
+ "streaming": "no",
14766
+ "pagination": false,
14767
+ "pathParams": [
14768
+ {
14769
+ "name": "number",
14770
+ "sdkName": "number"
14771
+ }
14772
+ ],
14773
+ "query": [
14774
+ {
14775
+ "name": "repository",
14776
+ "type": "string",
14777
+ "required": false,
14778
+ "description": "Repository id from GET /ticket/v1/repositories; omit for the default tickets container."
14779
+ }
14780
+ ],
14781
+ "body": {
14782
+ "required": true,
14783
+ "fields": [
14784
+ {
14785
+ "name": "title",
14786
+ "type": "string",
14787
+ "required": false,
14788
+ "description": "Short title, at most 256 Unicode characters."
14789
+ },
14790
+ {
14791
+ "name": "description",
14792
+ "type": "string",
14793
+ "required": false,
14794
+ "description": "Milestone description."
14795
+ },
14796
+ {
14797
+ "name": "due_on",
14798
+ "type": "string",
14799
+ "required": false,
14800
+ "description": "Due date, or null if unset."
14801
+ },
14802
+ {
14803
+ "name": "state",
14804
+ "type": "string",
14805
+ "enum": [
14806
+ "open",
14807
+ "closed"
14808
+ ],
14809
+ "required": false,
14810
+ "description": "open means actionable; closed means resolved or declined."
14811
+ }
14812
+ ]
14813
+ }
14814
+ },
14815
+ {
14816
+ "resource": "ticket.repositories",
14817
+ "method": "list",
14818
+ "summary": "List repositories",
14819
+ "description": "List repositories within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Pass next_page_token as page_token to continue with the same filter. Service authorization applies to the verified human subject.",
14820
+ "http": "GET",
14821
+ "path": "/ticket/v1/repositories",
14822
+ "streaming": "no",
14823
+ "pagination": false,
14824
+ "pathParams": [],
14825
+ "query": [
14826
+ {
14827
+ "name": "page_size",
14828
+ "type": "integer",
14829
+ "required": false,
14830
+ "description": "Records per page; defaults to 30, maximum 100."
14831
+ },
14832
+ {
14833
+ "name": "page_token",
14834
+ "type": "string",
14835
+ "required": false,
14836
+ "description": "Cursor returned as next_page_token; omit for the first page."
14837
+ }
14838
+ ]
14839
+ },
14840
+ {
14841
+ "resource": "ticket.tickets",
14842
+ "method": "list",
14843
+ "summary": "List tickets",
14844
+ "description": "List tickets within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Pass next_page_token as page_token to continue with the same filter. Service authorization applies to the verified human subject.",
14845
+ "http": "GET",
14846
+ "path": "/ticket/v1/tickets",
14847
+ "streaming": "no",
14848
+ "pagination": false,
14849
+ "pathParams": [],
14850
+ "query": [
14851
+ {
14852
+ "name": "repository",
14853
+ "type": "string",
14854
+ "required": false,
14855
+ "description": "Repository id from GET /ticket/v1/repositories; omit for the default tickets container."
14856
+ },
14857
+ {
14858
+ "name": "page_size",
14859
+ "type": "integer",
14860
+ "required": false,
14861
+ "description": "Records per page; defaults to 30, maximum 100."
14862
+ },
14863
+ {
14864
+ "name": "page_token",
14865
+ "type": "string",
14866
+ "required": false,
14867
+ "description": "Cursor returned as next_page_token; omit for the first page."
14868
+ },
14869
+ {
14870
+ "name": "filter",
14871
+ "type": "string",
14872
+ "required": false,
14873
+ "description": "Search qualifier subset: is/state, reason, label/-label, no, assignee, author, mentions, milestone, type, kind, assignee-kind, in and sort; unknown qualifiers return INVALID_PARAMS. Passed unchanged to the service."
14874
+ }
14875
+ ]
14876
+ },
14877
+ {
14878
+ "resource": "ticket.tickets",
14879
+ "method": "create",
14880
+ "summary": "Create or add tickets",
14881
+ "description": "Create or add tickets within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Service authorization applies to the verified human subject.",
14882
+ "http": "POST",
14883
+ "path": "/ticket/v1/tickets",
14884
+ "streaming": "no",
14885
+ "pagination": false,
14886
+ "pathParams": [],
14887
+ "query": [
14888
+ {
14889
+ "name": "repository",
14890
+ "type": "string",
14891
+ "required": false,
14892
+ "description": "Repository id from GET /ticket/v1/repositories; omit for the default tickets container."
14893
+ }
14894
+ ],
14895
+ "body": {
14896
+ "required": true,
14897
+ "fields": [
14898
+ {
14899
+ "name": "title",
14900
+ "type": "string",
14901
+ "required": true,
14902
+ "description": "Short title, at most 256 Unicode characters."
14903
+ },
14904
+ {
14905
+ "name": "body",
14906
+ "type": "string",
14907
+ "required": false,
14908
+ "description": "Markdown text, at most 65536 characters."
14909
+ },
14910
+ {
14911
+ "name": "type",
14912
+ "type": "string",
14913
+ "required": false,
14914
+ "description": "Built-in type name; null clears an existing type."
14915
+ },
14916
+ {
14917
+ "name": "labels",
14918
+ "type": "array",
14919
+ "itemType": "string",
14920
+ "required": false,
14921
+ "description": "Labels attached to this ticket; updates replace the complete list."
14922
+ },
14923
+ {
14924
+ "name": "assignees",
14925
+ "type": "array",
14926
+ "itemType": "string",
14927
+ "required": false,
14928
+ "description": "Complete assignee list, at most ten."
14929
+ },
14930
+ {
14931
+ "name": "milestone",
14932
+ "type": "integer",
14933
+ "required": false,
14934
+ "description": "Repository-local number returned by create or list; distinct from the object's id."
14935
+ },
14936
+ {
14937
+ "name": "parent",
14938
+ "type": "integer",
14939
+ "required": false,
14940
+ "description": "Repository-local number returned by create or list; distinct from the object's id."
14941
+ }
14942
+ ]
14943
+ }
14944
+ },
14945
+ {
14946
+ "resource": "ticket.tickets",
14947
+ "method": "retrieve",
14948
+ "summary": "Read tickets",
14949
+ "description": "Read tickets within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Service authorization applies to the verified human subject.",
14950
+ "http": "GET",
14951
+ "path": "/ticket/v1/tickets/{number}",
14952
+ "streaming": "no",
14953
+ "pagination": false,
14954
+ "pathParams": [
14955
+ {
14956
+ "name": "number",
14957
+ "sdkName": "number"
14958
+ }
14959
+ ],
14960
+ "query": [
14961
+ {
14962
+ "name": "repository",
14963
+ "type": "string",
14964
+ "required": false,
14965
+ "description": "Repository id from GET /ticket/v1/repositories; omit for the default tickets container."
14966
+ }
14967
+ ]
14968
+ },
14969
+ {
14970
+ "resource": "ticket.tickets",
14971
+ "method": "update",
14972
+ "summary": "Update tickets",
14973
+ "description": "Update tickets within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Service authorization applies to the verified human subject.",
14974
+ "http": "PATCH",
14975
+ "path": "/ticket/v1/tickets/{number}",
14976
+ "streaming": "no",
14977
+ "pagination": false,
14978
+ "pathParams": [
14979
+ {
14980
+ "name": "number",
14981
+ "sdkName": "number"
14982
+ }
14983
+ ],
14984
+ "query": [
14985
+ {
14986
+ "name": "repository",
14987
+ "type": "string",
14988
+ "required": false,
14989
+ "description": "Repository id from GET /ticket/v1/repositories; omit for the default tickets container."
14990
+ }
14991
+ ],
14992
+ "body": {
14993
+ "required": true,
14994
+ "fields": [
14995
+ {
14996
+ "name": "title",
14997
+ "type": "string",
14998
+ "required": false,
14999
+ "description": "Short title, at most 256 Unicode characters."
15000
+ },
15001
+ {
15002
+ "name": "body",
15003
+ "type": "string",
15004
+ "required": false,
15005
+ "description": "Markdown text, at most 65536 characters."
15006
+ },
15007
+ {
15008
+ "name": "type",
15009
+ "type": "string",
15010
+ "required": false,
15011
+ "description": "Built-in type name; null clears an existing type."
15012
+ },
15013
+ {
15014
+ "name": "labels",
15015
+ "type": "array",
15016
+ "itemType": "string",
15017
+ "required": false,
15018
+ "description": "Labels attached to this ticket; updates replace the complete list."
15019
+ },
15020
+ {
15021
+ "name": "assignees",
15022
+ "type": "array",
15023
+ "itemType": "string",
15024
+ "required": false,
15025
+ "description": "Complete assignee list, at most ten."
15026
+ },
15027
+ {
15028
+ "name": "milestone",
15029
+ "type": "integer",
15030
+ "required": false,
15031
+ "description": "Repository-local number returned by create or list; distinct from the object's id."
15032
+ },
15033
+ {
15034
+ "name": "state",
15035
+ "type": "string",
15036
+ "enum": [
15037
+ "open",
15038
+ "closed"
15039
+ ],
15040
+ "required": false,
15041
+ "description": "open means actionable; closed means resolved or declined."
15042
+ },
15043
+ {
15044
+ "name": "state_reason",
15045
+ "type": "string",
15046
+ "enum": [
15047
+ "completed",
15048
+ "not_planned",
15049
+ "duplicate"
15050
+ ],
15051
+ "required": false,
15052
+ "description": "Reason for closing: completed resolves, not_planned declines, duplicate marks a duplicate."
15053
+ },
15054
+ {
15055
+ "name": "duplicate_of",
15056
+ "type": "integer",
15057
+ "required": false,
15058
+ "description": "Repository-local number returned by create or list; distinct from the object's id."
15059
+ }
15060
+ ]
15061
+ }
15062
+ },
15063
+ {
15064
+ "resource": "ticket.tickets.comments",
15065
+ "method": "list",
15066
+ "summary": "List comments",
15067
+ "description": "List comments within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Pass next_page_token as page_token to continue with the same filter. Service authorization applies to the verified human subject.",
15068
+ "http": "GET",
15069
+ "path": "/ticket/v1/tickets/{number}/comments",
15070
+ "streaming": "no",
15071
+ "pagination": false,
15072
+ "pathParams": [
15073
+ {
15074
+ "name": "number",
15075
+ "sdkName": "number"
15076
+ }
15077
+ ],
15078
+ "query": [
15079
+ {
15080
+ "name": "repository",
15081
+ "type": "string",
15082
+ "required": false,
15083
+ "description": "Repository id from GET /ticket/v1/repositories; omit for the default tickets container."
15084
+ },
15085
+ {
15086
+ "name": "page_size",
15087
+ "type": "integer",
15088
+ "required": false,
15089
+ "description": "Records per page; defaults to 30, maximum 100."
15090
+ },
15091
+ {
15092
+ "name": "page_token",
15093
+ "type": "string",
15094
+ "required": false,
15095
+ "description": "Cursor returned as next_page_token; omit for the first page."
15096
+ }
15097
+ ]
15098
+ },
15099
+ {
15100
+ "resource": "ticket.tickets.comments",
15101
+ "method": "create",
15102
+ "summary": "Create or add comments",
15103
+ "description": "Create or add comments within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Service authorization applies to the verified human subject.",
15104
+ "http": "POST",
15105
+ "path": "/ticket/v1/tickets/{number}/comments",
15106
+ "streaming": "no",
15107
+ "pagination": false,
15108
+ "pathParams": [
15109
+ {
15110
+ "name": "number",
15111
+ "sdkName": "number"
15112
+ }
15113
+ ],
15114
+ "query": [
15115
+ {
15116
+ "name": "repository",
15117
+ "type": "string",
15118
+ "required": false,
15119
+ "description": "Repository id from GET /ticket/v1/repositories; omit for the default tickets container."
15120
+ }
15121
+ ],
15122
+ "body": {
15123
+ "required": true,
15124
+ "fields": [
15125
+ {
15126
+ "name": "body",
15127
+ "type": "string",
15128
+ "required": true,
15129
+ "description": "Markdown text, at most 65536 characters."
15130
+ },
15131
+ {
15132
+ "name": "in_reply_to",
15133
+ "type": "string",
15134
+ "required": false,
15135
+ "description": "Opaque identifier returned by this resource's create or list operation."
15136
+ }
15137
+ ]
15138
+ }
15139
+ },
15140
+ {
15141
+ "resource": "ticket.tickets.dependencies",
15142
+ "method": "retrieveBlockedBy",
15143
+ "summary": "List blocked by",
15144
+ "description": "List blocked by within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Pass next_page_token as page_token to continue with the same filter. Service authorization applies to the verified human subject.",
15145
+ "http": "GET",
15146
+ "path": "/ticket/v1/tickets/{number}/dependencies/blocked_by",
15147
+ "streaming": "no",
15148
+ "pagination": false,
15149
+ "pathParams": [
15150
+ {
15151
+ "name": "number",
15152
+ "sdkName": "number"
15153
+ }
15154
+ ],
15155
+ "query": [
15156
+ {
15157
+ "name": "repository",
15158
+ "type": "string",
15159
+ "required": false,
15160
+ "description": "Repository id from GET /ticket/v1/repositories; omit for the default tickets container."
15161
+ },
15162
+ {
15163
+ "name": "page_size",
15164
+ "type": "integer",
15165
+ "required": false,
15166
+ "description": "Records per page; defaults to 30, maximum 100."
15167
+ },
15168
+ {
15169
+ "name": "page_token",
15170
+ "type": "string",
15171
+ "required": false,
15172
+ "description": "Cursor returned as next_page_token; omit for the first page."
15173
+ }
15174
+ ]
15175
+ },
15176
+ {
15177
+ "resource": "ticket.tickets.dependencies.blockedBy",
15178
+ "method": "create",
15179
+ "summary": "Create or add blocked by",
15180
+ "description": "Create or add blocked by within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Service authorization applies to the verified human subject.",
15181
+ "http": "POST",
15182
+ "path": "/ticket/v1/tickets/{number}/dependencies/blocked_by",
15183
+ "streaming": "no",
15184
+ "pagination": false,
15185
+ "pathParams": [
15186
+ {
15187
+ "name": "number",
15188
+ "sdkName": "number"
15189
+ }
15190
+ ],
15191
+ "query": [
15192
+ {
15193
+ "name": "repository",
15194
+ "type": "string",
15195
+ "required": false,
15196
+ "description": "Repository id from GET /ticket/v1/repositories; omit for the default tickets container."
15197
+ }
15198
+ ],
15199
+ "body": {
15200
+ "required": true,
15201
+ "fields": [
15202
+ {
15203
+ "name": "blocked_by",
15204
+ "type": "integer",
15205
+ "required": true,
15206
+ "description": "Repository-local number returned by create or list; distinct from the object's id."
15207
+ }
15208
+ ]
15209
+ }
15210
+ },
15211
+ {
15212
+ "resource": "ticket.tickets.dependencies.blockedBy",
15213
+ "method": "delete",
15214
+ "summary": "Remove blocked by",
15215
+ "description": "Remove blocked by within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Service authorization applies to the verified human subject.",
15216
+ "http": "DELETE",
15217
+ "path": "/ticket/v1/tickets/{number}/dependencies/blocked_by/{n}",
15218
+ "streaming": "no",
15219
+ "pagination": false,
15220
+ "pathParams": [
15221
+ {
15222
+ "name": "number",
15223
+ "sdkName": "number"
15224
+ },
15225
+ {
15226
+ "name": "n",
15227
+ "sdkName": "n"
15228
+ }
15229
+ ],
15230
+ "query": [
15231
+ {
15232
+ "name": "repository",
15233
+ "type": "string",
15234
+ "required": false,
15235
+ "description": "Repository id from GET /ticket/v1/repositories; omit for the default tickets container."
15236
+ }
15237
+ ]
15238
+ },
15239
+ {
15240
+ "resource": "ticket.tickets.dependencies",
15241
+ "method": "retrieveBlocking",
15242
+ "summary": "List blocking",
15243
+ "description": "List blocking within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Pass next_page_token as page_token to continue with the same filter. Service authorization applies to the verified human subject.",
15244
+ "http": "GET",
15245
+ "path": "/ticket/v1/tickets/{number}/dependencies/blocking",
15246
+ "streaming": "no",
15247
+ "pagination": false,
15248
+ "pathParams": [
15249
+ {
15250
+ "name": "number",
15251
+ "sdkName": "number"
15252
+ }
15253
+ ],
15254
+ "query": [
15255
+ {
15256
+ "name": "repository",
15257
+ "type": "string",
15258
+ "required": false,
15259
+ "description": "Repository id from GET /ticket/v1/repositories; omit for the default tickets container."
15260
+ },
15261
+ {
15262
+ "name": "page_size",
15263
+ "type": "integer",
15264
+ "required": false,
15265
+ "description": "Records per page; defaults to 30, maximum 100."
15266
+ },
15267
+ {
15268
+ "name": "page_token",
15269
+ "type": "string",
15270
+ "required": false,
15271
+ "description": "Cursor returned as next_page_token; omit for the first page."
15272
+ }
15273
+ ]
15274
+ },
15275
+ {
15276
+ "resource": "ticket.tickets.events",
15277
+ "method": "list",
15278
+ "summary": "List events",
15279
+ "description": "List events within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Pass next_page_token as page_token to continue with the same filter. Service authorization applies to the verified human subject.",
15280
+ "http": "GET",
15281
+ "path": "/ticket/v1/tickets/{number}/events",
15282
+ "streaming": "no",
15283
+ "pagination": false,
15284
+ "pathParams": [
15285
+ {
15286
+ "name": "number",
15287
+ "sdkName": "number"
15288
+ }
15289
+ ],
15290
+ "query": [
15291
+ {
15292
+ "name": "repository",
15293
+ "type": "string",
15294
+ "required": false,
15295
+ "description": "Repository id from GET /ticket/v1/repositories; omit for the default tickets container."
15296
+ },
15297
+ {
15298
+ "name": "page_size",
15299
+ "type": "integer",
15300
+ "required": false,
15301
+ "description": "Records per page; defaults to 30, maximum 100."
15302
+ },
15303
+ {
15304
+ "name": "page_token",
15305
+ "type": "string",
15306
+ "required": false,
15307
+ "description": "Cursor returned as next_page_token; omit for the first page."
15308
+ }
15309
+ ]
15310
+ },
15311
+ {
15312
+ "resource": "ticket.tickets",
15313
+ "method": "deleteLock",
15314
+ "summary": "Remove lock",
15315
+ "description": "Remove lock within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Organization owner or admin authority is required for this write; API keys without role information act as members.",
15316
+ "http": "DELETE",
15317
+ "path": "/ticket/v1/tickets/{number}/lock",
15318
+ "streaming": "no",
15319
+ "pagination": false,
15320
+ "pathParams": [
15321
+ {
15322
+ "name": "number",
15323
+ "sdkName": "number"
15324
+ }
15325
+ ],
15326
+ "query": [
15327
+ {
15328
+ "name": "repository",
15329
+ "type": "string",
15330
+ "required": false,
15331
+ "description": "Repository id from GET /ticket/v1/repositories; omit for the default tickets container."
15332
+ }
15333
+ ]
15334
+ },
15335
+ {
15336
+ "resource": "ticket.tickets",
15337
+ "method": "updateLock",
15338
+ "summary": "Update lock",
15339
+ "description": "Update lock within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Organization owner or admin authority is required for this write; API keys without role information act as members.",
15340
+ "http": "PUT",
15341
+ "path": "/ticket/v1/tickets/{number}/lock",
15342
+ "streaming": "no",
15343
+ "pagination": false,
15344
+ "pathParams": [
15345
+ {
15346
+ "name": "number",
15347
+ "sdkName": "number"
15348
+ }
15349
+ ],
15350
+ "query": [
15351
+ {
15352
+ "name": "repository",
15353
+ "type": "string",
15354
+ "required": false,
15355
+ "description": "Repository id from GET /ticket/v1/repositories; omit for the default tickets container."
15356
+ }
15357
+ ],
15358
+ "body": {
15359
+ "required": false,
15360
+ "fields": [
15361
+ {
15362
+ "name": "lock_reason",
15363
+ "type": "string",
15364
+ "enum": [
15365
+ "off-topic",
15366
+ "too heated",
15367
+ "resolved",
15368
+ "spam"
15369
+ ],
15370
+ "required": false,
15371
+ "description": "Reason for locking: off-topic, too heated, resolved, or spam."
15372
+ }
15373
+ ]
15374
+ }
15375
+ },
15376
+ {
15377
+ "resource": "ticket.tickets.reactions",
15378
+ "method": "list",
15379
+ "summary": "List reactions",
15380
+ "description": "List reactions within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Pass next_page_token as page_token to continue with the same filter. Service authorization applies to the verified human subject.",
15381
+ "http": "GET",
15382
+ "path": "/ticket/v1/tickets/{number}/reactions",
15383
+ "streaming": "no",
15384
+ "pagination": false,
15385
+ "pathParams": [
15386
+ {
15387
+ "name": "number",
15388
+ "sdkName": "number"
15389
+ }
15390
+ ],
15391
+ "query": [
15392
+ {
15393
+ "name": "repository",
15394
+ "type": "string",
15395
+ "required": false,
15396
+ "description": "Repository id from GET /ticket/v1/repositories; omit for the default tickets container."
15397
+ },
15398
+ {
15399
+ "name": "page_size",
15400
+ "type": "integer",
15401
+ "required": false,
15402
+ "description": "Records per page; defaults to 30, maximum 100."
15403
+ },
15404
+ {
15405
+ "name": "page_token",
15406
+ "type": "string",
15407
+ "required": false,
15408
+ "description": "Cursor returned as next_page_token; omit for the first page."
15409
+ }
15410
+ ]
15411
+ },
15412
+ {
15413
+ "resource": "ticket.tickets.reactions",
15414
+ "method": "create",
15415
+ "summary": "Create or add reactions",
15416
+ "description": "Create or add reactions within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Service authorization applies to the verified human subject.",
15417
+ "http": "POST",
15418
+ "path": "/ticket/v1/tickets/{number}/reactions",
15419
+ "streaming": "no",
15420
+ "pagination": false,
15421
+ "pathParams": [
15422
+ {
15423
+ "name": "number",
15424
+ "sdkName": "number"
15425
+ }
15426
+ ],
15427
+ "query": [
15428
+ {
15429
+ "name": "repository",
15430
+ "type": "string",
15431
+ "required": false,
15432
+ "description": "Repository id from GET /ticket/v1/repositories; omit for the default tickets container."
15433
+ }
15434
+ ],
15435
+ "body": {
15436
+ "required": true,
15437
+ "fields": [
15438
+ {
15439
+ "name": "content",
15440
+ "type": "string",
15441
+ "enum": [
15442
+ "+1",
15443
+ "-1",
15444
+ "laugh",
15445
+ "confused",
15446
+ "heart",
15447
+ "hooray",
15448
+ "eyes",
15449
+ "rocket"
15450
+ ],
15451
+ "required": true,
15452
+ "description": "Reaction to add or remove: +1 approves, -1 disapproves, laugh, confused, heart, hooray, eyes, or rocket."
15453
+ }
15454
+ ]
15455
+ }
15456
+ },
15457
+ {
15458
+ "resource": "ticket.tickets.reactions",
15459
+ "method": "delete",
15460
+ "summary": "Remove reactions",
15461
+ "description": "Remove reactions within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Service authorization applies to the verified human subject.",
15462
+ "http": "DELETE",
15463
+ "path": "/ticket/v1/tickets/{number}/reactions/{content}",
15464
+ "streaming": "no",
15465
+ "pagination": false,
15466
+ "pathParams": [
15467
+ {
15468
+ "name": "number",
15469
+ "sdkName": "number"
15470
+ },
15471
+ {
15472
+ "name": "content",
15473
+ "sdkName": "content"
15474
+ }
15475
+ ],
15476
+ "query": [
15477
+ {
15478
+ "name": "repository",
15479
+ "type": "string",
15480
+ "required": false,
15481
+ "description": "Repository id from GET /ticket/v1/repositories; omit for the default tickets container."
15482
+ }
15483
+ ]
15484
+ },
15485
+ {
15486
+ "resource": "ticket.tickets.relations",
15487
+ "method": "list",
15488
+ "summary": "List relations",
15489
+ "description": "List relations within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Pass next_page_token as page_token to continue with the same filter. Service authorization applies to the verified human subject.",
15490
+ "http": "GET",
15491
+ "path": "/ticket/v1/tickets/{number}/relations",
15492
+ "streaming": "no",
15493
+ "pagination": false,
15494
+ "pathParams": [
15495
+ {
15496
+ "name": "number",
15497
+ "sdkName": "number"
15498
+ }
15499
+ ],
15500
+ "query": [
15501
+ {
15502
+ "name": "repository",
15503
+ "type": "string",
15504
+ "required": false,
15505
+ "description": "Repository id from GET /ticket/v1/repositories; omit for the default tickets container."
15506
+ },
15507
+ {
15508
+ "name": "page_size",
15509
+ "type": "integer",
15510
+ "required": false,
15511
+ "description": "Records per page; defaults to 30, maximum 100."
15512
+ },
15513
+ {
15514
+ "name": "page_token",
15515
+ "type": "string",
15516
+ "required": false,
15517
+ "description": "Cursor returned as next_page_token; omit for the first page."
15518
+ }
15519
+ ]
15520
+ },
15521
+ {
15522
+ "resource": "ticket.tickets.relations",
15523
+ "method": "create",
15524
+ "summary": "Create or add relations",
15525
+ "description": "Create or add relations within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Service authorization applies to the verified human subject.",
15526
+ "http": "POST",
15527
+ "path": "/ticket/v1/tickets/{number}/relations",
15528
+ "streaming": "no",
15529
+ "pagination": false,
15530
+ "pathParams": [
15531
+ {
15532
+ "name": "number",
15533
+ "sdkName": "number"
15534
+ }
15535
+ ],
15536
+ "query": [
15537
+ {
15538
+ "name": "repository",
15539
+ "type": "string",
15540
+ "required": false,
15541
+ "description": "Repository id from GET /ticket/v1/repositories; omit for the default tickets container."
15542
+ }
15543
+ ],
15544
+ "body": {
15545
+ "required": true,
15546
+ "fields": [
15547
+ {
15548
+ "name": "relates_to",
15549
+ "type": "integer",
15550
+ "required": true,
15551
+ "description": "Repository-local number returned by create or list; distinct from the object's id."
15552
+ }
15553
+ ]
15554
+ }
15555
+ },
15556
+ {
15557
+ "resource": "ticket.tickets.relations",
15558
+ "method": "delete",
15559
+ "summary": "Remove relations",
15560
+ "description": "Remove relations within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Service authorization applies to the verified human subject.",
15561
+ "http": "DELETE",
15562
+ "path": "/ticket/v1/tickets/{number}/relations/{n}",
15563
+ "streaming": "no",
15564
+ "pagination": false,
15565
+ "pathParams": [
15566
+ {
15567
+ "name": "number",
15568
+ "sdkName": "number"
15569
+ },
15570
+ {
15571
+ "name": "n",
15572
+ "sdkName": "n"
15573
+ }
15574
+ ],
15575
+ "query": [
15576
+ {
15577
+ "name": "repository",
15578
+ "type": "string",
15579
+ "required": false,
15580
+ "description": "Repository id from GET /ticket/v1/repositories; omit for the default tickets container."
15581
+ }
15582
+ ]
15583
+ },
15584
+ {
15585
+ "resource": "ticket.tickets.subTickets",
15586
+ "method": "list",
15587
+ "summary": "List sub tickets",
15588
+ "description": "List sub tickets within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Pass next_page_token as page_token to continue with the same filter. Service authorization applies to the verified human subject.",
15589
+ "http": "GET",
15590
+ "path": "/ticket/v1/tickets/{number}/sub_tickets",
15591
+ "streaming": "no",
15592
+ "pagination": false,
15593
+ "pathParams": [
15594
+ {
15595
+ "name": "number",
15596
+ "sdkName": "number"
15597
+ }
15598
+ ],
15599
+ "query": [
15600
+ {
15601
+ "name": "repository",
15602
+ "type": "string",
15603
+ "required": false,
15604
+ "description": "Repository id from GET /ticket/v1/repositories; omit for the default tickets container."
15605
+ },
15606
+ {
15607
+ "name": "page_size",
15608
+ "type": "integer",
15609
+ "required": false,
15610
+ "description": "Records per page; defaults to 30, maximum 100."
15611
+ },
15612
+ {
15613
+ "name": "page_token",
15614
+ "type": "string",
15615
+ "required": false,
15616
+ "description": "Cursor returned as next_page_token; omit for the first page."
15617
+ }
15618
+ ]
15619
+ },
15620
+ {
15621
+ "resource": "ticket.tickets.subTickets",
15622
+ "method": "create",
15623
+ "summary": "Create or add sub tickets",
15624
+ "description": "Create or add sub tickets within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Service authorization applies to the verified human subject.",
15625
+ "http": "POST",
15626
+ "path": "/ticket/v1/tickets/{number}/sub_tickets",
15627
+ "streaming": "no",
15628
+ "pagination": false,
15629
+ "pathParams": [
15630
+ {
15631
+ "name": "number",
15632
+ "sdkName": "number"
15633
+ }
15634
+ ],
15635
+ "query": [
15636
+ {
15637
+ "name": "repository",
15638
+ "type": "string",
15639
+ "required": false,
15640
+ "description": "Repository id from GET /ticket/v1/repositories; omit for the default tickets container."
15641
+ }
15642
+ ],
15643
+ "body": {
15644
+ "required": true,
15645
+ "fields": [
15646
+ {
15647
+ "name": "child",
15648
+ "type": "integer",
15649
+ "required": true,
15650
+ "description": "Repository-local number returned by create or list; distinct from the object's id."
15651
+ },
15652
+ {
15653
+ "name": "replace_parent",
15654
+ "type": "boolean",
15655
+ "required": false,
15656
+ "description": "Allow replacing an existing parent."
15657
+ }
15658
+ ]
15659
+ }
15660
+ },
15661
+ {
15662
+ "resource": "ticket.tickets.subTickets",
15663
+ "method": "delete",
15664
+ "summary": "Remove sub tickets",
15665
+ "description": "Remove sub tickets within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Service authorization applies to the verified human subject.",
15666
+ "http": "DELETE",
15667
+ "path": "/ticket/v1/tickets/{number}/sub_tickets/{child}",
15668
+ "streaming": "no",
15669
+ "pagination": false,
15670
+ "pathParams": [
15671
+ {
15672
+ "name": "number",
15673
+ "sdkName": "number"
15674
+ },
15675
+ {
15676
+ "name": "child",
15677
+ "sdkName": "child"
15678
+ }
15679
+ ],
15680
+ "query": [
15681
+ {
15682
+ "name": "repository",
15683
+ "type": "string",
15684
+ "required": false,
15685
+ "description": "Repository id from GET /ticket/v1/repositories; omit for the default tickets container."
15686
+ }
15687
+ ]
15688
+ },
15689
+ {
15690
+ "resource": "ticket.types",
15691
+ "method": "list",
15692
+ "summary": "Read types",
15693
+ "description": "Read types within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Service authorization applies to the verified human subject.",
15694
+ "http": "GET",
15695
+ "path": "/ticket/v1/types",
15696
+ "streaming": "no",
15697
+ "pagination": false,
15698
+ "pathParams": [],
15699
+ "query": [
15700
+ {
15701
+ "name": "repository",
15702
+ "type": "string",
15703
+ "required": false,
15704
+ "description": "Repository id from GET /ticket/v1/repositories; omit for the default tickets container."
15705
+ }
15706
+ ]
15707
+ },
13848
15708
  {
13849
15709
  "resource": "vault.authorizations",
13850
15710
  "method": "create",