You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 9e94c6e
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: .speakeasy/in.openapi.yaml
+2-273Lines changed: 2 additions & 273 deletions
Original file line number
Diff line number
Diff line change
@@ -10400,12 +10400,6 @@ components:
10400
10400
type:
10401
10401
- 'boolean'
10402
10402
- 'null'
10403
-
max_completion_tokens:
10404
-
description: 'Cap on completion tokens per request. Requests asking for more skip this endpoint, and the default output length stays within it. When omitted, the cap is copied from the public endpoint for the same model and provider, if there is one.'
10405
-
example: 131072
10406
-
maximum: 2147483647
10407
-
minimum: 1
10408
-
type: 'integer'
10409
10403
model_permaslug:
10410
10404
description: 'Permanent slug of the model this endpoint serves.'
10411
10405
example: 'openai/gpt-4o-2024-08-06'
@@ -33684,27 +33678,6 @@ components:
33684
33678
required:
33685
33679
- 'is_filtered_model_catalog_enabled'
33686
33680
type: 'object'
33687
-
UpdatePrivateEndpointParametersRequest:
33688
-
properties:
33689
-
declared_parameters:
33690
-
description: 'Parameters the upstream supports beyond the tested ones. Replaces the earlier declaration; tested parameters stay. Order and repeated names are ignored, but the list holds at most as many entries as there are declarable parameters, repeats included. `tool_choice` requires `tools` to be tested or declared.'
description: 'Only the fields present change. `base_url`, `upstream_model_id`, `declared_zdr` and `declared_region` are accepted on a draft only; `pricing` and `declared_parameters` replace their value; `settings` is itself a partial update where `null` clears a limit or restores the provider default.'
33710
33683
example:
@@ -48670,12 +48643,12 @@ paths:
48670
48643
description: 'Create a private endpoint as a draft. Drafts are not routable: validate one with `POST /private-endpoints/{id}/validate`, then activate it with `POST /private-endpoints/{id}/activate`. Pass `activate` to do all three in one call; if validation fails the draft is kept and returned with the failed checks. Send an `Idempotency-Key` header to make retries safe: a repeated key with the same request returns the endpoint the first request created; reusing it with different fields returns 422 `idempotency_key_reused`. Returns 400 `parameters_invalid` when `tool_choice` is declared without `tools`. The response does not echo `declared_parameters` or `tested_parameters`; read them with `GET /private-endpoints/{id}`. [Management key](/docs/guides/overview/auth/management-api-keys) required.'
48671
48644
operationId: 'createPrivateEndpoint'
48672
48645
parameters:
48673
-
- description: 'Retry-safe create: a repeated create with the same key from the same organization returns the endpoint the first request created instead of creating another. The endpoint is returned as it is now. Reusing a key with a different request body (model, provider, base URL, upstream model ID, declared ZDR or region, pricing, or declared parameters) is rejected with 422 `idempotency_key_reused`. Declared parameters are compared as a set, so a retry that reorders or repeats a name replays the endpoint. `activate` and `max_completion_tokens` are not compared, and later edits to the endpoint do not affect the comparison.'
48646
+
- description: 'Retry-safe create: a repeated create with the same key from the same organization returns the endpoint the first request created instead of creating another. The endpoint is returned as it is now. Reusing a key with a different request body (model, provider, base URL, upstream model ID, declared ZDR or region, pricing, or declared parameters) is rejected with 422 `idempotency_key_reused`. Declared parameters are compared as a set, so a retry that reorders or repeats a name replays the endpoint. `activate` and `settings` are not compared, and later edits to the endpoint do not affect the comparison. `settings` is still validated before the replay, so a retry with invalid settings returns 400 `settings_invalid` instead of the endpoint.'
48674
48647
in: 'header'
48675
48648
name: 'idempotency-key'
48676
48649
required: false
48677
48650
schema:
48678
-
description: 'Retry-safe create: a repeated create with the same key from the same organization returns the endpoint the first request created instead of creating another. The endpoint is returned as it is now. Reusing a key with a different request body (model, provider, base URL, upstream model ID, declared ZDR or region, pricing, or declared parameters) is rejected with 422 `idempotency_key_reused`. Declared parameters are compared as a set, so a retry that reorders or repeats a name replays the endpoint. `activate` and `max_completion_tokens` are not compared, and later edits to the endpoint do not affect the comparison.'
48651
+
description: 'Retry-safe create: a repeated create with the same key from the same organization returns the endpoint the first request created instead of creating another. The endpoint is returned as it is now. Reusing a key with a different request body (model, provider, base URL, upstream model ID, declared ZDR or region, pricing, or declared parameters) is rejected with 422 `idempotency_key_reused`. Declared parameters are compared as a set, so a retry that reorders or repeats a name replays the endpoint. `activate` and `settings` are not compared, and later edits to the endpoint do not affect the comparison. `settings` is still validated before the replay, so a retry with invalid settings returns 400 `settings_invalid` instead of the endpoint.'
48679
48652
example: 'wayfair-gpt-4o-eastus-2026-09'
48680
48653
maxLength: 255
48681
48654
minLength: 1
@@ -49441,250 +49414,6 @@ paths:
49441
49414
tags:
49442
49415
- 'Private Endpoints'
49443
49416
x-speakeasy-name-override: 'enable'
49444
-
/private-endpoints/{id}/parameters:
49445
-
put:
49446
-
deprecated: true
49447
-
description: 'Deprecated: send `declared_parameters` to `PATCH /private-endpoints/{id}` instead; this route behaves exactly like that call and will be removed. The body replaces the earlier declaration and is read as a set; `tested_parameters` stay. Returns 400 `parameters_invalid` when `tool_choice` is declared without `tools` being tested or declared. [Management key](/docs/guides/overview/auth/management-api-keys) required.'
49448
-
operationId: 'updatePrivateEndpointParameters'
49449
-
parameters:
49450
-
- description: 'Stable identifier of the private endpoint.'
49451
-
in: 'path'
49452
-
name: 'id'
49453
-
required: true
49454
-
schema:
49455
-
description: 'Stable identifier of the private endpoint.'
description: 'Deprecated: send `pricing` to `PATCH /private-endpoints/{id}` instead; this route behaves exactly like that call and will be removed. The body replaces the whole pricing object: omitting `cache_read` or `cache_write` reverts that rate to the provider pricing strategy default. [Management key](/docs/guides/overview/auth/management-api-keys) required.'
49570
-
operationId: 'updatePrivateEndpointPricing'
49571
-
parameters:
49572
-
- description: 'Stable identifier of the private endpoint.'
49573
-
in: 'path'
49574
-
name: 'id'
49575
-
required: true
49576
-
schema:
49577
-
description: 'Stable identifier of the private endpoint.'
description: 'Send a live test request to the draft endpoint using the given workspace''s BYOK credential for its provider. A passing validation is required before activation. Failed checks return 200 with `passed: false`. [Management key](/docs/guides/overview/auth/management-api-keys) required.'
0 commit comments