Skip to content

List projects

Request

Lists your organization's projects, newest first. Use it to find a project_id — for example the one to pass to POST /v1/calls. Returns a lean summary per project; fetch GET /v1/projects/{project_id} for the full record. Requires the organization to be enabled for the write surface.

Scoped to the ORGANIZATION, not to a user: an API key authenticates an organization rather than a person, so every project in the organization is listed.

Security
bearerAuth
Query
namestring, [ 1 .. 255 ] characters

Filter to projects with this exact name (case-insensitive). Not a substring or pattern match.

pageinteger, >= 1
Default:1
per_pageinteger, [ 1 .. 100 ]
Default:25
curl -i -X GET \
  'https://api.docs.junior.ai/_mock/openapi/projects?name=string&page=1&per_page=25' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

Paginated list of projects.

Bodyapplication/json
dataArray of objects(ProjectRef)required
paginationobject(Pagination)required
Response
{ "data": [ { … } ], "pagination": { "page": 0, "per_page": 0, "total_items": 0, "total_pages": 0 } }