Datasets

List project datasets

Changed on

Returns a cursor-paginated page of datasets in the project.

get/v1/projects/{projectSlug}/datasets

Request

  • Base URL
    https://api.latitude.so
  • Auth
    HTTP bearer

Path parameters

projectSlugstring required

Project slug (human-readable identifier)

Project slug (human-readable identifier). The CLI can also read this from the LATITUDE_PROJECT_SLUG environment variable.

Query parameters

cursorstring

Opaque cursor returned in a previous response's nextCursor. Omit on the first page.

limitinteger

Page size. Defaults to 50; max 200.

sortBy'name' | 'updatedAt'

Field to sort by. Defaults to updatedAt.

sortDirection'asc' | 'desc'

Sort direction. Defaults to desc.

Response

Page of datasets

nextCursorstring nullable required

Opaque cursor for fetching the next page. null when there are no more pages. Pass it back in cursor to continue.

hasMoreboolean required

true when there is at least one more page after this one.

Changes