List projects

get
https://api.clakta.com/v1/projects

List the projects of the team that owns the API key, newest first. A key restricted to specific projects only returns those. Requires an API key with `projects.read`.

Results are paginated with a cursor. Each page returns up to `limit` projects (25 by default, 100 at most). When `hasMore` is `true`, request the next page by sending the returned `nextCursor` as the `cursor` parameter, keeping `limit` the same. The last page returns `hasMore: false` and `nextCursor: null`.

`attributionModel` is the project's default model. People in the dashboard can pick their own, which the API never returns.

Authentication

Send your API key as a bearer token in the Authorization header.

See Authentication for how to create and scope an API key.

Query parameters

limitintegeroptionaldefault: 25

The number of projects to return, from 1 to 100. Defaults to 25.

cursorstringoptional

The `nextCursor` returned by the previous page. Omit it to fetch the first page.

Response

A page of projects

dataobject[]required

The projects on this page.

hasMorebooleanrequired

Whether more projects follow this page.

nextCursorstring | nullrequired

The cursor to send as `cursor` to fetch the next page, or null on the last page.