For the complete documentation index, see llms.txt. This page is also available as Markdown.

Private Spaces

The following endpoints allow you to manage private spaces in your organization.

List private spaces

get
/private-spaces

Gets the list of private spaces in the organization with specified organizationId.

Required scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired

Authorize the API call with your API token in the Authorization header with the value: Token your-api-token.

If you don't have an API token yet, please refer to the "Authentication" section to learn how to create one.

Query parameters
organizationIdintegerRequired

The ID of the organization.

Example: 1
externalIdstringOptional

Filter private spaces by external ID.

Example: 42
pg[sortBy]stringOptional

The value that will be used to sort returned entities by.

pg[offset]integerOptional

The value of entities you want to skip before getting entities you need.

pg[sortDir]string · enumOptional

The sorting order. It accepts the ascending and descending direction specifiers.

Possible values:
pg[limit]integerOptional

Sets the maximum number of results per page in the API call response. For example, pg[limit]=100. The default number varies with different API endpoints.

Responses
200

Successful response

application/json
get/private-spaces
200

Successful response

Get a private space

get
/private-spaces/{privateSpaceId}

Returns the details of a single private space. Requires the personal team own view organization permission. Non-members receive a 404.

Required scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired

Authorize the API call with your API token in the Authorization header with the value: Token your-api-token.

If you don't have an API token yet, please refer to the "Authentication" section to learn how to create one.

Path parameters
privateSpaceIdintegerRequired

The ID of the private space.

Example: 10
Query parameters
Responses
200

Successful response

application/json
get/private-spaces/{privateSpaceId}
200

Successful response

Update a private space

patch
/private-spaces/{privateSpaceId}

Updates a private space. Currently supports changing the operations limit (credit limit). Requires the personal team manage organization permission.

Required scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired

Authorize the API call with your API token in the Authorization header with the value: Token your-api-token.

If you don't have an API token yet, please refer to the "Authentication" section to learn how to create one.

Path parameters
privateSpaceIdintegerRequired

The ID of the private space.

Example: 10
Query parameters
confirmedbooleanOptional

When true, confirms the operation even if the new limit is below the current consumption. This will pause the private space.

Body
operationsLimitinteger · nullableOptional

Optional. The new operations limit for the private space. Transfer limit is auto-calculated. Set to null to remove limits, omit to leave unchanged.

Example: 10000
Responses
200

Successful response

application/json
patch/private-spaces/{privateSpaceId}
200

Successful response

Last updated