Skip to main content
List the endpoints in your workspace, each with its slug and configured targets. The response is paginated.

Authentication

string
required
Workspace API key with management scope, passed as Authorization: Api-Key $BASETEN_API_KEY (or Bearer; both are accepted).

Query parameters

integer
Page size. Default 100, maximum 1000.
string
Opaque cursor for the next page, taken from pagination.cursor of a previous response. Omit it for the first page.

Response

object[]
required
The endpoints in this page. Each entry has the same shape as the Create an endpoint response: id, slug, targets, created_at, and updated_at.
object
required
Pagination metadata.
  • has_more (boolean): Whether more endpoints are available beyond this page.
  • cursor (string): Cursor to pass as cursor to fetch the next page, or null on the last page.

Errors