hanzoai 8.5.719 → 8.5.723

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.
Files changed (71) hide show
  1. package/dist/api/ai-api.d.ts +4 -4
  2. package/dist/api/ai-api.js +4 -4
  3. package/dist/api/flag-api.d.ts +30 -0
  4. package/dist/api/flag-api.js +59 -0
  5. package/dist/api/pricing-api.d.ts +16 -110
  6. package/dist/api/pricing-api.js +16 -150
  7. package/dist/api/usage-api.d.ts +8 -8
  8. package/dist/api/usage-api.js +8 -8
  9. package/dist/api.d.ts +0 -1
  10. package/dist/api.js +0 -1
  11. package/dist/esm/api/ai-api.d.ts +4 -4
  12. package/dist/esm/api/ai-api.js +4 -4
  13. package/dist/esm/api/flag-api.d.ts +30 -0
  14. package/dist/esm/api/flag-api.js +59 -0
  15. package/dist/esm/api/pricing-api.d.ts +16 -110
  16. package/dist/esm/api/pricing-api.js +17 -151
  17. package/dist/esm/api/usage-api.d.ts +8 -8
  18. package/dist/esm/api/usage-api.js +8 -8
  19. package/dist/esm/api.d.ts +0 -1
  20. package/dist/esm/api.js +0 -1
  21. package/dist/esm/models/{pricing-enablement-opt-ref.d.ts → flag-platform-out.d.ts} +8 -12
  22. package/dist/esm/models/index.d.ts +2 -4
  23. package/dist/esm/models/index.js +2 -4
  24. package/dist/esm/models/pricing-enablement-board.d.ts +1 -7
  25. package/dist/esm/models/pricing-user-enablement-item.d.ts +1 -13
  26. package/dist/esm/models/usage-kai.d.ts +42 -0
  27. package/dist/esm/models/usage-llm.d.ts +24 -0
  28. package/dist/esm/models/usage-usage-summary.d.ts +7 -0
  29. package/dist/models/{pricing-enablement-opt-ref.d.ts → flag-platform-out.d.ts} +8 -12
  30. package/dist/models/index.d.ts +2 -4
  31. package/dist/models/index.js +2 -4
  32. package/dist/models/pricing-enablement-board.d.ts +1 -7
  33. package/dist/models/pricing-user-enablement-item.d.ts +1 -13
  34. package/dist/models/usage-kai.d.ts +42 -0
  35. package/dist/models/usage-llm.d.ts +24 -0
  36. package/dist/models/usage-usage-summary.d.ts +7 -0
  37. package/package.json +1 -1
  38. package/src/api/ai-api.ts +4 -4
  39. package/src/api/flag-api.ts +68 -0
  40. package/src/api/pricing-api.ts +16 -198
  41. package/src/api/usage-api.ts +8 -8
  42. package/src/api.ts +0 -1
  43. package/src/models/{pricing-enablement-opt-ref.ts → flag-platform-out.ts} +6 -12
  44. package/src/models/index.ts +2 -4
  45. package/src/models/pricing-enablement-board.ts +1 -7
  46. package/src/models/pricing-user-enablement-item.ts +1 -13
  47. package/src/models/usage-kai.ts +48 -0
  48. package/src/models/usage-llm.ts +24 -0
  49. package/src/models/usage-usage-summary.ts +9 -0
  50. package/dist/api/beta-api.d.ts +0 -119
  51. package/dist/api/beta-api.js +0 -189
  52. package/dist/esm/api/beta-api.d.ts +0 -118
  53. package/dist/esm/api/beta-api.js +0 -179
  54. package/dist/esm/models/beta-beta-application.d.ts +0 -42
  55. package/dist/esm/models/beta-beta-apply.d.ts +0 -26
  56. package/dist/esm/models/beta-beta-status.d.ts +0 -61
  57. package/dist/esm/models/beta-beta-status.js +0 -14
  58. package/dist/esm/models/pricing-enablement-opt-ref.js +0 -14
  59. package/dist/models/beta-beta-application.d.ts +0 -42
  60. package/dist/models/beta-beta-apply.d.ts +0 -26
  61. package/dist/models/beta-beta-status.d.ts +0 -61
  62. package/dist/models/beta-beta-status.js +0 -15
  63. package/dist/models/pricing-enablement-opt-ref.js +0 -15
  64. package/src/api/beta-api.ts +0 -223
  65. package/src/models/beta-beta-application.ts +0 -48
  66. package/src/models/beta-beta-apply.ts +0 -30
  67. package/src/models/beta-beta-status.ts +0 -69
  68. /package/dist/esm/models/{beta-beta-application.js → flag-platform-out.js} +0 -0
  69. /package/dist/esm/models/{beta-beta-apply.js → usage-kai.js} +0 -0
  70. /package/dist/models/{beta-beta-application.js → flag-platform-out.js} +0 -0
  71. /package/dist/models/{beta-beta-apply.js → usage-kai.js} +0 -0
@@ -2314,7 +2314,7 @@ export declare const AiApiAxiosParamCreator: (configuration?: Configuration) =>
2314
2314
  */
2315
2315
  postCompletions: (openaiChatCompletionRequest: OpenaiChatCompletionRequest, xMaxCost?: number, xMaxLatencyMs?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2316
2316
  /**
2317
- * Implements POST /v1/decisions (the Decisions API). Body: {\"model\": \"kai\", \"state\": \"...\"|{...}|[...], \"questions\": {\"<name>\": {\"type\": \"boolean\"|\"choice\"|\"score\", \"instructions\": ..., \"criteria\": ...}}}. model is kai, Kai\'s versioned id kai-<12 hex of the weights\' sha256> — priced as kai and sent as asked — or Jev by OpenRouter\'s vendor ids, typesafe/jev-1.13 and ~typesafe/jev-latest, which reach Jev itself and bill at Jev\'s list price. No Jev id is ever answered by Kai: a bare one, such as jev-latest, is an unknown model. model is required; state and questions are required unless the request names a handle, which carries neither. instructions is optional and any JSON. A choice names at least 2 labels and a score at least 1 level, bounded by the token budget rather than a count; questions holds 1 to 100. A boolean is a yes/no probability, answered {\"type\": \"boolean\", \"probability\": p}. noul is accepted as Jev\'s spelling of it and answered in Jev\'s shape, {\"type\": \"noul\", \"noul\": p}; an older Kai adds confidence and answer_confidence to a noul\'s. A boolean carries no confidence. Jev is asked a boolean as a noul, and its answer comes back as exactly the boolean. observe holds the state under an id, and a later request naming that id as its handle decides over it again. An id is 1 to 128 characters of A-Z, a-z, 0-9, \'.\', \'_\' and \'-\'. A handle belongs to the org that observed it: no other org\'s request can name it. Response: {\"id\",\"model\",\"provider\",\"answers\":{\"<name>\":{\"type\",...}}, \"usage\":{\"input_tokens\",\"output_tokens\"},\"routing\",\"state_hash\",\"latency_ms\"}. usage.input_tokens is the billed count — the request\'s text counted once, the state once and each question\'s instructions and options once; a decision over a handle bills the state once, when it was observed. The body may be sent gzip, deflate, br or zstd encoded; decoded, it is bounded as sent. Refusals are {\"error\":{\"code\",\"message\"}}: 400 malformed JSON or unknown model, 401 no valid credential, 402 insufficient balance, 403 a key kind that may not call this (pk-), 415 any other Content-Encoding, 422 an invalid question or handle id, a state beyond the checkpoint\'s reach (code state_too_long) or a body past 16 MiB (code request_too_long), 429 rate limited or queue full, 502 the service failed, 503 the model is known and not served, 529 overloaded. 402, 429 and 529 carry Retry-After and Retry-After-Ms, and every answer carries X-Request-Id. Billed on the answer\'s input tokens at the model\'s price.
2317
+ * Implements POST /v1/decisions (the Decisions API). Body: {\"model\": \"kai\", \"state\": \"...\"|{...}|[...], \"questions\": {\"<name>\": {\"type\": \"boolean\"|\"choice\"|\"score\", \"instructions\": ..., \"criteria\": ...}}}. model is kai, Kai\'s versioned id kai-<12 hex of the weights\' sha256> — priced as kai and sent as asked — or Jev by OpenRouter\'s vendor ids, typesafe/jev-1.13 and ~typesafe/jev-latest, which reach Jev itself and bill at Jev\'s list price, or Zen by zenlm/zen6 and zenlm/zen6-flash, answered by a chat completion under a strict schema and billed its output beside its input. No Jev id is ever answered by Kai: a bare one, such as jev-latest, is an unknown model. model is required; state and questions are required unless the request names a handle, which carries neither. instructions is optional and any JSON. A choice names at least 2 labels and a score at least 1 level, bounded by the token budget rather than a count; questions holds 1 to 100. A boolean is a yes/no probability, answered {\"type\": \"boolean\", \"probability\": p}. noul is accepted as Jev\'s spelling of it and answered in Jev\'s shape, {\"type\": \"noul\", \"noul\": p}; an older Kai adds confidence and answer_confidence to a noul\'s. A boolean carries no confidence. Jev is asked a boolean as a noul, and its answer comes back as exactly the boolean. observe holds the state under an id, and a later request naming that id as its handle decides over it again. An id is 1 to 128 characters of A-Z, a-z, 0-9, \'.\', \'_\' and \'-\'. A handle belongs to the org that observed it: no other org\'s request can name it. Response: {\"id\",\"model\",\"provider\",\"answers\":{\"<name>\":{\"type\",...}}, \"usage\":{\"input_tokens\",\"output_tokens\"},\"routing\",\"state_hash\",\"latency_ms\"}. usage.input_tokens is the billed count — the request\'s text counted once, the state once and each question\'s instructions and options once; a decision over a handle bills the state once, when it was observed. The body may be sent gzip, deflate, br or zstd encoded; decoded, it is bounded as sent. Refusals are {\"error\":{\"code\",\"message\"}}: 400 malformed JSON or unknown model, 401 no valid credential, 402 insufficient balance, 403 a key kind that may not call this (pk-), 415 any other Content-Encoding, 422 an invalid question or handle id, a state beyond the checkpoint\'s reach (code state_too_long) or a body past 16 MiB (code request_too_long), 429 rate limited or queue full, 502 the service failed, 503 the model is known and not served, 529 overloaded. 402, 429 and 529 carry Retry-After and Retry-After-Ms, and every answer carries X-Request-Id. Billed on the answer\'s input and output tokens at the model\'s price.
2318
2318
  * @summary Implements POST /v1/decisions (the Decisions API).
2319
2319
  * @param {AiDecisionsRequest} aiDecisionsRequest
2320
2320
  * @param {*} [options] Override http request option.
@@ -4881,7 +4881,7 @@ export declare const AiApiFp: (configuration?: Configuration) => {
4881
4881
  */
4882
4882
  postCompletions(openaiChatCompletionRequest: OpenaiChatCompletionRequest, xMaxCost?: number, xMaxLatencyMs?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PostChat200Response>>;
4883
4883
  /**
4884
- * Implements POST /v1/decisions (the Decisions API). Body: {\"model\": \"kai\", \"state\": \"...\"|{...}|[...], \"questions\": {\"<name>\": {\"type\": \"boolean\"|\"choice\"|\"score\", \"instructions\": ..., \"criteria\": ...}}}. model is kai, Kai\'s versioned id kai-<12 hex of the weights\' sha256> — priced as kai and sent as asked — or Jev by OpenRouter\'s vendor ids, typesafe/jev-1.13 and ~typesafe/jev-latest, which reach Jev itself and bill at Jev\'s list price. No Jev id is ever answered by Kai: a bare one, such as jev-latest, is an unknown model. model is required; state and questions are required unless the request names a handle, which carries neither. instructions is optional and any JSON. A choice names at least 2 labels and a score at least 1 level, bounded by the token budget rather than a count; questions holds 1 to 100. A boolean is a yes/no probability, answered {\"type\": \"boolean\", \"probability\": p}. noul is accepted as Jev\'s spelling of it and answered in Jev\'s shape, {\"type\": \"noul\", \"noul\": p}; an older Kai adds confidence and answer_confidence to a noul\'s. A boolean carries no confidence. Jev is asked a boolean as a noul, and its answer comes back as exactly the boolean. observe holds the state under an id, and a later request naming that id as its handle decides over it again. An id is 1 to 128 characters of A-Z, a-z, 0-9, \'.\', \'_\' and \'-\'. A handle belongs to the org that observed it: no other org\'s request can name it. Response: {\"id\",\"model\",\"provider\",\"answers\":{\"<name>\":{\"type\",...}}, \"usage\":{\"input_tokens\",\"output_tokens\"},\"routing\",\"state_hash\",\"latency_ms\"}. usage.input_tokens is the billed count — the request\'s text counted once, the state once and each question\'s instructions and options once; a decision over a handle bills the state once, when it was observed. The body may be sent gzip, deflate, br or zstd encoded; decoded, it is bounded as sent. Refusals are {\"error\":{\"code\",\"message\"}}: 400 malformed JSON or unknown model, 401 no valid credential, 402 insufficient balance, 403 a key kind that may not call this (pk-), 415 any other Content-Encoding, 422 an invalid question or handle id, a state beyond the checkpoint\'s reach (code state_too_long) or a body past 16 MiB (code request_too_long), 429 rate limited or queue full, 502 the service failed, 503 the model is known and not served, 529 overloaded. 402, 429 and 529 carry Retry-After and Retry-After-Ms, and every answer carries X-Request-Id. Billed on the answer\'s input tokens at the model\'s price.
4884
+ * Implements POST /v1/decisions (the Decisions API). Body: {\"model\": \"kai\", \"state\": \"...\"|{...}|[...], \"questions\": {\"<name>\": {\"type\": \"boolean\"|\"choice\"|\"score\", \"instructions\": ..., \"criteria\": ...}}}. model is kai, Kai\'s versioned id kai-<12 hex of the weights\' sha256> — priced as kai and sent as asked — or Jev by OpenRouter\'s vendor ids, typesafe/jev-1.13 and ~typesafe/jev-latest, which reach Jev itself and bill at Jev\'s list price, or Zen by zenlm/zen6 and zenlm/zen6-flash, answered by a chat completion under a strict schema and billed its output beside its input. No Jev id is ever answered by Kai: a bare one, such as jev-latest, is an unknown model. model is required; state and questions are required unless the request names a handle, which carries neither. instructions is optional and any JSON. A choice names at least 2 labels and a score at least 1 level, bounded by the token budget rather than a count; questions holds 1 to 100. A boolean is a yes/no probability, answered {\"type\": \"boolean\", \"probability\": p}. noul is accepted as Jev\'s spelling of it and answered in Jev\'s shape, {\"type\": \"noul\", \"noul\": p}; an older Kai adds confidence and answer_confidence to a noul\'s. A boolean carries no confidence. Jev is asked a boolean as a noul, and its answer comes back as exactly the boolean. observe holds the state under an id, and a later request naming that id as its handle decides over it again. An id is 1 to 128 characters of A-Z, a-z, 0-9, \'.\', \'_\' and \'-\'. A handle belongs to the org that observed it: no other org\'s request can name it. Response: {\"id\",\"model\",\"provider\",\"answers\":{\"<name>\":{\"type\",...}}, \"usage\":{\"input_tokens\",\"output_tokens\"},\"routing\",\"state_hash\",\"latency_ms\"}. usage.input_tokens is the billed count — the request\'s text counted once, the state once and each question\'s instructions and options once; a decision over a handle bills the state once, when it was observed. The body may be sent gzip, deflate, br or zstd encoded; decoded, it is bounded as sent. Refusals are {\"error\":{\"code\",\"message\"}}: 400 malformed JSON or unknown model, 401 no valid credential, 402 insufficient balance, 403 a key kind that may not call this (pk-), 415 any other Content-Encoding, 422 an invalid question or handle id, a state beyond the checkpoint\'s reach (code state_too_long) or a body past 16 MiB (code request_too_long), 429 rate limited or queue full, 502 the service failed, 503 the model is known and not served, 529 overloaded. 402, 429 and 529 carry Retry-After and Retry-After-Ms, and every answer carries X-Request-Id. Billed on the answer\'s input and output tokens at the model\'s price.
4885
4885
  * @summary Implements POST /v1/decisions (the Decisions API).
4886
4886
  * @param {AiDecisionsRequest} aiDecisionsRequest
4887
4887
  * @param {*} [options] Override http request option.
@@ -7322,7 +7322,7 @@ export declare const AiApiFactory: (configuration?: Configuration, basePath?: st
7322
7322
  */
7323
7323
  postCompletions(requestParameters: AiApiPostCompletionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<PostChat200Response>;
7324
7324
  /**
7325
- * Implements POST /v1/decisions (the Decisions API). Body: {\"model\": \"kai\", \"state\": \"...\"|{...}|[...], \"questions\": {\"<name>\": {\"type\": \"boolean\"|\"choice\"|\"score\", \"instructions\": ..., \"criteria\": ...}}}. model is kai, Kai\'s versioned id kai-<12 hex of the weights\' sha256> — priced as kai and sent as asked — or Jev by OpenRouter\'s vendor ids, typesafe/jev-1.13 and ~typesafe/jev-latest, which reach Jev itself and bill at Jev\'s list price. No Jev id is ever answered by Kai: a bare one, such as jev-latest, is an unknown model. model is required; state and questions are required unless the request names a handle, which carries neither. instructions is optional and any JSON. A choice names at least 2 labels and a score at least 1 level, bounded by the token budget rather than a count; questions holds 1 to 100. A boolean is a yes/no probability, answered {\"type\": \"boolean\", \"probability\": p}. noul is accepted as Jev\'s spelling of it and answered in Jev\'s shape, {\"type\": \"noul\", \"noul\": p}; an older Kai adds confidence and answer_confidence to a noul\'s. A boolean carries no confidence. Jev is asked a boolean as a noul, and its answer comes back as exactly the boolean. observe holds the state under an id, and a later request naming that id as its handle decides over it again. An id is 1 to 128 characters of A-Z, a-z, 0-9, \'.\', \'_\' and \'-\'. A handle belongs to the org that observed it: no other org\'s request can name it. Response: {\"id\",\"model\",\"provider\",\"answers\":{\"<name>\":{\"type\",...}}, \"usage\":{\"input_tokens\",\"output_tokens\"},\"routing\",\"state_hash\",\"latency_ms\"}. usage.input_tokens is the billed count — the request\'s text counted once, the state once and each question\'s instructions and options once; a decision over a handle bills the state once, when it was observed. The body may be sent gzip, deflate, br or zstd encoded; decoded, it is bounded as sent. Refusals are {\"error\":{\"code\",\"message\"}}: 400 malformed JSON or unknown model, 401 no valid credential, 402 insufficient balance, 403 a key kind that may not call this (pk-), 415 any other Content-Encoding, 422 an invalid question or handle id, a state beyond the checkpoint\'s reach (code state_too_long) or a body past 16 MiB (code request_too_long), 429 rate limited or queue full, 502 the service failed, 503 the model is known and not served, 529 overloaded. 402, 429 and 529 carry Retry-After and Retry-After-Ms, and every answer carries X-Request-Id. Billed on the answer\'s input tokens at the model\'s price.
7325
+ * Implements POST /v1/decisions (the Decisions API). Body: {\"model\": \"kai\", \"state\": \"...\"|{...}|[...], \"questions\": {\"<name>\": {\"type\": \"boolean\"|\"choice\"|\"score\", \"instructions\": ..., \"criteria\": ...}}}. model is kai, Kai\'s versioned id kai-<12 hex of the weights\' sha256> — priced as kai and sent as asked — or Jev by OpenRouter\'s vendor ids, typesafe/jev-1.13 and ~typesafe/jev-latest, which reach Jev itself and bill at Jev\'s list price, or Zen by zenlm/zen6 and zenlm/zen6-flash, answered by a chat completion under a strict schema and billed its output beside its input. No Jev id is ever answered by Kai: a bare one, such as jev-latest, is an unknown model. model is required; state and questions are required unless the request names a handle, which carries neither. instructions is optional and any JSON. A choice names at least 2 labels and a score at least 1 level, bounded by the token budget rather than a count; questions holds 1 to 100. A boolean is a yes/no probability, answered {\"type\": \"boolean\", \"probability\": p}. noul is accepted as Jev\'s spelling of it and answered in Jev\'s shape, {\"type\": \"noul\", \"noul\": p}; an older Kai adds confidence and answer_confidence to a noul\'s. A boolean carries no confidence. Jev is asked a boolean as a noul, and its answer comes back as exactly the boolean. observe holds the state under an id, and a later request naming that id as its handle decides over it again. An id is 1 to 128 characters of A-Z, a-z, 0-9, \'.\', \'_\' and \'-\'. A handle belongs to the org that observed it: no other org\'s request can name it. Response: {\"id\",\"model\",\"provider\",\"answers\":{\"<name>\":{\"type\",...}}, \"usage\":{\"input_tokens\",\"output_tokens\"},\"routing\",\"state_hash\",\"latency_ms\"}. usage.input_tokens is the billed count — the request\'s text counted once, the state once and each question\'s instructions and options once; a decision over a handle bills the state once, when it was observed. The body may be sent gzip, deflate, br or zstd encoded; decoded, it is bounded as sent. Refusals are {\"error\":{\"code\",\"message\"}}: 400 malformed JSON or unknown model, 401 no valid credential, 402 insufficient balance, 403 a key kind that may not call this (pk-), 415 any other Content-Encoding, 422 an invalid question or handle id, a state beyond the checkpoint\'s reach (code state_too_long) or a body past 16 MiB (code request_too_long), 429 rate limited or queue full, 502 the service failed, 503 the model is known and not served, 529 overloaded. 402, 429 and 529 carry Retry-After and Retry-After-Ms, and every answer carries X-Request-Id. Billed on the answer\'s input and output tokens at the model\'s price.
7326
7326
  * @summary Implements POST /v1/decisions (the Decisions API).
7327
7327
  * @param {AiApiPostDecisionsRequest} requestParameters Request parameters.
7328
7328
  * @param {*} [options] Override http request option.
@@ -13318,7 +13318,7 @@ export declare class AiApi extends BaseAPI {
13318
13318
  */
13319
13319
  postCompletions(requestParameters: AiApiPostCompletionsRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<OpenaiChatCompletionResponse, any, {}>>;
13320
13320
  /**
13321
- * Implements POST /v1/decisions (the Decisions API). Body: {\"model\": \"kai\", \"state\": \"...\"|{...}|[...], \"questions\": {\"<name>\": {\"type\": \"boolean\"|\"choice\"|\"score\", \"instructions\": ..., \"criteria\": ...}}}. model is kai, Kai\'s versioned id kai-<12 hex of the weights\' sha256> — priced as kai and sent as asked — or Jev by OpenRouter\'s vendor ids, typesafe/jev-1.13 and ~typesafe/jev-latest, which reach Jev itself and bill at Jev\'s list price. No Jev id is ever answered by Kai: a bare one, such as jev-latest, is an unknown model. model is required; state and questions are required unless the request names a handle, which carries neither. instructions is optional and any JSON. A choice names at least 2 labels and a score at least 1 level, bounded by the token budget rather than a count; questions holds 1 to 100. A boolean is a yes/no probability, answered {\"type\": \"boolean\", \"probability\": p}. noul is accepted as Jev\'s spelling of it and answered in Jev\'s shape, {\"type\": \"noul\", \"noul\": p}; an older Kai adds confidence and answer_confidence to a noul\'s. A boolean carries no confidence. Jev is asked a boolean as a noul, and its answer comes back as exactly the boolean. observe holds the state under an id, and a later request naming that id as its handle decides over it again. An id is 1 to 128 characters of A-Z, a-z, 0-9, \'.\', \'_\' and \'-\'. A handle belongs to the org that observed it: no other org\'s request can name it. Response: {\"id\",\"model\",\"provider\",\"answers\":{\"<name>\":{\"type\",...}}, \"usage\":{\"input_tokens\",\"output_tokens\"},\"routing\",\"state_hash\",\"latency_ms\"}. usage.input_tokens is the billed count — the request\'s text counted once, the state once and each question\'s instructions and options once; a decision over a handle bills the state once, when it was observed. The body may be sent gzip, deflate, br or zstd encoded; decoded, it is bounded as sent. Refusals are {\"error\":{\"code\",\"message\"}}: 400 malformed JSON or unknown model, 401 no valid credential, 402 insufficient balance, 403 a key kind that may not call this (pk-), 415 any other Content-Encoding, 422 an invalid question or handle id, a state beyond the checkpoint\'s reach (code state_too_long) or a body past 16 MiB (code request_too_long), 429 rate limited or queue full, 502 the service failed, 503 the model is known and not served, 529 overloaded. 402, 429 and 529 carry Retry-After and Retry-After-Ms, and every answer carries X-Request-Id. Billed on the answer\'s input tokens at the model\'s price.
13321
+ * Implements POST /v1/decisions (the Decisions API). Body: {\"model\": \"kai\", \"state\": \"...\"|{...}|[...], \"questions\": {\"<name>\": {\"type\": \"boolean\"|\"choice\"|\"score\", \"instructions\": ..., \"criteria\": ...}}}. model is kai, Kai\'s versioned id kai-<12 hex of the weights\' sha256> — priced as kai and sent as asked — or Jev by OpenRouter\'s vendor ids, typesafe/jev-1.13 and ~typesafe/jev-latest, which reach Jev itself and bill at Jev\'s list price, or Zen by zenlm/zen6 and zenlm/zen6-flash, answered by a chat completion under a strict schema and billed its output beside its input. No Jev id is ever answered by Kai: a bare one, such as jev-latest, is an unknown model. model is required; state and questions are required unless the request names a handle, which carries neither. instructions is optional and any JSON. A choice names at least 2 labels and a score at least 1 level, bounded by the token budget rather than a count; questions holds 1 to 100. A boolean is a yes/no probability, answered {\"type\": \"boolean\", \"probability\": p}. noul is accepted as Jev\'s spelling of it and answered in Jev\'s shape, {\"type\": \"noul\", \"noul\": p}; an older Kai adds confidence and answer_confidence to a noul\'s. A boolean carries no confidence. Jev is asked a boolean as a noul, and its answer comes back as exactly the boolean. observe holds the state under an id, and a later request naming that id as its handle decides over it again. An id is 1 to 128 characters of A-Z, a-z, 0-9, \'.\', \'_\' and \'-\'. A handle belongs to the org that observed it: no other org\'s request can name it. Response: {\"id\",\"model\",\"provider\",\"answers\":{\"<name>\":{\"type\",...}}, \"usage\":{\"input_tokens\",\"output_tokens\"},\"routing\",\"state_hash\",\"latency_ms\"}. usage.input_tokens is the billed count — the request\'s text counted once, the state once and each question\'s instructions and options once; a decision over a handle bills the state once, when it was observed. The body may be sent gzip, deflate, br or zstd encoded; decoded, it is bounded as sent. Refusals are {\"error\":{\"code\",\"message\"}}: 400 malformed JSON or unknown model, 401 no valid credential, 402 insufficient balance, 403 a key kind that may not call this (pk-), 415 any other Content-Encoding, 422 an invalid question or handle id, a state beyond the checkpoint\'s reach (code state_too_long) or a body past 16 MiB (code request_too_long), 429 rate limited or queue full, 502 the service failed, 503 the model is known and not served, 529 overloaded. 402, 429 and 529 carry Retry-After and Retry-After-Ms, and every answer carries X-Request-Id. Billed on the answer\'s input and output tokens at the model\'s price.
13322
13322
  * @summary Implements POST /v1/decisions (the Decisions API).
13323
13323
  * @param {AiApiPostDecisionsRequest} requestParameters Request parameters.
13324
13324
  * @param {*} [options] Override http request option.
@@ -8878,7 +8878,7 @@ const AiApiAxiosParamCreator = function (configuration) {
8878
8878
  };
8879
8879
  },
8880
8880
  /**
8881
- * Implements POST /v1/decisions (the Decisions API). Body: {\"model\": \"kai\", \"state\": \"...\"|{...}|[...], \"questions\": {\"<name>\": {\"type\": \"boolean\"|\"choice\"|\"score\", \"instructions\": ..., \"criteria\": ...}}}. model is kai, Kai\'s versioned id kai-<12 hex of the weights\' sha256> — priced as kai and sent as asked — or Jev by OpenRouter\'s vendor ids, typesafe/jev-1.13 and ~typesafe/jev-latest, which reach Jev itself and bill at Jev\'s list price. No Jev id is ever answered by Kai: a bare one, such as jev-latest, is an unknown model. model is required; state and questions are required unless the request names a handle, which carries neither. instructions is optional and any JSON. A choice names at least 2 labels and a score at least 1 level, bounded by the token budget rather than a count; questions holds 1 to 100. A boolean is a yes/no probability, answered {\"type\": \"boolean\", \"probability\": p}. noul is accepted as Jev\'s spelling of it and answered in Jev\'s shape, {\"type\": \"noul\", \"noul\": p}; an older Kai adds confidence and answer_confidence to a noul\'s. A boolean carries no confidence. Jev is asked a boolean as a noul, and its answer comes back as exactly the boolean. observe holds the state under an id, and a later request naming that id as its handle decides over it again. An id is 1 to 128 characters of A-Z, a-z, 0-9, \'.\', \'_\' and \'-\'. A handle belongs to the org that observed it: no other org\'s request can name it. Response: {\"id\",\"model\",\"provider\",\"answers\":{\"<name>\":{\"type\",...}}, \"usage\":{\"input_tokens\",\"output_tokens\"},\"routing\",\"state_hash\",\"latency_ms\"}. usage.input_tokens is the billed count — the request\'s text counted once, the state once and each question\'s instructions and options once; a decision over a handle bills the state once, when it was observed. The body may be sent gzip, deflate, br or zstd encoded; decoded, it is bounded as sent. Refusals are {\"error\":{\"code\",\"message\"}}: 400 malformed JSON or unknown model, 401 no valid credential, 402 insufficient balance, 403 a key kind that may not call this (pk-), 415 any other Content-Encoding, 422 an invalid question or handle id, a state beyond the checkpoint\'s reach (code state_too_long) or a body past 16 MiB (code request_too_long), 429 rate limited or queue full, 502 the service failed, 503 the model is known and not served, 529 overloaded. 402, 429 and 529 carry Retry-After and Retry-After-Ms, and every answer carries X-Request-Id. Billed on the answer\'s input tokens at the model\'s price.
8881
+ * Implements POST /v1/decisions (the Decisions API). Body: {\"model\": \"kai\", \"state\": \"...\"|{...}|[...], \"questions\": {\"<name>\": {\"type\": \"boolean\"|\"choice\"|\"score\", \"instructions\": ..., \"criteria\": ...}}}. model is kai, Kai\'s versioned id kai-<12 hex of the weights\' sha256> — priced as kai and sent as asked — or Jev by OpenRouter\'s vendor ids, typesafe/jev-1.13 and ~typesafe/jev-latest, which reach Jev itself and bill at Jev\'s list price, or Zen by zenlm/zen6 and zenlm/zen6-flash, answered by a chat completion under a strict schema and billed its output beside its input. No Jev id is ever answered by Kai: a bare one, such as jev-latest, is an unknown model. model is required; state and questions are required unless the request names a handle, which carries neither. instructions is optional and any JSON. A choice names at least 2 labels and a score at least 1 level, bounded by the token budget rather than a count; questions holds 1 to 100. A boolean is a yes/no probability, answered {\"type\": \"boolean\", \"probability\": p}. noul is accepted as Jev\'s spelling of it and answered in Jev\'s shape, {\"type\": \"noul\", \"noul\": p}; an older Kai adds confidence and answer_confidence to a noul\'s. A boolean carries no confidence. Jev is asked a boolean as a noul, and its answer comes back as exactly the boolean. observe holds the state under an id, and a later request naming that id as its handle decides over it again. An id is 1 to 128 characters of A-Z, a-z, 0-9, \'.\', \'_\' and \'-\'. A handle belongs to the org that observed it: no other org\'s request can name it. Response: {\"id\",\"model\",\"provider\",\"answers\":{\"<name>\":{\"type\",...}}, \"usage\":{\"input_tokens\",\"output_tokens\"},\"routing\",\"state_hash\",\"latency_ms\"}. usage.input_tokens is the billed count — the request\'s text counted once, the state once and each question\'s instructions and options once; a decision over a handle bills the state once, when it was observed. The body may be sent gzip, deflate, br or zstd encoded; decoded, it is bounded as sent. Refusals are {\"error\":{\"code\",\"message\"}}: 400 malformed JSON or unknown model, 401 no valid credential, 402 insufficient balance, 403 a key kind that may not call this (pk-), 415 any other Content-Encoding, 422 an invalid question or handle id, a state beyond the checkpoint\'s reach (code state_too_long) or a body past 16 MiB (code request_too_long), 429 rate limited or queue full, 502 the service failed, 503 the model is known and not served, 529 overloaded. 402, 429 and 529 carry Retry-After and Retry-After-Ms, and every answer carries X-Request-Id. Billed on the answer\'s input and output tokens at the model\'s price.
8882
8882
  * @summary Implements POST /v1/decisions (the Decisions API).
8883
8883
  * @param {AiDecisionsRequest} aiDecisionsRequest
8884
8884
  * @param {*} [options] Override http request option.
@@ -13968,7 +13968,7 @@ const AiApiFp = function (configuration) {
13968
13968
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13969
13969
  },
13970
13970
  /**
13971
- * Implements POST /v1/decisions (the Decisions API). Body: {\"model\": \"kai\", \"state\": \"...\"|{...}|[...], \"questions\": {\"<name>\": {\"type\": \"boolean\"|\"choice\"|\"score\", \"instructions\": ..., \"criteria\": ...}}}. model is kai, Kai\'s versioned id kai-<12 hex of the weights\' sha256> — priced as kai and sent as asked — or Jev by OpenRouter\'s vendor ids, typesafe/jev-1.13 and ~typesafe/jev-latest, which reach Jev itself and bill at Jev\'s list price. No Jev id is ever answered by Kai: a bare one, such as jev-latest, is an unknown model. model is required; state and questions are required unless the request names a handle, which carries neither. instructions is optional and any JSON. A choice names at least 2 labels and a score at least 1 level, bounded by the token budget rather than a count; questions holds 1 to 100. A boolean is a yes/no probability, answered {\"type\": \"boolean\", \"probability\": p}. noul is accepted as Jev\'s spelling of it and answered in Jev\'s shape, {\"type\": \"noul\", \"noul\": p}; an older Kai adds confidence and answer_confidence to a noul\'s. A boolean carries no confidence. Jev is asked a boolean as a noul, and its answer comes back as exactly the boolean. observe holds the state under an id, and a later request naming that id as its handle decides over it again. An id is 1 to 128 characters of A-Z, a-z, 0-9, \'.\', \'_\' and \'-\'. A handle belongs to the org that observed it: no other org\'s request can name it. Response: {\"id\",\"model\",\"provider\",\"answers\":{\"<name>\":{\"type\",...}}, \"usage\":{\"input_tokens\",\"output_tokens\"},\"routing\",\"state_hash\",\"latency_ms\"}. usage.input_tokens is the billed count — the request\'s text counted once, the state once and each question\'s instructions and options once; a decision over a handle bills the state once, when it was observed. The body may be sent gzip, deflate, br or zstd encoded; decoded, it is bounded as sent. Refusals are {\"error\":{\"code\",\"message\"}}: 400 malformed JSON or unknown model, 401 no valid credential, 402 insufficient balance, 403 a key kind that may not call this (pk-), 415 any other Content-Encoding, 422 an invalid question or handle id, a state beyond the checkpoint\'s reach (code state_too_long) or a body past 16 MiB (code request_too_long), 429 rate limited or queue full, 502 the service failed, 503 the model is known and not served, 529 overloaded. 402, 429 and 529 carry Retry-After and Retry-After-Ms, and every answer carries X-Request-Id. Billed on the answer\'s input tokens at the model\'s price.
13971
+ * Implements POST /v1/decisions (the Decisions API). Body: {\"model\": \"kai\", \"state\": \"...\"|{...}|[...], \"questions\": {\"<name>\": {\"type\": \"boolean\"|\"choice\"|\"score\", \"instructions\": ..., \"criteria\": ...}}}. model is kai, Kai\'s versioned id kai-<12 hex of the weights\' sha256> — priced as kai and sent as asked — or Jev by OpenRouter\'s vendor ids, typesafe/jev-1.13 and ~typesafe/jev-latest, which reach Jev itself and bill at Jev\'s list price, or Zen by zenlm/zen6 and zenlm/zen6-flash, answered by a chat completion under a strict schema and billed its output beside its input. No Jev id is ever answered by Kai: a bare one, such as jev-latest, is an unknown model. model is required; state and questions are required unless the request names a handle, which carries neither. instructions is optional and any JSON. A choice names at least 2 labels and a score at least 1 level, bounded by the token budget rather than a count; questions holds 1 to 100. A boolean is a yes/no probability, answered {\"type\": \"boolean\", \"probability\": p}. noul is accepted as Jev\'s spelling of it and answered in Jev\'s shape, {\"type\": \"noul\", \"noul\": p}; an older Kai adds confidence and answer_confidence to a noul\'s. A boolean carries no confidence. Jev is asked a boolean as a noul, and its answer comes back as exactly the boolean. observe holds the state under an id, and a later request naming that id as its handle decides over it again. An id is 1 to 128 characters of A-Z, a-z, 0-9, \'.\', \'_\' and \'-\'. A handle belongs to the org that observed it: no other org\'s request can name it. Response: {\"id\",\"model\",\"provider\",\"answers\":{\"<name>\":{\"type\",...}}, \"usage\":{\"input_tokens\",\"output_tokens\"},\"routing\",\"state_hash\",\"latency_ms\"}. usage.input_tokens is the billed count — the request\'s text counted once, the state once and each question\'s instructions and options once; a decision over a handle bills the state once, when it was observed. The body may be sent gzip, deflate, br or zstd encoded; decoded, it is bounded as sent. Refusals are {\"error\":{\"code\",\"message\"}}: 400 malformed JSON or unknown model, 401 no valid credential, 402 insufficient balance, 403 a key kind that may not call this (pk-), 415 any other Content-Encoding, 422 an invalid question or handle id, a state beyond the checkpoint\'s reach (code state_too_long) or a body past 16 MiB (code request_too_long), 429 rate limited or queue full, 502 the service failed, 503 the model is known and not served, 529 overloaded. 402, 429 and 529 carry Retry-After and Retry-After-Ms, and every answer carries X-Request-Id. Billed on the answer\'s input and output tokens at the model\'s price.
13972
13972
  * @summary Implements POST /v1/decisions (the Decisions API).
13973
13973
  * @param {AiDecisionsRequest} aiDecisionsRequest
13974
13974
  * @param {*} [options] Override http request option.
@@ -17171,7 +17171,7 @@ const AiApiFactory = function (configuration, basePath, axios) {
17171
17171
  return localVarFp.postCompletions(requestParameters.openaiChatCompletionRequest, requestParameters.xMaxCost, requestParameters.xMaxLatencyMs, options).then((request) => request(axios, basePath));
17172
17172
  },
17173
17173
  /**
17174
- * Implements POST /v1/decisions (the Decisions API). Body: {\"model\": \"kai\", \"state\": \"...\"|{...}|[...], \"questions\": {\"<name>\": {\"type\": \"boolean\"|\"choice\"|\"score\", \"instructions\": ..., \"criteria\": ...}}}. model is kai, Kai\'s versioned id kai-<12 hex of the weights\' sha256> — priced as kai and sent as asked — or Jev by OpenRouter\'s vendor ids, typesafe/jev-1.13 and ~typesafe/jev-latest, which reach Jev itself and bill at Jev\'s list price. No Jev id is ever answered by Kai: a bare one, such as jev-latest, is an unknown model. model is required; state and questions are required unless the request names a handle, which carries neither. instructions is optional and any JSON. A choice names at least 2 labels and a score at least 1 level, bounded by the token budget rather than a count; questions holds 1 to 100. A boolean is a yes/no probability, answered {\"type\": \"boolean\", \"probability\": p}. noul is accepted as Jev\'s spelling of it and answered in Jev\'s shape, {\"type\": \"noul\", \"noul\": p}; an older Kai adds confidence and answer_confidence to a noul\'s. A boolean carries no confidence. Jev is asked a boolean as a noul, and its answer comes back as exactly the boolean. observe holds the state under an id, and a later request naming that id as its handle decides over it again. An id is 1 to 128 characters of A-Z, a-z, 0-9, \'.\', \'_\' and \'-\'. A handle belongs to the org that observed it: no other org\'s request can name it. Response: {\"id\",\"model\",\"provider\",\"answers\":{\"<name>\":{\"type\",...}}, \"usage\":{\"input_tokens\",\"output_tokens\"},\"routing\",\"state_hash\",\"latency_ms\"}. usage.input_tokens is the billed count — the request\'s text counted once, the state once and each question\'s instructions and options once; a decision over a handle bills the state once, when it was observed. The body may be sent gzip, deflate, br or zstd encoded; decoded, it is bounded as sent. Refusals are {\"error\":{\"code\",\"message\"}}: 400 malformed JSON or unknown model, 401 no valid credential, 402 insufficient balance, 403 a key kind that may not call this (pk-), 415 any other Content-Encoding, 422 an invalid question or handle id, a state beyond the checkpoint\'s reach (code state_too_long) or a body past 16 MiB (code request_too_long), 429 rate limited or queue full, 502 the service failed, 503 the model is known and not served, 529 overloaded. 402, 429 and 529 carry Retry-After and Retry-After-Ms, and every answer carries X-Request-Id. Billed on the answer\'s input tokens at the model\'s price.
17174
+ * Implements POST /v1/decisions (the Decisions API). Body: {\"model\": \"kai\", \"state\": \"...\"|{...}|[...], \"questions\": {\"<name>\": {\"type\": \"boolean\"|\"choice\"|\"score\", \"instructions\": ..., \"criteria\": ...}}}. model is kai, Kai\'s versioned id kai-<12 hex of the weights\' sha256> — priced as kai and sent as asked — or Jev by OpenRouter\'s vendor ids, typesafe/jev-1.13 and ~typesafe/jev-latest, which reach Jev itself and bill at Jev\'s list price, or Zen by zenlm/zen6 and zenlm/zen6-flash, answered by a chat completion under a strict schema and billed its output beside its input. No Jev id is ever answered by Kai: a bare one, such as jev-latest, is an unknown model. model is required; state and questions are required unless the request names a handle, which carries neither. instructions is optional and any JSON. A choice names at least 2 labels and a score at least 1 level, bounded by the token budget rather than a count; questions holds 1 to 100. A boolean is a yes/no probability, answered {\"type\": \"boolean\", \"probability\": p}. noul is accepted as Jev\'s spelling of it and answered in Jev\'s shape, {\"type\": \"noul\", \"noul\": p}; an older Kai adds confidence and answer_confidence to a noul\'s. A boolean carries no confidence. Jev is asked a boolean as a noul, and its answer comes back as exactly the boolean. observe holds the state under an id, and a later request naming that id as its handle decides over it again. An id is 1 to 128 characters of A-Z, a-z, 0-9, \'.\', \'_\' and \'-\'. A handle belongs to the org that observed it: no other org\'s request can name it. Response: {\"id\",\"model\",\"provider\",\"answers\":{\"<name>\":{\"type\",...}}, \"usage\":{\"input_tokens\",\"output_tokens\"},\"routing\",\"state_hash\",\"latency_ms\"}. usage.input_tokens is the billed count — the request\'s text counted once, the state once and each question\'s instructions and options once; a decision over a handle bills the state once, when it was observed. The body may be sent gzip, deflate, br or zstd encoded; decoded, it is bounded as sent. Refusals are {\"error\":{\"code\",\"message\"}}: 400 malformed JSON or unknown model, 401 no valid credential, 402 insufficient balance, 403 a key kind that may not call this (pk-), 415 any other Content-Encoding, 422 an invalid question or handle id, a state beyond the checkpoint\'s reach (code state_too_long) or a body past 16 MiB (code request_too_long), 429 rate limited or queue full, 502 the service failed, 503 the model is known and not served, 529 overloaded. 402, 429 and 529 carry Retry-After and Retry-After-Ms, and every answer carries X-Request-Id. Billed on the answer\'s input and output tokens at the model\'s price.
17175
17175
  * @summary Implements POST /v1/decisions (the Decisions API).
17176
17176
  * @param {AiApiPostDecisionsRequest} requestParameters Request parameters.
17177
17177
  * @param {*} [options] Override http request option.
@@ -20475,7 +20475,7 @@ class AiApi extends base_1.BaseAPI {
20475
20475
  return (0, exports.AiApiFp)(this.configuration).postCompletions(requestParameters.openaiChatCompletionRequest, requestParameters.xMaxCost, requestParameters.xMaxLatencyMs, options).then((request) => request(this.axios, this.basePath));
20476
20476
  }
20477
20477
  /**
20478
- * Implements POST /v1/decisions (the Decisions API). Body: {\"model\": \"kai\", \"state\": \"...\"|{...}|[...], \"questions\": {\"<name>\": {\"type\": \"boolean\"|\"choice\"|\"score\", \"instructions\": ..., \"criteria\": ...}}}. model is kai, Kai\'s versioned id kai-<12 hex of the weights\' sha256> — priced as kai and sent as asked — or Jev by OpenRouter\'s vendor ids, typesafe/jev-1.13 and ~typesafe/jev-latest, which reach Jev itself and bill at Jev\'s list price. No Jev id is ever answered by Kai: a bare one, such as jev-latest, is an unknown model. model is required; state and questions are required unless the request names a handle, which carries neither. instructions is optional and any JSON. A choice names at least 2 labels and a score at least 1 level, bounded by the token budget rather than a count; questions holds 1 to 100. A boolean is a yes/no probability, answered {\"type\": \"boolean\", \"probability\": p}. noul is accepted as Jev\'s spelling of it and answered in Jev\'s shape, {\"type\": \"noul\", \"noul\": p}; an older Kai adds confidence and answer_confidence to a noul\'s. A boolean carries no confidence. Jev is asked a boolean as a noul, and its answer comes back as exactly the boolean. observe holds the state under an id, and a later request naming that id as its handle decides over it again. An id is 1 to 128 characters of A-Z, a-z, 0-9, \'.\', \'_\' and \'-\'. A handle belongs to the org that observed it: no other org\'s request can name it. Response: {\"id\",\"model\",\"provider\",\"answers\":{\"<name>\":{\"type\",...}}, \"usage\":{\"input_tokens\",\"output_tokens\"},\"routing\",\"state_hash\",\"latency_ms\"}. usage.input_tokens is the billed count — the request\'s text counted once, the state once and each question\'s instructions and options once; a decision over a handle bills the state once, when it was observed. The body may be sent gzip, deflate, br or zstd encoded; decoded, it is bounded as sent. Refusals are {\"error\":{\"code\",\"message\"}}: 400 malformed JSON or unknown model, 401 no valid credential, 402 insufficient balance, 403 a key kind that may not call this (pk-), 415 any other Content-Encoding, 422 an invalid question or handle id, a state beyond the checkpoint\'s reach (code state_too_long) or a body past 16 MiB (code request_too_long), 429 rate limited or queue full, 502 the service failed, 503 the model is known and not served, 529 overloaded. 402, 429 and 529 carry Retry-After and Retry-After-Ms, and every answer carries X-Request-Id. Billed on the answer\'s input tokens at the model\'s price.
20478
+ * Implements POST /v1/decisions (the Decisions API). Body: {\"model\": \"kai\", \"state\": \"...\"|{...}|[...], \"questions\": {\"<name>\": {\"type\": \"boolean\"|\"choice\"|\"score\", \"instructions\": ..., \"criteria\": ...}}}. model is kai, Kai\'s versioned id kai-<12 hex of the weights\' sha256> — priced as kai and sent as asked — or Jev by OpenRouter\'s vendor ids, typesafe/jev-1.13 and ~typesafe/jev-latest, which reach Jev itself and bill at Jev\'s list price, or Zen by zenlm/zen6 and zenlm/zen6-flash, answered by a chat completion under a strict schema and billed its output beside its input. No Jev id is ever answered by Kai: a bare one, such as jev-latest, is an unknown model. model is required; state and questions are required unless the request names a handle, which carries neither. instructions is optional and any JSON. A choice names at least 2 labels and a score at least 1 level, bounded by the token budget rather than a count; questions holds 1 to 100. A boolean is a yes/no probability, answered {\"type\": \"boolean\", \"probability\": p}. noul is accepted as Jev\'s spelling of it and answered in Jev\'s shape, {\"type\": \"noul\", \"noul\": p}; an older Kai adds confidence and answer_confidence to a noul\'s. A boolean carries no confidence. Jev is asked a boolean as a noul, and its answer comes back as exactly the boolean. observe holds the state under an id, and a later request naming that id as its handle decides over it again. An id is 1 to 128 characters of A-Z, a-z, 0-9, \'.\', \'_\' and \'-\'. A handle belongs to the org that observed it: no other org\'s request can name it. Response: {\"id\",\"model\",\"provider\",\"answers\":{\"<name>\":{\"type\",...}}, \"usage\":{\"input_tokens\",\"output_tokens\"},\"routing\",\"state_hash\",\"latency_ms\"}. usage.input_tokens is the billed count — the request\'s text counted once, the state once and each question\'s instructions and options once; a decision over a handle bills the state once, when it was observed. The body may be sent gzip, deflate, br or zstd encoded; decoded, it is bounded as sent. Refusals are {\"error\":{\"code\",\"message\"}}: 400 malformed JSON or unknown model, 401 no valid credential, 402 insufficient balance, 403 a key kind that may not call this (pk-), 415 any other Content-Encoding, 422 an invalid question or handle id, a state beyond the checkpoint\'s reach (code state_too_long) or a body past 16 MiB (code request_too_long), 429 rate limited or queue full, 502 the service failed, 503 the model is known and not served, 529 overloaded. 402, 429 and 529 carry Retry-After and Retry-After-Ms, and every answer carries X-Request-Id. Billed on the answer\'s input and output tokens at the model\'s price.
20479
20479
  * @summary Implements POST /v1/decisions (the Decisions API).
20480
20480
  * @param {AiApiPostDecisionsRequest} requestParameters Request parameters.
20481
20481
  * @param {*} [options] Override http request option.
@@ -19,6 +19,7 @@ import type { FlagDefsOut } from '../models';
19
19
  import type { FlagDeletedOut } from '../models';
20
20
  import type { FlagEvaluateIn } from '../models';
21
21
  import type { FlagHealthOut } from '../models';
22
+ import type { FlagPlatformOut } from '../models';
22
23
  /**
23
24
  * FlagApi - axios parameter creator
24
25
  * @export
@@ -62,6 +63,13 @@ export declare const FlagApiAxiosParamCreator: (configuration?: Configuration) =
62
63
  * @throws {RequiredError}
63
64
  */
64
65
  getFlagHealth: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
66
+ /**
67
+ * Answers the platform switches that are decided per caller — `beta`, whether the caller sees what is not yet generally available — as they apply to the signed-in caller: its validated org and user, never anything the request states. A SuperAdmin targets them from the admin cockpit; nothing here changes them. A request without a signed-in principal is refused, and a switch that cannot be read is 503, which a caller takes as off.
68
+ * @summary Answers the platform switches that are decided per caller — `beta`, whether the caller sees what is not yet generally available — as they apply to the signed-in caller: its validated org and user, never anything the request states.
69
+ * @param {*} [options] Override http request option.
70
+ * @throws {RequiredError}
71
+ */
72
+ getFlagPlatform: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
65
73
  /**
66
74
  * Runs the caller\'s flag definitions for one identity and returns the flag verdict: which flags are on (or which variant), their payloads, and whether any definition failed to compute. Evaluation is in-process over the caller\'s own (org, project) definitions — no network hop, no shared KV — so a tenant can only ever evaluate its own flags.
67
75
  * @summary Runs the caller\'s flag definitions for one identity and returns the flag verdict: which flags are on (or which variant), their payloads, and whether any definition failed to compute.
@@ -131,6 +139,13 @@ export declare const FlagApiFp: (configuration?: Configuration) => {
131
139
  * @throws {RequiredError}
132
140
  */
133
141
  getFlagHealth(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FlagHealthOut>>;
142
+ /**
143
+ * Answers the platform switches that are decided per caller — `beta`, whether the caller sees what is not yet generally available — as they apply to the signed-in caller: its validated org and user, never anything the request states. A SuperAdmin targets them from the admin cockpit; nothing here changes them. A request without a signed-in principal is refused, and a switch that cannot be read is 503, which a caller takes as off.
144
+ * @summary Answers the platform switches that are decided per caller — `beta`, whether the caller sees what is not yet generally available — as they apply to the signed-in caller: its validated org and user, never anything the request states.
145
+ * @param {*} [options] Override http request option.
146
+ * @throws {RequiredError}
147
+ */
148
+ getFlagPlatform(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FlagPlatformOut>>;
134
149
  /**
135
150
  * Runs the caller\'s flag definitions for one identity and returns the flag verdict: which flags are on (or which variant), their payloads, and whether any definition failed to compute. Evaluation is in-process over the caller\'s own (org, project) definitions — no network hop, no shared KV — so a tenant can only ever evaluate its own flags.
136
151
  * @summary Runs the caller\'s flag definitions for one identity and returns the flag verdict: which flags are on (or which variant), their payloads, and whether any definition failed to compute.
@@ -200,6 +215,13 @@ export declare const FlagApiFactory: (configuration?: Configuration, basePath?:
200
215
  * @throws {RequiredError}
201
216
  */
202
217
  getFlagHealth(options?: RawAxiosRequestConfig): AxiosPromise<FlagHealthOut>;
218
+ /**
219
+ * Answers the platform switches that are decided per caller — `beta`, whether the caller sees what is not yet generally available — as they apply to the signed-in caller: its validated org and user, never anything the request states. A SuperAdmin targets them from the admin cockpit; nothing here changes them. A request without a signed-in principal is refused, and a switch that cannot be read is 503, which a caller takes as off.
220
+ * @summary Answers the platform switches that are decided per caller — `beta`, whether the caller sees what is not yet generally available — as they apply to the signed-in caller: its validated org and user, never anything the request states.
221
+ * @param {*} [options] Override http request option.
222
+ * @throws {RequiredError}
223
+ */
224
+ getFlagPlatform(options?: RawAxiosRequestConfig): AxiosPromise<FlagPlatformOut>;
203
225
  /**
204
226
  * Runs the caller\'s flag definitions for one identity and returns the flag verdict: which flags are on (or which variant), their payloads, and whether any definition failed to compute. Evaluation is in-process over the caller\'s own (org, project) definitions — no network hop, no shared KV — so a tenant can only ever evaluate its own flags.
205
227
  * @summary Runs the caller\'s flag definitions for one identity and returns the flag verdict: which flags are on (or which variant), their payloads, and whether any definition failed to compute.
@@ -359,6 +381,14 @@ export declare class FlagApi extends BaseAPI {
359
381
  * @memberof FlagApi
360
382
  */
361
383
  getFlagHealth(options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<FlagHealthOut, any, {}>>;
384
+ /**
385
+ * Answers the platform switches that are decided per caller — `beta`, whether the caller sees what is not yet generally available — as they apply to the signed-in caller: its validated org and user, never anything the request states. A SuperAdmin targets them from the admin cockpit; nothing here changes them. A request without a signed-in principal is refused, and a switch that cannot be read is 503, which a caller takes as off.
386
+ * @summary Answers the platform switches that are decided per caller — `beta`, whether the caller sees what is not yet generally available — as they apply to the signed-in caller: its validated org and user, never anything the request states.
387
+ * @param {*} [options] Override http request option.
388
+ * @throws {RequiredError}
389
+ * @memberof FlagApi
390
+ */
391
+ getFlagPlatform(options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<FlagPlatformOut, any, {}>>;
362
392
  /**
363
393
  * Runs the caller\'s flag definitions for one identity and returns the flag verdict: which flags are on (or which variant), their payloads, and whether any definition failed to compute. Evaluation is in-process over the caller\'s own (org, project) definitions — no network hop, no shared KV — so a tenant can only ever evaluate its own flags.
364
394
  * @summary Runs the caller\'s flag definitions for one identity and returns the flag verdict: which flags are on (or which variant), their payloads, and whether any definition failed to compute.
@@ -181,6 +181,34 @@ const FlagApiAxiosParamCreator = function (configuration) {
181
181
  options: localVarRequestOptions,
182
182
  };
183
183
  },
184
+ /**
185
+ * Answers the platform switches that are decided per caller — `beta`, whether the caller sees what is not yet generally available — as they apply to the signed-in caller: its validated org and user, never anything the request states. A SuperAdmin targets them from the admin cockpit; nothing here changes them. A request without a signed-in principal is refused, and a switch that cannot be read is 503, which a caller takes as off.
186
+ * @summary Answers the platform switches that are decided per caller — `beta`, whether the caller sees what is not yet generally available — as they apply to the signed-in caller: its validated org and user, never anything the request states.
187
+ * @param {*} [options] Override http request option.
188
+ * @throws {RequiredError}
189
+ */
190
+ getFlagPlatform: async (options = {}) => {
191
+ const localVarPath = `/v1/flag/platform`;
192
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
193
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
194
+ let baseOptions;
195
+ if (configuration) {
196
+ baseOptions = configuration.baseOptions;
197
+ }
198
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
199
+ const localVarHeaderParameter = {};
200
+ const localVarQueryParameter = {};
201
+ // authentication bearer required
202
+ // http bearer authentication required
203
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
204
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
205
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
206
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
207
+ return {
208
+ url: (0, common_1.toPathString)(localVarUrlObj),
209
+ options: localVarRequestOptions,
210
+ };
211
+ },
184
212
  /**
185
213
  * Runs the caller\'s flag definitions for one identity and returns the flag verdict: which flags are on (or which variant), their payloads, and whether any definition failed to compute. Evaluation is in-process over the caller\'s own (org, project) definitions — no network hop, no shared KV — so a tenant can only ever evaluate its own flags.
186
214
  * @summary Runs the caller\'s flag definitions for one identity and returns the flag verdict: which flags are on (or which variant), their payloads, and whether any definition failed to compute.
@@ -357,6 +385,18 @@ const FlagApiFp = function (configuration) {
357
385
  const localVarOperationServerBasePath = base_1.operationServerMap['FlagApi.getFlagHealth']?.[localVarOperationServerIndex]?.url;
358
386
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
359
387
  },
388
+ /**
389
+ * Answers the platform switches that are decided per caller — `beta`, whether the caller sees what is not yet generally available — as they apply to the signed-in caller: its validated org and user, never anything the request states. A SuperAdmin targets them from the admin cockpit; nothing here changes them. A request without a signed-in principal is refused, and a switch that cannot be read is 503, which a caller takes as off.
390
+ * @summary Answers the platform switches that are decided per caller — `beta`, whether the caller sees what is not yet generally available — as they apply to the signed-in caller: its validated org and user, never anything the request states.
391
+ * @param {*} [options] Override http request option.
392
+ * @throws {RequiredError}
393
+ */
394
+ async getFlagPlatform(options) {
395
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getFlagPlatform(options);
396
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
397
+ const localVarOperationServerBasePath = base_1.operationServerMap['FlagApi.getFlagPlatform']?.[localVarOperationServerIndex]?.url;
398
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
399
+ },
360
400
  /**
361
401
  * Runs the caller\'s flag definitions for one identity and returns the flag verdict: which flags are on (or which variant), their payloads, and whether any definition failed to compute. Evaluation is in-process over the caller\'s own (org, project) definitions — no network hop, no shared KV — so a tenant can only ever evaluate its own flags.
362
402
  * @summary Runs the caller\'s flag definitions for one identity and returns the flag verdict: which flags are on (or which variant), their payloads, and whether any definition failed to compute.
@@ -455,6 +495,15 @@ const FlagApiFactory = function (configuration, basePath, axios) {
455
495
  getFlagHealth(options) {
456
496
  return localVarFp.getFlagHealth(options).then((request) => request(axios, basePath));
457
497
  },
498
+ /**
499
+ * Answers the platform switches that are decided per caller — `beta`, whether the caller sees what is not yet generally available — as they apply to the signed-in caller: its validated org and user, never anything the request states. A SuperAdmin targets them from the admin cockpit; nothing here changes them. A request without a signed-in principal is refused, and a switch that cannot be read is 503, which a caller takes as off.
500
+ * @summary Answers the platform switches that are decided per caller — `beta`, whether the caller sees what is not yet generally available — as they apply to the signed-in caller: its validated org and user, never anything the request states.
501
+ * @param {*} [options] Override http request option.
502
+ * @throws {RequiredError}
503
+ */
504
+ getFlagPlatform(options) {
505
+ return localVarFp.getFlagPlatform(options).then((request) => request(axios, basePath));
506
+ },
458
507
  /**
459
508
  * Runs the caller\'s flag definitions for one identity and returns the flag verdict: which flags are on (or which variant), their payloads, and whether any definition failed to compute. Evaluation is in-process over the caller\'s own (org, project) definitions — no network hop, no shared KV — so a tenant can only ever evaluate its own flags.
460
509
  * @summary Runs the caller\'s flag definitions for one identity and returns the flag verdict: which flags are on (or which variant), their payloads, and whether any definition failed to compute.
@@ -548,6 +597,16 @@ class FlagApi extends base_1.BaseAPI {
548
597
  getFlagHealth(options) {
549
598
  return (0, exports.FlagApiFp)(this.configuration).getFlagHealth(options).then((request) => request(this.axios, this.basePath));
550
599
  }
600
+ /**
601
+ * Answers the platform switches that are decided per caller — `beta`, whether the caller sees what is not yet generally available — as they apply to the signed-in caller: its validated org and user, never anything the request states. A SuperAdmin targets them from the admin cockpit; nothing here changes them. A request without a signed-in principal is refused, and a switch that cannot be read is 503, which a caller takes as off.
602
+ * @summary Answers the platform switches that are decided per caller — `beta`, whether the caller sees what is not yet generally available — as they apply to the signed-in caller: its validated org and user, never anything the request states.
603
+ * @param {*} [options] Override http request option.
604
+ * @throws {RequiredError}
605
+ * @memberof FlagApi
606
+ */
607
+ getFlagPlatform(options) {
608
+ return (0, exports.FlagApiFp)(this.configuration).getFlagPlatform(options).then((request) => request(this.axios, this.basePath));
609
+ }
551
610
  /**
552
611
  * Runs the caller\'s flag definitions for one identity and returns the flag verdict: which flags are on (or which variant), their payloads, and whether any definition failed to compute. Evaluation is in-process over the caller\'s own (org, project) definitions — no network hop, no shared KV — so a tenant can only ever evaluate its own flags.
553
612
  * @summary Runs the caller\'s flag definitions for one identity and returns the flag verdict: which flags are on (or which variant), their payloads, and whether any definition failed to compute.
@@ -15,7 +15,6 @@ import globalAxios from 'axios';
15
15
  import { type RequestArgs, BaseAPI } from '../base';
16
16
  import type { PricingCard } from '../models';
17
17
  import type { PricingEnablementBoard } from '../models';
18
- import type { PricingEnablementOptRef } from '../models';
19
18
  import type { PricingPricingHealth } from '../models';
20
19
  import type { PricingPricingModelList } from '../models';
21
20
  import type { PricingPricingPlanList } from '../models';
@@ -24,7 +23,6 @@ import type { PricingPricingProviderList } from '../models';
24
23
  import type { PricingPricingRegionList } from '../models';
25
24
  import type { PricingPricingTierList } from '../models';
26
25
  import type { PricingPricingToolList } from '../models';
27
- import type { PricingUserEnablementItem } from '../models';
28
26
  /**
29
27
  * PricingApi - axios parameter creator
30
28
  * @export
@@ -101,8 +99,8 @@ export declare const PricingApiAxiosParamCreator: (configuration?: Configuration
101
99
  */
102
100
  getPricingDatastore: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
103
101
  /**
104
- * Returns what the caller\'s org can actually use: every managed item with its global state, whether it is effective here, whether this org is already opted into its beta, and whether it may still opt in. Read-only and safe for any caller — one without a validated principal simply sees the generally-available items and no opt-in affordance, never another org\'s state.
105
- * @summary Returns what the caller\'s org can actually use: every managed item with its global state, whether it is effective here, whether this org is already opted into its beta, and whether it may still opt in.
102
+ * Returns what the caller can actually use: every managed item with its global state and whether it is effective for this caller — a beta item is, while the platform\'s `beta` switch is on for it. Read-only and safe for any caller: one without a validated principal sees the generally-available items, never another org\'s view.
103
+ * @summary Returns what the caller can actually use: every managed item with its global state and whether it is effective for this caller — a beta item is, while the platform\'s `beta` switch is on for it.
106
104
  * @param {*} [options] Override http request option.
107
105
  * @throws {RequiredError}
108
106
  */
@@ -151,8 +149,8 @@ export declare const PricingApiAxiosParamCreator: (configuration?: Configuration
151
149
  */
152
150
  getPricingModelByName: (name: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
153
151
  /**
154
- * Returns the whole model catalog — every model the gateway serves, Zen and third-party alike — filtered to what the caller\'s org may see. A model an admin has disabled is absent; one in beta appears only for an org granted it. A SuperAdmin sees every model, each annotated with its enablement state.
155
- * @summary Returns the whole model catalog — every model the gateway serves, Zen and third-party alike — filtered to what the caller\'s org may see.
152
+ * Returns the whole model catalog — every model the gateway serves, Zen and third-party alike — filtered to what the caller may see. A model an admin has disabled is absent; one in beta appears only for a caller the platform\'s `beta` switch is on for. A SuperAdmin sees every model, each annotated with its enablement state.
153
+ * @summary Returns the whole model catalog — every model the gateway serves, Zen and third-party alike — filtered to what the caller may see.
156
154
  * @param {*} [options] Override http request option.
157
155
  * @throws {RequiredError}
158
156
  */
@@ -213,22 +211,6 @@ export declare const PricingApiAxiosParamCreator: (configuration?: Configuration
213
211
  * @throws {RequiredError}
214
212
  */
215
213
  getPricingTools: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
216
- /**
217
- * Opts the caller\'s OWN org into a beta item. The org is the caller\'s validated one, so this can never target another org, and the registry refuses anything not in beta — so it can neither re-open an item an operator turned off nor touch one that is already generally available. The org must be entitled to betas — it holds the beta program\'s grant, from an approved application or an operator — or the opt-in is 403; when the program cannot be asked it is 503, and worth retrying. Requires a signed-in owner or admin of the org (403 for a member).
218
- * @summary Opts the caller\'s OWN org into a beta item.
219
- * @param {PricingEnablementOptRef} pricingEnablementOptRef
220
- * @param {*} [options] Override http request option.
221
- * @throws {RequiredError}
222
- */
223
- postPricingEnablementOptin: (pricingEnablementOptRef: PricingEnablementOptRef, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
224
- /**
225
- * Removes the caller\'s OWN org from a beta item\'s grant list, the reverse of OptIntoBeta and idempotent. The org is the caller\'s validated one, so this can never revoke another org\'s grant. Requires a signed-in owner or admin of the org (403 for a member).
226
- * @summary Removes the caller\'s OWN org from a beta item\'s grant list, the reverse of OptIntoBeta and idempotent.
227
- * @param {PricingEnablementOptRef} pricingEnablementOptRef
228
- * @param {*} [options] Override http request option.
229
- * @throws {RequiredError}
230
- */
231
- postPricingEnablementOptout: (pricingEnablementOptRef: PricingEnablementOptRef, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
232
214
  };
233
215
  /**
234
216
  * PricingApi - functional programming interface
@@ -316,8 +298,8 @@ export declare const PricingApiFp: (configuration?: Configuration) => {
316
298
  [key: string]: any;
317
299
  }>>;
318
300
  /**
319
- * Returns what the caller\'s org can actually use: every managed item with its global state, whether it is effective here, whether this org is already opted into its beta, and whether it may still opt in. Read-only and safe for any caller — one without a validated principal simply sees the generally-available items and no opt-in affordance, never another org\'s state.
320
- * @summary Returns what the caller\'s org can actually use: every managed item with its global state, whether it is effective here, whether this org is already opted into its beta, and whether it may still opt in.
301
+ * Returns what the caller can actually use: every managed item with its global state and whether it is effective for this caller — a beta item is, while the platform\'s `beta` switch is on for it. Read-only and safe for any caller: one without a validated principal sees the generally-available items, never another org\'s view.
302
+ * @summary Returns what the caller can actually use: every managed item with its global state and whether it is effective for this caller — a beta item is, while the platform\'s `beta` switch is on for it.
321
303
  * @param {*} [options] Override http request option.
322
304
  * @throws {RequiredError}
323
305
  */
@@ -368,8 +350,8 @@ export declare const PricingApiFp: (configuration?: Configuration) => {
368
350
  [key: string]: any;
369
351
  }>>;
370
352
  /**
371
- * Returns the whole model catalog — every model the gateway serves, Zen and third-party alike — filtered to what the caller\'s org may see. A model an admin has disabled is absent; one in beta appears only for an org granted it. A SuperAdmin sees every model, each annotated with its enablement state.
372
- * @summary Returns the whole model catalog — every model the gateway serves, Zen and third-party alike — filtered to what the caller\'s org may see.
353
+ * Returns the whole model catalog — every model the gateway serves, Zen and third-party alike — filtered to what the caller may see. A model an admin has disabled is absent; one in beta appears only for a caller the platform\'s `beta` switch is on for. A SuperAdmin sees every model, each annotated with its enablement state.
354
+ * @summary Returns the whole model catalog — every model the gateway serves, Zen and third-party alike — filtered to what the caller may see.
373
355
  * @param {*} [options] Override http request option.
374
356
  * @throws {RequiredError}
375
357
  */
@@ -436,22 +418,6 @@ export declare const PricingApiFp: (configuration?: Configuration) => {
436
418
  * @throws {RequiredError}
437
419
  */
438
420
  getPricingTools(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PricingPricingToolList>>;
439
- /**
440
- * Opts the caller\'s OWN org into a beta item. The org is the caller\'s validated one, so this can never target another org, and the registry refuses anything not in beta — so it can neither re-open an item an operator turned off nor touch one that is already generally available. The org must be entitled to betas — it holds the beta program\'s grant, from an approved application or an operator — or the opt-in is 403; when the program cannot be asked it is 503, and worth retrying. Requires a signed-in owner or admin of the org (403 for a member).
441
- * @summary Opts the caller\'s OWN org into a beta item.
442
- * @param {PricingEnablementOptRef} pricingEnablementOptRef
443
- * @param {*} [options] Override http request option.
444
- * @throws {RequiredError}
445
- */
446
- postPricingEnablementOptin(pricingEnablementOptRef: PricingEnablementOptRef, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PricingUserEnablementItem>>;
447
- /**
448
- * Removes the caller\'s OWN org from a beta item\'s grant list, the reverse of OptIntoBeta and idempotent. The org is the caller\'s validated one, so this can never revoke another org\'s grant. Requires a signed-in owner or admin of the org (403 for a member).
449
- * @summary Removes the caller\'s OWN org from a beta item\'s grant list, the reverse of OptIntoBeta and idempotent.
450
- * @param {PricingEnablementOptRef} pricingEnablementOptRef
451
- * @param {*} [options] Override http request option.
452
- * @throws {RequiredError}
453
- */
454
- postPricingEnablementOptout(pricingEnablementOptRef: PricingEnablementOptRef, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PricingUserEnablementItem>>;
455
421
  };
456
422
  /**
457
423
  * PricingApi - factory interface
@@ -539,8 +505,8 @@ export declare const PricingApiFactory: (configuration?: Configuration, basePath
539
505
  [key: string]: any;
540
506
  }>;
541
507
  /**
542
- * Returns what the caller\'s org can actually use: every managed item with its global state, whether it is effective here, whether this org is already opted into its beta, and whether it may still opt in. Read-only and safe for any caller — one without a validated principal simply sees the generally-available items and no opt-in affordance, never another org\'s state.
543
- * @summary Returns what the caller\'s org can actually use: every managed item with its global state, whether it is effective here, whether this org is already opted into its beta, and whether it may still opt in.
508
+ * Returns what the caller can actually use: every managed item with its global state and whether it is effective for this caller — a beta item is, while the platform\'s `beta` switch is on for it. Read-only and safe for any caller: one without a validated principal sees the generally-available items, never another org\'s view.
509
+ * @summary Returns what the caller can actually use: every managed item with its global state and whether it is effective for this caller — a beta item is, while the platform\'s `beta` switch is on for it.
544
510
  * @param {*} [options] Override http request option.
545
511
  * @throws {RequiredError}
546
512
  */
@@ -591,8 +557,8 @@ export declare const PricingApiFactory: (configuration?: Configuration, basePath
591
557
  [key: string]: any;
592
558
  }>;
593
559
  /**
594
- * Returns the whole model catalog — every model the gateway serves, Zen and third-party alike — filtered to what the caller\'s org may see. A model an admin has disabled is absent; one in beta appears only for an org granted it. A SuperAdmin sees every model, each annotated with its enablement state.
595
- * @summary Returns the whole model catalog — every model the gateway serves, Zen and third-party alike — filtered to what the caller\'s org may see.
560
+ * Returns the whole model catalog — every model the gateway serves, Zen and third-party alike — filtered to what the caller may see. A model an admin has disabled is absent; one in beta appears only for a caller the platform\'s `beta` switch is on for. A SuperAdmin sees every model, each annotated with its enablement state.
561
+ * @summary Returns the whole model catalog — every model the gateway serves, Zen and third-party alike — filtered to what the caller may see.
596
562
  * @param {*} [options] Override http request option.
597
563
  * @throws {RequiredError}
598
564
  */
@@ -659,22 +625,6 @@ export declare const PricingApiFactory: (configuration?: Configuration, basePath
659
625
  * @throws {RequiredError}
660
626
  */
661
627
  getPricingTools(options?: RawAxiosRequestConfig): AxiosPromise<PricingPricingToolList>;
662
- /**
663
- * Opts the caller\'s OWN org into a beta item. The org is the caller\'s validated one, so this can never target another org, and the registry refuses anything not in beta — so it can neither re-open an item an operator turned off nor touch one that is already generally available. The org must be entitled to betas — it holds the beta program\'s grant, from an approved application or an operator — or the opt-in is 403; when the program cannot be asked it is 503, and worth retrying. Requires a signed-in owner or admin of the org (403 for a member).
664
- * @summary Opts the caller\'s OWN org into a beta item.
665
- * @param {PricingApiPostPricingEnablementOptinRequest} requestParameters Request parameters.
666
- * @param {*} [options] Override http request option.
667
- * @throws {RequiredError}
668
- */
669
- postPricingEnablementOptin(requestParameters: PricingApiPostPricingEnablementOptinRequest, options?: RawAxiosRequestConfig): AxiosPromise<PricingUserEnablementItem>;
670
- /**
671
- * Removes the caller\'s OWN org from a beta item\'s grant list, the reverse of OptIntoBeta and idempotent. The org is the caller\'s validated one, so this can never revoke another org\'s grant. Requires a signed-in owner or admin of the org (403 for a member).
672
- * @summary Removes the caller\'s OWN org from a beta item\'s grant list, the reverse of OptIntoBeta and idempotent.
673
- * @param {PricingApiPostPricingEnablementOptoutRequest} requestParameters Request parameters.
674
- * @param {*} [options] Override http request option.
675
- * @throws {RequiredError}
676
- */
677
- postPricingEnablementOptout(requestParameters: PricingApiPostPricingEnablementOptoutRequest, options?: RawAxiosRequestConfig): AxiosPromise<PricingUserEnablementItem>;
678
628
  };
679
629
  /**
680
630
  * Request parameters for getPricingModelByName operation in PricingApi.
@@ -689,32 +639,6 @@ export interface PricingApiGetPricingModelByNameRequest {
689
639
  */
690
640
  readonly name: string;
691
641
  }
692
- /**
693
- * Request parameters for postPricingEnablementOptin operation in PricingApi.
694
- * @export
695
- * @interface PricingApiPostPricingEnablementOptinRequest
696
- */
697
- export interface PricingApiPostPricingEnablementOptinRequest {
698
- /**
699
- *
700
- * @type {PricingEnablementOptRef}
701
- * @memberof PricingApiPostPricingEnablementOptin
702
- */
703
- readonly pricingEnablementOptRef: PricingEnablementOptRef;
704
- }
705
- /**
706
- * Request parameters for postPricingEnablementOptout operation in PricingApi.
707
- * @export
708
- * @interface PricingApiPostPricingEnablementOptoutRequest
709
- */
710
- export interface PricingApiPostPricingEnablementOptoutRequest {
711
- /**
712
- *
713
- * @type {PricingEnablementOptRef}
714
- * @memberof PricingApiPostPricingEnablementOptout
715
- */
716
- readonly pricingEnablementOptRef: PricingEnablementOptRef;
717
- }
718
642
  /**
719
643
  * PricingApi - object-oriented interface
720
644
  * @export
@@ -813,8 +737,8 @@ export declare class PricingApi extends BaseAPI {
813
737
  [key: string]: any;
814
738
  }, any, {}>>;
815
739
  /**
816
- * Returns what the caller\'s org can actually use: every managed item with its global state, whether it is effective here, whether this org is already opted into its beta, and whether it may still opt in. Read-only and safe for any caller — one without a validated principal simply sees the generally-available items and no opt-in affordance, never another org\'s state.
817
- * @summary Returns what the caller\'s org can actually use: every managed item with its global state, whether it is effective here, whether this org is already opted into its beta, and whether it may still opt in.
740
+ * Returns what the caller can actually use: every managed item with its global state and whether it is effective for this caller — a beta item is, while the platform\'s `beta` switch is on for it. Read-only and safe for any caller: one without a validated principal sees the generally-available items, never another org\'s view.
741
+ * @summary Returns what the caller can actually use: every managed item with its global state and whether it is effective for this caller — a beta item is, while the platform\'s `beta` switch is on for it.
818
742
  * @param {*} [options] Override http request option.
819
743
  * @throws {RequiredError}
820
744
  * @memberof PricingApi
@@ -872,8 +796,8 @@ export declare class PricingApi extends BaseAPI {
872
796
  [key: string]: any;
873
797
  }, any, {}>>;
874
798
  /**
875
- * Returns the whole model catalog — every model the gateway serves, Zen and third-party alike — filtered to what the caller\'s org may see. A model an admin has disabled is absent; one in beta appears only for an org granted it. A SuperAdmin sees every model, each annotated with its enablement state.
876
- * @summary Returns the whole model catalog — every model the gateway serves, Zen and third-party alike — filtered to what the caller\'s org may see.
799
+ * Returns the whole model catalog — every model the gateway serves, Zen and third-party alike — filtered to what the caller may see. A model an admin has disabled is absent; one in beta appears only for a caller the platform\'s `beta` switch is on for. A SuperAdmin sees every model, each annotated with its enablement state.
800
+ * @summary Returns the whole model catalog — every model the gateway serves, Zen and third-party alike — filtered to what the caller may see.
877
801
  * @param {*} [options] Override http request option.
878
802
  * @throws {RequiredError}
879
803
  * @memberof PricingApi
@@ -949,22 +873,4 @@ export declare class PricingApi extends BaseAPI {
949
873
  * @memberof PricingApi
950
874
  */
951
875
  getPricingTools(options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<PricingPricingToolList, any, {}>>;
952
- /**
953
- * Opts the caller\'s OWN org into a beta item. The org is the caller\'s validated one, so this can never target another org, and the registry refuses anything not in beta — so it can neither re-open an item an operator turned off nor touch one that is already generally available. The org must be entitled to betas — it holds the beta program\'s grant, from an approved application or an operator — or the opt-in is 403; when the program cannot be asked it is 503, and worth retrying. Requires a signed-in owner or admin of the org (403 for a member).
954
- * @summary Opts the caller\'s OWN org into a beta item.
955
- * @param {PricingApiPostPricingEnablementOptinRequest} requestParameters Request parameters.
956
- * @param {*} [options] Override http request option.
957
- * @throws {RequiredError}
958
- * @memberof PricingApi
959
- */
960
- postPricingEnablementOptin(requestParameters: PricingApiPostPricingEnablementOptinRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<PricingUserEnablementItem, any, {}>>;
961
- /**
962
- * Removes the caller\'s OWN org from a beta item\'s grant list, the reverse of OptIntoBeta and idempotent. The org is the caller\'s validated one, so this can never revoke another org\'s grant. Requires a signed-in owner or admin of the org (403 for a member).
963
- * @summary Removes the caller\'s OWN org from a beta item\'s grant list, the reverse of OptIntoBeta and idempotent.
964
- * @param {PricingApiPostPricingEnablementOptoutRequest} requestParameters Request parameters.
965
- * @param {*} [options] Override http request option.
966
- * @throws {RequiredError}
967
- * @memberof PricingApi
968
- */
969
- postPricingEnablementOptout(requestParameters: PricingApiPostPricingEnablementOptoutRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<PricingUserEnablementItem, any, {}>>;
970
876
  }