Skip to content
LogoLogo

Collections

Nebula collections SDK operations.

GET /v2/collections/{collection_id}

GET/v2/collections/{collection_id}

Public Nebula SDK contract for collections.get.

Path Parameters

collection_idRequired
string·min 1·max 128

Responses

PATCH /v2/collections/{collection_id}

PATCH/v2/collections/{collection_id}

Public Nebula SDK contract for collections.update.

Path Parameters

collection_idRequired
string·min 1·max 128

Request Body

application/json

Responses

DELETE /v2/collections/{collection_id}

DELETE/v2/collections/{collection_id}

Public Nebula SDK contract for collections.delete.

Path Parameters

collection_idRequired
string·min 1·max 128

Responses

GET /v2/collections/{collection_id}/warm

GET/v2/collections/{collection_id}/warm

POST prepares the receiving replica when no serving pool is configured, returning scope=replica and omitting generation, expires_at_ms and status_url. This local work is request-bound and provides no replica affinity or retention lease; GET and DELETE return 404. With a serving pool, POST establishes durable intent, returning scope=pool and optionally waiting up to wait_ms; caller cancellation does not revoke accepted intent. Both POST modes return 202; only prepared sets ready=true. Pool preparation covers all live serving process incarnations at the observation point. Joining readers must prepare active current-placement leases; failed or obsolete leases report ready=false without blocking admission. Expiry releases warm retention. Publication freshness and search authority remain enforced. Preparation readiness alone does not guarantee a query latency or completeness result.

Path Parameters

collection_idRequired
string·min 1·max 128

Responses

POST /v2/collections/{collection_id}/warm

POST/v2/collections/{collection_id}/warm

POST prepares the receiving replica when no serving pool is configured, returning scope=replica and omitting generation, expires_at_ms and status_url. This local work is request-bound and provides no replica affinity or retention lease; GET and DELETE return 404. With a serving pool, POST establishes durable intent, returning scope=pool and optionally waiting up to wait_ms; caller cancellation does not revoke accepted intent. Both POST modes return 202; only prepared sets ready=true. Pool preparation covers all live serving process incarnations at the observation point. Joining readers must prepare active current-placement leases; failed or obsolete leases report ready=false without blocking admission. Expiry releases warm retention. Publication freshness and search authority remain enforced. Preparation readiness alone does not guarantee a query latency or completeness result.

Path Parameters

collection_idRequired
string·min 1·max 128

Query Parameters

wait_ms
integer·min 0·max 10000·default 0

Optional bounded wait for pool preparation; accepted pool intent survives caller cancellation. Replica preparation always waits within the search request deadline.

Responses

DELETE /v2/collections/{collection_id}/warm

DELETE/v2/collections/{collection_id}/warm

POST prepares the receiving replica when no serving pool is configured, returning scope=replica and omitting generation, expires_at_ms and status_url. This local work is request-bound and provides no replica affinity or retention lease; GET and DELETE return 404. With a serving pool, POST establishes durable intent, returning scope=pool and optionally waiting up to wait_ms; caller cancellation does not revoke accepted intent. Both POST modes return 202; only prepared sets ready=true. Pool preparation covers all live serving process incarnations at the observation point. Joining readers must prepare active current-placement leases; failed or obsolete leases report ready=false without blocking admission. Expiry releases warm retention. Publication freshness and search authority remain enforced. Preparation readiness alone does not guarantee a query latency or completeness result.

Path Parameters

collection_idRequired
string·min 1·max 128

Responses

GET /v2/workspaces/{workspace_id}/collections

GET/v2/workspaces/{workspace_id}/collections

List accessible collections. A bounded scan can return a short or empty page with a next_cursor. Continue until next_cursor is null; page length is not a total count. Each page reevaluates current access.

Path Parameters

workspace_idRequired
string·min 1·max 128

Query Parameters

cursor
string·min 1·max 512

Opaque encrypted continuation cursor, bound to the principal, workspace and group filter. Expires after 15 minutes. A short or empty page may have a next_cursor; only a null cursor means exhaustion. Changing limit is safe.

limit
integer·min 1·max 200·default 50

Maximum items to return in one page.

group_id
string <uuid>

Only return accessible collections assigned to this exact group. Does not include child groups.

Responses

POST /v2/workspaces/{workspace_id}/collections

POST/v2/workspaces/{workspace_id}/collections

Public Nebula SDK contract for collections.create.

Path Parameters

workspace_idRequired
string·min 1·max 128

Request Body

application/json
collection_idRequired
string <uuid>
group_id
string <uuid>
metadata
object
nameRequired
string·min 1·max 255

Responses