Get
Get retrieves a model API key by its ID (metadata only, no secret).
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
This API uses OAuth2 with the Client Credential flow. Client Credentials must be sent in the BODY, not the headers. For an example of how to implement this, refer to the c1TokenSource.Token() function.
Path Parameters
The unique ID of the model API key (27-character base62 identifier).
Response
Successful response
The ModelAPIKeyServiceGetResponse message.
ModelAPIKey is returned by Get/List operations (metadata only, no secret).
This message contains a oneof named credential_format. Only a single field of the following list may be set at a time:
- anthropic