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

Grant Requests

List grant requests

get

Returns grant requests visible to the current user, optionally filtered by group, user, status, or action.

Path parameters
grant_request_group_idintegerOptional

Grant request group ID (required only when accessing from group route)

Query parameters
userstring · enumOptional

Filter by current user (use 'me')

Possible values:
statusstringOptional

Filter by status

actionstringOptional

Filter by action (e.g., 'approve')

Responses
200

List of grant requests

application/json
permissionsstring[] · nullableOptional
get/api/grant_requests

Bulk approve grant requests

post

Approves or rejects multiple grant requests in bulk according to the provided approval parameters and returns created approvals.

Body
commentstring · nullableOptional

Optional comment

is_rejectionbooleanOptional

Whether this is a rejection

Default: false
rolestringRequired

Approval role

Responses
201

Grant request approvals created

application/json
post/api/grant_requests/bulk_approval

Reindex all grant requests

get

Triggers a full reindex of grant requests for search.

Responses
202

Reindexing accepted

No content

get/api/grant_requests/search/reindex_all

No content

List grant request groups

get

Returns grant request groups available to the current user, optionally filtered by a comma-separated list of IDs.

Query parameters
idsstringOptional

Comma-separated list of group IDs to filter

Responses
200

List of grant request groups

application/json
get/api/grant_request_groups

List grant requests

get

Returns grant requests visible to the current user, optionally filtered by group, user, status, or action.

Path parameters
grant_request_group_idintegerOptional

Grant request group ID (required only when accessing from group route)

Query parameters
userstring · enumOptional

Filter by current user (use 'me')

Possible values:
statusstringOptional

Filter by status

actionstringOptional

Filter by action (e.g., 'approve')

Responses
200

List of grant requests

application/json
permissionsstring[] · nullableOptional
get/api/grant_request_groups/{grant_request_group_id}/grant_requests

Download grant requests as XLSX

post

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

The payload mirrors POST /api/grant_requests/search so that the active view (Approve or Search) can be reused as-is. As in the search endpoint, the Approve view filters (Search.apply_approve_filters/1) are applied whenever the payload carries them, and the payload is used verbatim otherwise. Results are always restricted to the domains and structures the user can see, regardless of the payload.

Every record matching the query is exported, so the pagination and cursor properties of the search payload are ignored.

Body

Request body for POST /api/grant_requests/xlsx/download.

Mirrors GrantRequestSearchRequest so that the payload sent by the Manage grant requests view (Search or Approve) can be forwarded verbatim. Dynamic template fields are not listed here because the schema depends on the active templates at runtime; the headers for each dynamic column are returned in the same order produced by the server, prefixed by the eight fixed columns.

The download always exports every record matching the query, so the pagination and cursor properties of the search payload (page, size, scroll, scroll_id) are accepted but ignored.

langstring · nullableOptional

Locale used to translate the status and request type columns and the template fields. Defaults to the default locale.

Example: es
pageinteger · nullableOptional

Accepted and ignored.

querystring · nullableOptional
scrollstring · nullableOptional

Accepted and ignored.

scroll_idstring · nullableOptional

Accepted and ignored.

search_bystring · enumOptional

Accepted and ignored. The Approve view filters are applied whenever the payload carries them, as in the search endpoint.

Default: allPossible values:
sizeinteger · nullableOptional

Accepted and ignored.

Responses
200

XLSX file downloaded

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

Get grant request by ID

get

Retrieves the grant request with the specified ID.

Path parameters
idintegerRequired

Grant request ID

Responses
200

Grant request retrieved

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

Delete grant request

delete

Deletes the grant request identified by the provided ID.

Path parameters
idintegerRequired

Grant request ID

Responses
204

Grant request deleted

No content

delete/api/grant_requests/{id}

No content

Get available grant request filters

post

Returns the set of available filters for grant requests according to caller permissions and provided parameters.

Body
pageinteger · nullableOptional

Page number (0-indexed)

Default: 0
querystring · nullableOptional

Search query string

scrollstring · nullableOptional

Scroll ID for pagination (e.g., '1m' for 1 minute)

scroll_idstring · nullableOptional

Scroll ID to continue a previous search

sizeinteger · min: 1 · max: 100 · nullableOptional

Page size

Default: 20
Responses
200

Available filters

application/json
post/api/grant_requests_filters/search

Create grant request status

post

Creates or updates the status of a grant request for the given request ID.

Path parameters
grant_request_idintegerRequired

Grant request ID

Body
reasonstring · nullableOptional
statusstring · enumRequiredPossible values:
Responses
201

Grant request status created

application/json
post/api/grant_requests/{grant_request_id}/status

Search grant requests

post

Searches grant requests using the provided criteria and returns paginated results with total count and optional filters.

Body
pageinteger · nullableOptional

Page number (0-indexed)

Default: 0
querystring · nullableOptional

Search query string

scrollstring · nullableOptional

Scroll ID for pagination (e.g., '1m' for 1 minute)

scroll_idstring · nullableOptional

Scroll ID to continue a previous search

sizeinteger · min: 1 · max: 100 · nullableOptional

Page size

Default: 20
Responses
200

Grant request search response

application/json
_permissionsstring[] · nullableOptional

User permissions for the search results

scroll_idstring · nullableOptional

Scroll ID for pagination

post/api/grant_requests/search

Create grant request approval

post

Creates an approval record for the specified grant request.

Path parameters
grant_request_idintegerRequired

Grant request ID

Body
Responses
201

Grant request approval created

application/json
post/api/grant_requests/{grant_request_id}/approvals

Last updated