v3
latestOpenAPI 3.1.02026-07-311,4541,5202.3 MBplatformApi
Api Foundation Models Retrieve
Foundation model detail by PK. Auth optional — API key OR JWT parsed if present, anonymous allowed. Serializer filters variants by org when authenticated.
Uses OptionalJWTAndAPIKeyAuthenticationViewMixin (not bare authentication_classes=[KeywordsAIJWTAuthentication]): SimpleJWT raises InvalidToken (401) on any present-but-non-JWT bearer — i.e. an API key — so the bare config 401'd legitimate API-key callers despite AllowAny. The mixin accepts API key OR JWT and treats unparseable creds as anonymous, and IP-rate-limits anonymous callers via TokenBucketThrottle.
get/api/foundation-models/{id}/
Path parameters
idinteger required
Headers
Authorizationstring required
JWT access token or Respan API key