Skip to main content
PUT
Update a Saved Query
Send the query’s full representation, since the request replaces the stored definition.
The spec does not document error responses for this endpoint beyond 401, so the causes aren’t listed with the responses here. Errors still arrive in the ProblemDetails envelope the rest of the Raise API uses — handle a rejected request (400), and a path ID that doesn’t resolve (404), as you would on any other endpoint.

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Example: "Authorization: Bearer {token}"

Path Parameters

id
integer<int64>
required

The ID of the query to update.

Body

The updated query details.

queryId
integer<int64>

The unique identifier of the saved query.

name
string | null

The name of the saved query.

queryType
enum<integer>

The type of record the query returns, such as Donor or Gift.

Available options:
0,
1,
2,
3,
4,
5,
6,
7,
8,
9
groups
object[] | null

The groups of conditions that make up the query. Groups are combined by each group's conjunct.

selectedColumns
string[] | null

The result columns the query returns.

Response

OK

Last modified on July 28, 2026