API keys
Get current API key
Returns metadata for the API key used to authenticate this request.
get/v1/keys/current
Request
- Base URLhttps://api.metal.ai
- AuthAPI key in header x-metal-client-id and API key in header x-metal-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Response
The current API key.
Example response
{
"data": {
"id": "665f1c2a9b1e4a0012a3b4c5",
"name": "Production sync",
"keyLastFour": "here",
"clientId": "ci_your_client_id_here"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.