API Documentation
Embeddings API
Image API
Audio Batch API
Accounts
Deployments
Models
Supervised Fine Tuning Jobs
Datasets
API Keys
Create API Key
POST
https://api.fireworks.ai
/
v1
/
accounts
/
{account_id}
/
apiKeys
curl --request POST \
--url https://api.fireworks.ai/v1/accounts/{account_id}/apiKeys \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"apiKey": {
"displayName": "<string>"
}
}'
{
"keyId": "<string>",
"displayName": "<string>",
"key": "<string>",
"createTime": "2023-11-07T05:31:56Z",
"secure": true,
"email": "<string>"
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
The Account Id
Body
application/json
Response
200 - application/json
A successful response.
The response is of type object
.
Was this page helpful?
curl --request POST \
--url https://api.fireworks.ai/v1/accounts/{account_id}/apiKeys \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"apiKey": {
"displayName": "<string>"
}
}'
{
"keyId": "<string>",
"displayName": "<string>",
"key": "<string>",
"createTime": "2023-11-07T05:31:56Z",
"secure": true,
"email": "<string>"
}
Assistant
Responses are generated using AI and may contain mistakes.