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.

Autenticação

Envie sua chave de API como bearer token no cabeçalho Authorization.

Veja Autenticação para saber como criar uma chave de API e definir seus escopos.

Parâmetros de consulta

limitintegeropcionalpadrão: 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.

Resposta

A page of projects

dataobject[]obrigatório

The projects on this page.

hasMorebooleanobrigatório

Whether more projects follow this page.

nextCursorstring | nullobrigatório

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