List Harbor Contexts

Beta

Lists context document metadata for a Harbor without returning document content.

Collection items omit content. Use the context item endpoint to retrieve a complete document.

A Harbor profile credential can read context only when harbor_id identifies its own Harbor.

Authentication

AuthorizationBearer
Bearer user API key
OR
AuthorizationBasic

Basic organization-scoped API key

Path parameters

harbor_idstringRequiredformat: "uuid"
Unique identifier of the Harbor.

Headers

X-Polytomic-VersionstringOptional

Query parameters

limitintegerOptional1-50Defaults to 50
Maximum number of context documents to return. Defaults to 50 and cannot exceed 50.
page_tokenstringOptional
Opaque pagination cursor returned by the previous request.

Response

OK
datalist of objects or nullOptional
paginationobjectOptional

Errors

403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error
500
Internal Server Error