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.

Autenticación

Envía tu clave de API como bearer token en la cabecera Authorization.

Consulta Autenticación para saber cómo crear una clave de API y definir sus permisos.

Parámetros de consulta

limitintegeropcionalpredeterminado: 25

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

cursorstringopcional

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

Respuesta

A page of projects

dataobject[]obligatorio

The projects on this page.

hasMorebooleanobligatorio

Whether more projects follow this page.

nextCursorstring | nullobligatorio

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