DeepFellow API ReferenceAdministration
Add API key to project
Create a new API key in the project.
AuthorizationBearer <token>
In: header
Path Parameters
project_idProject Id
The ID of the project.
Match
^[0-9a-fA-F]{24}$Header Parameters
OpenAI-Organization?Openai-Organization
nameName
The name of the API key.
Response Body
curl -X POST "https://loading/v1/organization/projects/5eb7cf5a86d9755df3a6c593/api_keys" \
-H "OpenAI-Organization: 5eb7cf5a86d9755df3a6c593" \
-H "Content-Type: application/json" \
-d '{
"name": "MyApiKey"
}'{
"id": "5eb7cf5a86d9755df3a6c593",
"object": "organization.project.api_key",
"value": "string",
"redacted_value": "string",
"name": "string",
"created_at": 0,
"last_used_at": 0
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}We use cookies on our website. We use them to ensure proper functioning of the site and, if you agree, for purposes such as analytics, marketing, and targeting ads.