Skip to main content
Namespaces

List Namespaces

List namespaces, optionally filtered by name or ID. Results are paginated.

Use namespace_id for multiple IDs. namespace_ids is deprecated.

GET https://api.rivet.dev/namespaces

Examples

Authentication

Send your namespace token as a bearer token in the Authorization header. Every control plane request also requires the namespace query parameter. See Authentication.

Query Parameters

NameTypeRequiredDescription
limitintegerNoMaximum number of results to return.
cursorstringNoPagination cursor. Pass the pagination.cursor value from the previous response to fetch the next page.
namestringNoOnly return namespaces with this name.
namespace_idsstringNoDeprecated. Use namespace_id instead.
namespace_idstring[]NoOnly return namespaces with these IDs. Repeat the parameter for multiple IDs.

Responses

200

Matching namespaces and a cursor for the next page.

FieldTypeDescription
namespacesobject[]
namespaces[].create_tsinteger
namespaces[].display_namestring
namespaces[].namestring
namespaces[].namespace_idstring
paginationobject
pagination.cursorstring | nullCursor for the next page, or null when there are no more results.
{
  "namespaces": [
    {
      "create_ts": 1700000000000,
      "display_name": "<display_name>",
      "name": "my-actor",
      "namespace_id": "00000000-0000-0000-0000-000000000000"
    }
  ],
  "pagination": {
    "cursor": null
  }
}