DeepFellow DOCS

List project API keys

GET
/v1/organization/projects/{project_id}/api_keys

Return a list of API keys in the project.

Authorization

headerAuthorizationBearer <token>

Path Parameters

project_id*string

The ID of the project.

Match^[0-9a-fA-F]{24}$

Query Parameters

limit?integer

A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20.

Range1 <= value <= 200
Default100
after?|

A cursor for use in pagination. after is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include after=obj_foo in order to fetch the next page of the list.

Header Parameters

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.

Response Body

Successful Response

application/json
  1. response
object?string
Default"list"
data*array<>
first_id?|

First item ID.

last_id?|

Last item ID.

has_more?boolean

True if all elements from a collection are listed.

Defaultfalse
Example Request
curl -X GET 'https://deepfellow-server-host/v1/organization/projects/5eb7cf5a86d9755df3a6c593/api_keys'
Example Response
{  "object": "list",  "data": [    {      "id": "5eb7cf5a86d9755df3a6c593",      "object": "organization.project.api_key",      "redacted_value": "string",      "name": "string",      "created_at": 0,      "last_used_at": 0    }  ],  "first_id": "5eb7cf5a86d9755df3a6c593",  "last_id": "5eb7cf5a86d9755df3a6c593",  "has_more": false}

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.