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

Grants

Create grant

post

Creates a new grant for the specified data structure.

Path parameters
data_structure_idstringRequired

Data Structure external ID

Body
Responses
201

Grant created

application/json
post/api/data_structures/{data_structure_id}/grants

Search grants for current user

post

Searches grants owned by or visible to the current user.

Body
pageintegerOptionalDefault: 0
querystring · nullableOptional
scrollstring · nullableOptional
scroll_idstring · nullableOptional
sizeintegerOptionalDefault: 20
sortstring · nullableOptional
Other propertiesanyOptional
Responses
200

Grant search response

application/json
scroll_idstring · nullableOptional
post/api/grants/search/mine

Get available grant filters

post

Returns available grant filters for the caller based on permissions and provided search criteria.

Body
pageintegerOptionalDefault: 0
querystring · nullableOptional
scrollstring · nullableOptional
scroll_idstring · nullableOptional
sizeintegerOptionalDefault: 20
sortstring · nullableOptional
Other propertiesanyOptional
Responses
200

Available filters

application/json
post/api/grant_filters/search

Get grant by ID

get

Retrieves the grant with the given ID, including allowed actions for the current user.

Path parameters
idintegerRequired

Grant ID

Responses
200

Grant retrieved

application/json
get/api/grants/{id}

Update grant

put

Updates the specified grant using the provided action or grant payload.

Path parameters
idintegerRequired

Grant ID

Body
actionstring · enumOptional

Action to perform (optional, when action instead of grant update)

Possible values:
Responses
200

Grant updated

application/json
put/api/grants/{id}

Delete grant

delete

Deletes the grant identified by the given ID.

Path parameters
idintegerRequired

Grant ID

Responses
204

Grant deleted

No content

delete/api/grants/{id}

No content

Update grant

patch

Updates the specified grant using the provided action or grant payload.

Path parameters
idintegerRequired

Grant ID

Body
actionstring · enumOptional

Action to perform (optional, when action instead of grant update)

Possible values:
Responses
200

Grant updated

application/json
patch/api/grants/{id}

Reindex all grants

get

Schedules a full reindex of grants and returns 202 Accepted when the job is enqueued.

Responses
202

Reindexing accepted

No content

get/api/grants/search/reindex_all

No content

Get available grant filters for current user

post

Returns available grant filters for grants associated with the current user, based on their permissions and provided search criteria.

Body
pageintegerOptionalDefault: 0
querystring · nullableOptional
scrollstring · nullableOptional
scroll_idstring · nullableOptional
sizeintegerOptionalDefault: 20
sortstring · nullableOptional
Other propertiesanyOptional
Responses
200

Available filters

application/json
post/api/grant_filters/search/mine

List all active grants

get

Returns all active grants visible to the current user.

Responses
200

List of grants

application/json
get/api/grants

Bulk create, update and delete grants

put

Accepts a bulk grants payload. Supports 'add', 'update' and 'remove' operations. Each operation is processed independently: the endpoint always responds with 200 and reports per-item failures in the errors array rather than failing the whole batch.

Body
Responses
200

Grants processed

application/json
created_idsinteger[]Required

IDs of grants created by 'add' operations

idsinteger[]Required

IDs of all successfully processed grants (created, updated and removed combined)

removed_idsinteger[]Required

IDs of grants deleted by 'remove' operations

updated_idsinteger[]Required

IDs of grants modified by 'update' operations

put/api/grants_bulk

Bulk create, update and delete grants

patch

Accepts a bulk grants payload. Supports 'add', 'update' and 'remove' operations. Each operation is processed independently: the endpoint always responds with 200 and reports per-item failures in the errors array rather than failing the whole batch.

Body
Responses
200

Grants processed

application/json
created_idsinteger[]Required

IDs of grants created by 'add' operations

idsinteger[]Required

IDs of all successfully processed grants (created, updated and removed combined)

removed_idsinteger[]Required

IDs of grants deleted by 'remove' operations

updated_idsinteger[]Required

IDs of grants modified by 'update' operations

patch/api/grants_bulk

Search grants by permissions

post

Searches grants using the provided criteria and returns results filtered by the current user's permissions.

Body
pageintegerOptionalDefault: 0
querystring · nullableOptional
scrollstring · nullableOptional
scroll_idstring · nullableOptional
sizeintegerOptionalDefault: 20
sortstring · nullableOptional
Other propertiesanyOptional
Responses
200

Grant search response

application/json
scroll_idstring · nullableOptional
post/api/grants/search

Download grants as XLSX

post

Generates an XLSX file containing grant data matching the request filters.

Body
pageintegerOptional
search_bystring · enumRequiredPossible values:
sizeintegerOptional
Responses
200

XLSX file downloaded

application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
string · binaryOptional
post/api/grants/xlsx/download

Last updated