Overview
π Account
π Analytics
ποΈ Datasources
𧬠Embedding Documents
Get Key
This endpoint gets a particular key.
GET
/
v1
/
keys
/
{keyId}
Copy
Ask AI
curl --location --request POST 'https://api.getmetal.io/v1/keys/{keyId}' \
--header 'Content-Type: application/json' \
--header 'x-metal-api-key: <api-key>' \
--header 'x-metal-client-id: <client-id>' \
Copy
Ask AI
{
"data": {
"id": "1",
"name": "My first key"
"keyLastFour": "1234",
"clientId": "1234567890"
}
}
Auth Headers
An API key for your org.
A Client ID for your org.
Response
Copy
Ask AI
curl --location --request POST 'https://api.getmetal.io/v1/keys/{keyId}' \
--header 'Content-Type: application/json' \
--header 'x-metal-api-key: <api-key>' \
--header 'x-metal-client-id: <client-id>' \
Copy
Ask AI
{
"data": {
"id": "1",
"name": "My first key"
"keyLastFour": "1234",
"clientId": "1234567890"
}
}
Copy
Ask AI
curl --location --request POST 'https://api.getmetal.io/v1/keys/{keyId}' \
--header 'Content-Type: application/json' \
--header 'x-metal-api-key: <api-key>' \
--header 'x-metal-client-id: <client-id>' \
Copy
Ask AI
{
"data": {
"id": "1",
"name": "My first key"
"keyLastFour": "1234",
"clientId": "1234567890"
}
}
Assistant
Responses are generated using AI and may contain mistakes.