DeepFellow API ReferenceAdministration
Add API key to project
POST
Create a new API key in the project.
header
AuthorizationBearer <token>project_id*stringThe ID of the project.
Match
^[0-9a-fA-F]{24}$OpenAI-Organization?|Organization Id from OpenAi compatible endpoint. Required to organization access or project access (with OpenAI-Project header) when logged as User or Admin User.
application/json- body
name*stringThe name of the API key.
Successful Response
application/json- response
id*stringA 24-character hexadecimal MongoDB ObjectId string.
Match
^[0-9a-fA-F]{24}$object*stringvalue*stringredacted_value*stringname*stringcreated_at*integerlast_used_at*integerExample Request
curl -X POST 'https://deepfellow-server-host/v1/organization/projects/5eb7cf5a86d9755df3a6c593/api_keys' \ -H 'Content-Type: application/json' \ -d '{ "name": "MyApiKey"}'Example Response
{ "id": "5eb7cf5a86d9755df3a6c593", "object": "organization.project.api_key", "value": "string", "redacted_value": "string", "name": "string", "created_at": 0, "last_used_at": 0}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.