Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 5 additions & 0 deletions sdk-endpoints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,10 @@ PUT /api/v1/auth/password # dashboard-only
# the credential ones. An SDK authenticates as a key rather than as a person and
# has no account page to render, so there is nothing here for one to wrap.
PATCH /api/v1/auth/profile # dashboard-only
# A signed-in person's message to the Otari team, sent from the top bar (the
# account menu on a phone).
# It is something a person writes, not something an integration calls.
POST /api/v1/feedback # dashboard-only
# Signup, email verification, and password reset (otari#650): claiming a
# roster identity's dashboard login and recovering it, the same browser-only
# credential flow PUT /api/v1/auth/password is. No SDK caller holds a password.
Expand Down Expand Up @@ -323,6 +327,7 @@ GET /api/v1/organizations/me/guardrails # operator surfa
POST /api/v1/organizations/me/guardrails # operator surface
PATCH /api/v1/organizations/me/guardrails/{guardrail_id} # operator surface
DELETE /api/v1/organizations/me/guardrails/{guardrail_id} # operator surface
POST /api/v1/organizations/me/guardrails/{guardrail_id}/test # operator surface
# The definitions those mandates will point at: what a guardrail *is*, where the
# mandate says where it runs. Excluded on the `/organizations/me` ground rather
# than the operator one above, which is the same ground the provider-key form
Expand Down
32 changes: 31 additions & 1 deletion src/otari/_client/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

Otari, an OpenAI-compatible LLM gateway with API key management

The version of the OpenAPI document: 0.9.0
The version of the OpenAPI document: 0.0.0-dev
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand All @@ -29,6 +29,7 @@
"CatalogApi",
"ChatApi",
"EmbeddingsApi",
"FeedbackApi",
"FilesApi",
"HealthApi",
"HooksApi",
Expand Down Expand Up @@ -107,6 +108,9 @@
"AliasResponse",
"AllocationHealthResponse",
"Annotations",
"AnthropicFileDeleted",
"AnthropicFileList",
"AnthropicFileMetadata",
"ApiKeyId",
"AppliedEditsInner",
"AudioContent",
Expand Down Expand Up @@ -179,6 +183,7 @@
"CodeExecutor",
"ConfigField",
"ConfigSearchToolSchema",
"Container",
"Content",
"Content1",
"Content10",
Expand Down Expand Up @@ -236,6 +241,7 @@
"ExternalIngestError",
"ExternalIngestResult",
"ExternalUsageEvent",
"FeedbackSubmission",
"GateResultResponse",
"GatewaySettings",
"GuardrailCatalog",
Expand Down Expand Up @@ -434,6 +440,9 @@
"OAuthCallbackRequest",
"OAuthSessionResponse",
"OfferingUsage",
"OpenAIFileDeleted",
"OpenAIFileList",
"OpenAIFileObject",
"OrgProviderAvailableModelsPublic",
"OrgProviderKeyCreateRequest",
"OrgProviderKeyModelCreateRequest",
Expand Down Expand Up @@ -461,6 +470,8 @@
"OrganizationGuardrailDefinitionUpdate",
"OrganizationGuardrailDefinitionsPublic",
"OrganizationGuardrailPublic",
"OrganizationGuardrailTest",
"OrganizationGuardrailTestResult",
"OrganizationGuardrailUpdate",
"OrganizationGuardrailsPublic",
"OrganizationMembershipContextPublic",
Expand Down Expand Up @@ -532,6 +543,10 @@
"ResetPasswordRequest",
"Resource",
"ResourceLink",
"ResponseFilesCreateFile",
"ResponseFilesDeleteFile",
"ResponseFilesGetFile",
"ResponseFilesListFiles",
"ResponsesRequest",
"RotateMasterKeyResponse",
"RouterStatus",
Expand Down Expand Up @@ -656,6 +671,7 @@
from otari._client.api.catalog_api import CatalogApi as CatalogApi
from otari._client.api.chat_api import ChatApi as ChatApi
from otari._client.api.embeddings_api import EmbeddingsApi as EmbeddingsApi
from otari._client.api.feedback_api import FeedbackApi as FeedbackApi
from otari._client.api.files_api import FilesApi as FilesApi
from otari._client.api.health_api import HealthApi as HealthApi
from otari._client.api.hooks_api import HooksApi as HooksApi
Expand Down Expand Up @@ -738,6 +754,9 @@
from otari._client.models.alias_response import AliasResponse as AliasResponse
from otari._client.models.allocation_health_response import AllocationHealthResponse as AllocationHealthResponse
from otari._client.models.annotations import Annotations as Annotations
from otari._client.models.anthropic_file_deleted import AnthropicFileDeleted as AnthropicFileDeleted
from otari._client.models.anthropic_file_list import AnthropicFileList as AnthropicFileList
from otari._client.models.anthropic_file_metadata import AnthropicFileMetadata as AnthropicFileMetadata
from otari._client.models.api_key_id import ApiKeyId as ApiKeyId
from otari._client.models.applied_edits_inner import AppliedEditsInner as AppliedEditsInner
from otari._client.models.audio_content import AudioContent as AudioContent
Expand Down Expand Up @@ -810,6 +829,7 @@
from otari._client.models.code_executor import CodeExecutor as CodeExecutor
from otari._client.models.config_field import ConfigField as ConfigField
from otari._client.models.config_search_tool_schema import ConfigSearchToolSchema as ConfigSearchToolSchema
from otari._client.models.container import Container as Container
from otari._client.models.content import Content as Content
from otari._client.models.content1 import Content1 as Content1
from otari._client.models.content10 import Content10 as Content10
Expand Down Expand Up @@ -867,6 +887,7 @@
from otari._client.models.external_ingest_error import ExternalIngestError as ExternalIngestError
from otari._client.models.external_ingest_result import ExternalIngestResult as ExternalIngestResult
from otari._client.models.external_usage_event import ExternalUsageEvent as ExternalUsageEvent
from otari._client.models.feedback_submission import FeedbackSubmission as FeedbackSubmission
from otari._client.models.gate_result_response import GateResultResponse as GateResultResponse
from otari._client.models.gateway_settings import GatewaySettings as GatewaySettings
from otari._client.models.guardrail_catalog import GuardrailCatalog as GuardrailCatalog
Expand Down Expand Up @@ -1065,6 +1086,9 @@
from otari._client.models.o_auth_callback_request import OAuthCallbackRequest as OAuthCallbackRequest
from otari._client.models.o_auth_session_response import OAuthSessionResponse as OAuthSessionResponse
from otari._client.models.offering_usage import OfferingUsage as OfferingUsage
from otari._client.models.open_ai_file_deleted import OpenAIFileDeleted as OpenAIFileDeleted
from otari._client.models.open_ai_file_list import OpenAIFileList as OpenAIFileList
from otari._client.models.open_ai_file_object import OpenAIFileObject as OpenAIFileObject
from otari._client.models.org_provider_available_models_public import OrgProviderAvailableModelsPublic as OrgProviderAvailableModelsPublic
from otari._client.models.org_provider_key_create_request import OrgProviderKeyCreateRequest as OrgProviderKeyCreateRequest
from otari._client.models.org_provider_key_model_create_request import OrgProviderKeyModelCreateRequest as OrgProviderKeyModelCreateRequest
Expand Down Expand Up @@ -1092,6 +1116,8 @@
from otari._client.models.organization_guardrail_definition_update import OrganizationGuardrailDefinitionUpdate as OrganizationGuardrailDefinitionUpdate
from otari._client.models.organization_guardrail_definitions_public import OrganizationGuardrailDefinitionsPublic as OrganizationGuardrailDefinitionsPublic
from otari._client.models.organization_guardrail_public import OrganizationGuardrailPublic as OrganizationGuardrailPublic
from otari._client.models.organization_guardrail_test import OrganizationGuardrailTest as OrganizationGuardrailTest
from otari._client.models.organization_guardrail_test_result import OrganizationGuardrailTestResult as OrganizationGuardrailTestResult
from otari._client.models.organization_guardrail_update import OrganizationGuardrailUpdate as OrganizationGuardrailUpdate
from otari._client.models.organization_guardrails_public import OrganizationGuardrailsPublic as OrganizationGuardrailsPublic
from otari._client.models.organization_membership_context_public import OrganizationMembershipContextPublic as OrganizationMembershipContextPublic
Expand Down Expand Up @@ -1163,6 +1189,10 @@
from otari._client.models.reset_password_request import ResetPasswordRequest as ResetPasswordRequest
from otari._client.models.resource import Resource as Resource
from otari._client.models.resource_link import ResourceLink as ResourceLink
from otari._client.models.response_files_create_file import ResponseFilesCreateFile as ResponseFilesCreateFile
from otari._client.models.response_files_delete_file import ResponseFilesDeleteFile as ResponseFilesDeleteFile
from otari._client.models.response_files_get_file import ResponseFilesGetFile as ResponseFilesGetFile
from otari._client.models.response_files_list_files import ResponseFilesListFiles as ResponseFilesListFiles
from otari._client.models.responses_request import ResponsesRequest as ResponsesRequest
from otari._client.models.rotate_master_key_response import RotateMasterKeyResponse as RotateMasterKeyResponse
from otari._client.models.router_status import RouterStatus as RouterStatus
Expand Down
2 changes: 1 addition & 1 deletion src/otari/_client/_spec_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__spec_version__ = "0.9.0"
__spec_version__ = "0.0.0-dev"
1 change: 1 addition & 0 deletions src/otari/_client/api/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
from otari._client.api.catalog_api import CatalogApi
from otari._client.api.chat_api import ChatApi
from otari._client.api.embeddings_api import EmbeddingsApi
from otari._client.api.feedback_api import FeedbackApi
from otari._client.api.files_api import FilesApi
from otari._client.api.health_api import HealthApi
from otari._client.api.hooks_api import HooksApi
Expand Down
2 changes: 1 addition & 1 deletion src/otari/_client/api/admin_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

Otari, an OpenAI-compatible LLM gateway with API key management

The version of the OpenAPI document: 0.9.0
The version of the OpenAPI document: 0.0.0-dev
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion src/otari/_client/api/agent_telemetry_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

Otari, an OpenAI-compatible LLM gateway with API key management

The version of the OpenAPI document: 0.9.0
The version of the OpenAPI document: 0.0.0-dev
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion src/otari/_client/api/aliases_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

Otari, an OpenAI-compatible LLM gateway with API key management

The version of the OpenAPI document: 0.9.0
The version of the OpenAPI document: 0.0.0-dev
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion src/otari/_client/api/audio_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

Otari, an OpenAI-compatible LLM gateway with API key management

The version of the OpenAPI document: 0.9.0
The version of the OpenAPI document: 0.0.0-dev
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion src/otari/_client/api/auth_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

Otari, an OpenAI-compatible LLM gateway with API key management

The version of the OpenAPI document: 0.9.0
The version of the OpenAPI document: 0.0.0-dev
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion src/otari/_client/api/batches_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

Otari, an OpenAI-compatible LLM gateway with API key management

The version of the OpenAPI document: 0.9.0
The version of the OpenAPI document: 0.0.0-dev
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion src/otari/_client/api/bootstrap_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

Otari, an OpenAI-compatible LLM gateway with API key management

The version of the OpenAPI document: 0.9.0
The version of the OpenAPI document: 0.0.0-dev
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion src/otari/_client/api/budgets_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

Otari, an OpenAI-compatible LLM gateway with API key management

The version of the OpenAPI document: 0.9.0
The version of the OpenAPI document: 0.0.0-dev
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
8 changes: 4 additions & 4 deletions src/otari/_client/api/catalog_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

Otari, an OpenAI-compatible LLM gateway with API key management

The version of the OpenAPI document: 0.9.0
The version of the OpenAPI document: 0.0.0-dev
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down Expand Up @@ -327,7 +327,7 @@ def catalog_list_catalog(
) -> CatalogResponse:
"""List Catalog

The models this caller may use, one entry each however many providers serve it. Prices are the caller's: an organization's override where one applies, else the deployment's row, else the genai-prices default. Aliases and routing policies are not models and are not listed; see Routing. A visitor, where the catalog is public, sees the configured instances at the deployment's rates and nothing that belongs to a tenant.
The models this caller may use, one entry each however many providers serve it. Prices are the caller's: an organization's override where one applies, else the deployment's row, else the genai-prices default. Aliases and routing policies are not models and are not listed; see Routing. A visitor, where the catalog is public, sees the configured instances and the hosted models at the deployment's rates, and nothing that belongs to a tenant.

:param at_context: Compare prices for a request of this many input tokens: each model's minimum is taken from the pricing tier that request would settle at. Omitted, the base rates compare.
:type at_context: int
Expand Down Expand Up @@ -407,7 +407,7 @@ def catalog_list_catalog_with_http_info(
) -> ApiResponse[CatalogResponse]:
"""List Catalog

The models this caller may use, one entry each however many providers serve it. Prices are the caller's: an organization's override where one applies, else the deployment's row, else the genai-prices default. Aliases and routing policies are not models and are not listed; see Routing. A visitor, where the catalog is public, sees the configured instances at the deployment's rates and nothing that belongs to a tenant.
The models this caller may use, one entry each however many providers serve it. Prices are the caller's: an organization's override where one applies, else the deployment's row, else the genai-prices default. Aliases and routing policies are not models and are not listed; see Routing. A visitor, where the catalog is public, sees the configured instances and the hosted models at the deployment's rates, and nothing that belongs to a tenant.

:param at_context: Compare prices for a request of this many input tokens: each model's minimum is taken from the pricing tier that request would settle at. Omitted, the base rates compare.
:type at_context: int
Expand Down Expand Up @@ -487,7 +487,7 @@ def catalog_list_catalog_without_preload_content(
) -> RESTResponseType:
"""List Catalog

The models this caller may use, one entry each however many providers serve it. Prices are the caller's: an organization's override where one applies, else the deployment's row, else the genai-prices default. Aliases and routing policies are not models and are not listed; see Routing. A visitor, where the catalog is public, sees the configured instances at the deployment's rates and nothing that belongs to a tenant.
The models this caller may use, one entry each however many providers serve it. Prices are the caller's: an organization's override where one applies, else the deployment's row, else the genai-prices default. Aliases and routing policies are not models and are not listed; see Routing. A visitor, where the catalog is public, sees the configured instances and the hosted models at the deployment's rates, and nothing that belongs to a tenant.

:param at_context: Compare prices for a request of this many input tokens: each model's minimum is taken from the pricing tier that request would settle at. Omitted, the base rates compare.
:type at_context: int
Expand Down
2 changes: 1 addition & 1 deletion src/otari/_client/api/chat_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

Otari, an OpenAI-compatible LLM gateway with API key management

The version of the OpenAPI document: 0.9.0
The version of the OpenAPI document: 0.0.0-dev
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion src/otari/_client/api/embeddings_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

Otari, an OpenAI-compatible LLM gateway with API key management

The version of the OpenAPI document: 0.9.0
The version of the OpenAPI document: 0.0.0-dev
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
Loading
Loading