List projects
GEThttps:/api.openai.com/v1/organization/projects
Returns a list of projects.
Query parameters
limit
integer
Defaults: 20
A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20.after
string
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.include_archived
boolean
Defaults: false
If
true
returns all projects including those that have beenarchived
. Archived projects are not included by default.
Response
A list of Project objects.
Example request
1 curl https://api.openai.com/v1/organization/projects?after=proj_abc&limit=20&include_archived=false \2 -H "Authorization: Bearer $OPENAI_ADMIN_KEY" \3 -H "Content-Type: application/json"
Example response
1 {2 "object": "list",3 "data": [4 {5 "id": "proj_abc",6 "object": "organization.project",7 "name": "Project example",8 "created_at": 1711471533,9 "archived_at": null,10 "status": "active"11 }12 ],13 "first_id": "proj-abc",14 "last_id": "proj-xyz",15 "has_more": false16 }
Built with