DeepFellow API ReferenceAdministration
Create a new organization api key
POST
Create a new organization api key.
header
AuthorizationBearer <token>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
Model for creating a new organization api key.
name*stringSuccessful Response
application/json- response
Response after creating a new organization api key.
id*stringA 24-character hexadecimal MongoDB ObjectId string.
Match
^[0-9a-fA-F]{24}$object*stringname*stringredacted_value*stringThe organization API key.
owner*created_at*integerlast_used_at*integervalue*stringThe organization API key.
Example Request
curl -X POST 'https://deepfellow-server-host/v1/organization/admin_api_keys' \ -H 'Content-Type: application/json' \ -d '{ "name": "string"}'Example Response
{ "id": "5eb7cf5a86d9755df3a6c593", "object": "organization.admin_api_key", "name": "string", "redacted_value": "dforg...xyz", "owner": { "created_at": 0, "id": "5eb7cf5a86d9755df3a6c593", "name": "Simplito", "object": "organization.user", "role": "owner", "type": "user" }, "created_at": 0, "last_used_at": 0, "value": "dforg_1234-abcd"}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.