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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions sdk-endpoints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,26 @@ GET /api/v1/files/{file_id} # not yet wrapped
GET /api/v1/files/{file_id}/content # not yet wrapped
DELETE /api/v1/files/{file_id} # not yet wrapped

# The Playground, which is the dashboard's own chat page and is excluded on a
# stronger ground than "not yet wrapped": its completion endpoint is authorized
# by a dashboard session cookie, so an SDK holding an API key cannot call it at
# all, and the surrounding reads store what that page remembers for the signed-in
# person. An SDK caller wanting a completion has POST /api/v1/chat/completions,
# which this one delegates to.
POST /api/v1/playground/chat/completions # session-authorized, not an SDK surface
GET /api/v1/playground/tools # session-authorized, not an SDK surface
GET /api/v1/playground/consent # session-authorized, not an SDK surface
PUT /api/v1/playground/consent # session-authorized, not an SDK surface
GET /api/v1/playground/conversations # session-authorized, not an SDK surface
POST /api/v1/playground/conversations # session-authorized, not an SDK surface
GET /api/v1/playground/conversations/{conversation_id}/messages # session-authorized, not an SDK surface
DELETE /api/v1/playground/conversations/{conversation_id} # session-authorized, not an SDK surface
GET /api/v1/playground/comparisons # session-authorized, not an SDK surface
POST /api/v1/playground/comparisons # session-authorized, not an SDK surface
DELETE /api/v1/playground/comparisons/{comparison_id} # session-authorized, not an SDK surface
GET /api/v1/playground/favorite-models # session-authorized, not an SDK surface
PUT /api/v1/playground/favorite-models # session-authorized, not an SDK surface

# Dashboard / admin management surface: present in the gateway spec, not yet
# wrapped by any SDK shell. Deferred here so the drift gate stays green; move to
# [covered] when a shell surfaces them. Kept identical across all four SDKs.
Expand Down
34 changes: 34 additions & 0 deletions src/otari/_client/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
"OrganizationUsageApi",
"OrganizationsApi",
"OtelApi",
"PlaygroundApi",
"PricingApi",
"ProviderKeysApi",
"ProvidersApi",
Expand Down Expand Up @@ -436,6 +437,22 @@
"PasswordResponse",
"PendingOrganizationInvitationPublic",
"PendingOrganizationInvitationsPublic",
"PlaygroundComparisonCreate",
"PlaygroundComparisonSummary",
"PlaygroundComparisonsPublic",
"PlaygroundConsentPublic",
"PlaygroundConsentUpdate",
"PlaygroundConversationCreate",
"PlaygroundConversationSummary",
"PlaygroundConversationsPublic",
"PlaygroundFavoriteModelsPublic",
"PlaygroundFavoriteModelsUpdate",
"PlaygroundMcpServer",
"PlaygroundMessageCreate",
"PlaygroundMessagePublic",
"PlaygroundMessagesPublic",
"PlaygroundToolStatus",
"PlaygroundToolsResponse",
"PolicyRequest",
"PolicyResponse",
"PoolStatus",
Expand Down Expand Up @@ -607,6 +624,7 @@
from otari._client.api.organization_usage_api import OrganizationUsageApi as OrganizationUsageApi
from otari._client.api.organizations_api import OrganizationsApi as OrganizationsApi
from otari._client.api.otel_api import OtelApi as OtelApi
from otari._client.api.playground_api import PlaygroundApi as PlaygroundApi
from otari._client.api.pricing_api import PricingApi as PricingApi
from otari._client.api.provider_keys_api import ProviderKeysApi as ProviderKeysApi
from otari._client.api.providers_api import ProvidersApi as ProvidersApi
Expand Down Expand Up @@ -1002,6 +1020,22 @@
from otari._client.models.password_response import PasswordResponse as PasswordResponse
from otari._client.models.pending_organization_invitation_public import PendingOrganizationInvitationPublic as PendingOrganizationInvitationPublic
from otari._client.models.pending_organization_invitations_public import PendingOrganizationInvitationsPublic as PendingOrganizationInvitationsPublic
from otari._client.models.playground_comparison_create import PlaygroundComparisonCreate as PlaygroundComparisonCreate
from otari._client.models.playground_comparison_summary import PlaygroundComparisonSummary as PlaygroundComparisonSummary
from otari._client.models.playground_comparisons_public import PlaygroundComparisonsPublic as PlaygroundComparisonsPublic
from otari._client.models.playground_consent_public import PlaygroundConsentPublic as PlaygroundConsentPublic
from otari._client.models.playground_consent_update import PlaygroundConsentUpdate as PlaygroundConsentUpdate
from otari._client.models.playground_conversation_create import PlaygroundConversationCreate as PlaygroundConversationCreate
from otari._client.models.playground_conversation_summary import PlaygroundConversationSummary as PlaygroundConversationSummary
from otari._client.models.playground_conversations_public import PlaygroundConversationsPublic as PlaygroundConversationsPublic
from otari._client.models.playground_favorite_models_public import PlaygroundFavoriteModelsPublic as PlaygroundFavoriteModelsPublic
from otari._client.models.playground_favorite_models_update import PlaygroundFavoriteModelsUpdate as PlaygroundFavoriteModelsUpdate
from otari._client.models.playground_mcp_server import PlaygroundMcpServer as PlaygroundMcpServer
from otari._client.models.playground_message_create import PlaygroundMessageCreate as PlaygroundMessageCreate
from otari._client.models.playground_message_public import PlaygroundMessagePublic as PlaygroundMessagePublic
from otari._client.models.playground_messages_public import PlaygroundMessagesPublic as PlaygroundMessagesPublic
from otari._client.models.playground_tool_status import PlaygroundToolStatus as PlaygroundToolStatus
from otari._client.models.playground_tools_response import PlaygroundToolsResponse as PlaygroundToolsResponse
from otari._client.models.policy_request import PolicyRequest as PolicyRequest
from otari._client.models.policy_response import PolicyResponse as PolicyResponse
from otari._client.models.pool_status import PoolStatus as PoolStatus
Expand Down
1 change: 1 addition & 0 deletions src/otari/_client/api/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
from otari._client.api.organization_usage_api import OrganizationUsageApi
from otari._client.api.organizations_api import OrganizationsApi
from otari._client.api.otel_api import OtelApi
from otari._client.api.playground_api import PlaygroundApi
from otari._client.api.pricing_api import PricingApi
from otari._client.api.provider_keys_api import ProviderKeysApi
from otari._client.api.providers_api import ProvidersApi
Expand Down
Loading
Loading