Creates an API key
Creates an API key with the provided name and type. The API key is returned in the response.
post/v1/api_keys
Request
- Base URLhttps://model-{model_id}.api.baseten.co
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"name": "my-api-key",
"model_ids": [
"aaaaaaaa"
]
}Response
Changes
No recorded changes to this operation across all 1 revision of this API.