retrieval

List retrieval namespaces

Returns the namespace hierarchy for managed retrieval. Namespaces use dot-separated paths (e.g. docs.api, docs.guides). Use parent to list children of a specific namespace and depth to control nesting. Without parent, the response's parent is null and namespaces holds the top-level namespaces.

Required permission: retrieval.view.

get/v1/projects/{project_id}/retrieval/namespaces

Request

  • Base URL
    https://api.connic.co
  • Auth
    HTTP bearer

Path parameters

project_id, string uuid required

ID of the project the API key belongs to.

Query parameters

environment_id, string uuid required

Environment ID from GET /environments.

parent, string nullable

List the namespaces below this one, such as docs. The response's parent then describes it.

depth, integer

Levels to return: 1 returns only the direct children of parent (or the top level), 0 returns all levels.

Response

Successful Response

PublicNamespacesResponse required
parent, PublicNamespaceResponse nullable required
namespaces, PublicNamespaceResponse[] required

Children of parent, or top-level namespaces without it, down to depth levels and sorted by name.

Changes

No recorded changes to this operation across all 17 revisions of this API.