How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

OpenProject Queries API

A query defines how work packages can be filtered and displayed.Clients can define a query once, store it, and use it later on to load the same set of filters and display options.## Actions| Link | Description | Condition ||:-------------------:|----------------------------------------------------------------------| --------------------------------------- || star | Elevates the query to the status of 'starred' | **Permission**: save queries for own queries, manage public queries for public queries; Only present if query is not yet starred || unstar | Removes the 'starred' status | **Permission**: save queries for own queries, manage public queries for public queries; Only present if query is starred || update | Use the Form based process to verify the query before persisting | **Permission**: view work packages || updateImmediately | Persist the query without using a Form based process for guidance | **Permission**: save queries for own queries, manage public queries for public queries; |## Linked Properties| Property | Description | Type | Constraints | Supported operations || :--------------------: | ------------------------------------------------------ | --------------------- | ------------------------------------------- | -------------------- || self | This query | Query | not null | READ || user | The user that owns this query | User | not null | READ || project | The project on which this query operates | Project | | READ || columns | Ordered list of QueryColumns. The columns, when mapped to WorkPackage properties determine which WorkPackage properties to display | []QueryColumn | | READ || highlightedAttributes | **Only with valid Enterprise Token available:** List of QueryColumns that should get highlighted when `highlightingMode` is set to `inline`. | []QueryColumn | | READ || sortBy | Ordered list of QuerySortBys. Indicates the WorkPackage property the results will be ordered by as well as the direction | []QuerySortBy | | READ || groupBy | The WorkPackage property results of this query are grouped by | String | | READ || results | The list of work packages returned by applying the filters, sorting and grouping defined in the query | WorkPackageCollection | | READ || schema | This query's schema | Schema | | READ |Please note, that all the properties listed above will also be embedded when individual queries are returned but will not be embedded when a list of queries is returned. Whether the properties are embedded or not may be subject to change in the future.The `columns` and `highlightedAttributes` properties will be moved into `Views::WorkPackagesTable` so it is deprecated to have it listed within the Query directly.## Local Properties| Property | Description | Type | Constraints | Supported operations || :--------------: | -------------------------------------------------------------------------------------------------------- | --------------------- | ----------------------------------------------------------------------------------- | -------------------- || id | Query id | Integer | x > 0 | READ || name | Query name | String | | READ/WRITE || filters | A set of QueryFilters which will be applied to the work packages to determine the resulting work packages| []QueryFilterInstance | | READ/WRITE || sums | Should sums (of supported properties) be shown? | Boolean | | READ/WRITE || timelineVisible | Should the timeline mode be shown? | Boolean | | READ/WRITE || timelineLabels | Which labels are shown in the timeline, empty when default | QueryTimelineLabels | | READ/WRITE || timelineZoomLevel| Which zoom level should the timeline be rendered in? | String | days, weeks, months, quarters, years | READ/WRITE || timestamps | The timestamps to filter by when showing changed attributes on work packages.| []Timestamp | | **Values older than 1 day are accepted only with valid Enterprise Token available.**| READ/WRITE || highlightingMode | Which highlighting mode should the table have? | String | none, inline, status, priority, type | READ/WRITE || showHierarchies | Should the hierarchy mode be enabled? | Boolean | | READ/WRITE || hidden | Should the query be hidden from the query list? | Boolean | | READ/WRITE || public | Can users besides the owner see the query? | Boolean | | READ/WRITE || starred | Should the query be highlighted to the user? | Boolean | | READ || createdAt | Time of creation | DateTime | not null | READ || updatedAt | Time of the most recent change to the query | DateTime | not null | READ |A query that is not assigned to a project (`"project": null`) is called a global query. Global queries filter work packages regardless of the project they are assigned to. As such, a different set of filters exists for those queries.The `hidden` property is deprecated as it is replaced by the `Views` concept. A query that isn't hidden will have a `View` while a query that is hidden won't.The `timelineVisible`, `timelineLabels`, `timelineZoomLevel`, `highlightingMode` and `showHierarchies` properties will be moved into the more appropriate Views (probably `Views::WorkPackagesTable`) so it is deprecated to have them within the Query directly.## Query Filter InstanceA QueryFilterInstance defines a filtering applied to the list of work packages. As such it contains:* the filter type (`QueryFilter`) used* the operator (`QueryOperator`) used* the list of valuesThe list of values can either consist of a list of links or of a list of strings. If the values are primitive (e.g. Integer, Boolean, Date) they will be displayed as strings and the QueryFilterInstance will have a `values` property.```json { "_type": "DueDateQueryFilter", "name": "Finish date", "values": [ "1" ], "_links": { "filter": { "href": "/api/v3/queries/filters/dueDate", "title": "Finish date" }, "operator": { "href": "/api/v3/queries/operators/

OpenProject Queries API is one of 62 APIs that OpenProject publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Query. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

This API exposes 16 operations across 13 paths, and defines 14 schemas. It is described by OpenAPI 3.1.2, at version 3.

Requests are made against 3 base URLs: https://qa.openproject-edge.com, https://qa.openproject-stage.com, https://community.openproject.org.

16 operations 13 paths 14 schemas 1 DELETE9 GET3 PATCH3 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.2
API Version
3
Base URL
https://community.openproject.org/api/v3
Authentication
HTTP Basic
Resource Areas
1

Authentication & Security 1

OpenProject Queries API declares 1 security scheme for authenticating requests. It accepts HTTP basic authentication (BasicAuth). By default, every request must be authenticated.

Paths & Operations 16

Across 13 paths, the API surfaces 16 operations — 1 DELETE, 9 GET, 3 PATCH, 3 POST. Each is listed below with its method, path, parameters, and response codes.

Queries 16

A query defines how work packages can be filtered and displayed. Clients can define a query once, store it, and use it later on to load the same set of filters and display options…

GET
/api/v3/projects/{id}/queries/default
View default query for project
View_default_query_for_project 10 params → 200403404
GET
/api/v3/projects/{id}/queries/schema
View schema for project queries
View_schema_for_project_queries 1 param → 200403
GET
/api/v3/queries
List queries
List_queries 1 param → 200403
POST
/api/v3/queries
Create query
Create_query body → 201400406415422
GET
/api/v3/queries/available_projects
Available projects for query
Available_projects_for_query → 200403
GET
/api/v3/queries/default
View default query
View_default_query 10 params → 200403
POST
/api/v3/queries/form
Query Create Form
Query_Create_Form body → 200
GET
/api/v3/queries/schema
View schema for global queries
View_schema_for_global_queries → 200403
DELETE
/api/v3/queries/{id}
Delete query
Delete_query 1 param → 204403404
GET
/api/v3/queries/{id}
View query
View_query 14 params → 200404
PATCH
/api/v3/queries/{id}
Edit Query
Edit_Query 1 param body → 200400403404406415422
POST
/api/v3/queries/{id}/form
Query Update Form
Query_Update_Form 1 param body → 200
PATCH
/api/v3/queries/{id}/star
Star query
Star_query 1 param → 200400403404
PATCH
/api/v3/queries/{id}/unstar
Unstar query
Unstar_query 1 param → 200400403404406415
GET
/api/v3/workspaces/{id}/queries/default
View default query for workspace
View_default_query_for_workspace 10 params → 200403404
GET
/api/v3/workspace/{id}/queries/schema
View schema for workspace queries
View_schema_for_workspace_queries 1 param → 200403

Schemas 14

The contract defines 14 schemas that model the data the API accepts and returns. The most detailed are QueryModel (16 properties), Link (7 properties), ErrorResponse (4 properties), Query_Filter_Instance_Model (3 properties). Each schema is shown below with its type and property counts.

Available_projects_for_queryModel
object
Link
object
7 properties 1 required
Query_Filter_Instance_Model
object
3 properties 3 required
QueryModel
object
16 properties 2 required
Schema_For_Workspace_QueriesModel
object
Query_Create_Form
object
1 property
Default_QueryModel
object
Query_Update_Form
object
1 property
Schema_For_Global_QueriesModel
object
ErrorResponse
object
4 properties 3 required
Default_Query_for_WorkspaceModel
object
Star_QueryModel
object
QueriesModel
object
Unstar_QueryModel
object

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

openproject-queries-api-openapi.yml Raw ↑

Other APIs OpenProject publishes across the network.

OpenProject Actions & Capabilities API
OpenProject Activities API
OpenProject Attachments API
OpenProject Budgets API
OpenProject Categories API
OpenProject Collections API
OpenProject Configuration API
OpenProject Custom actions API
OpenProject Custom Field Items API
OpenProject Custom Fields API
OpenProject Custom Options API
OpenProject Documents API
Where this information came from

This is an independent, third-party profile of OpenProject Queries API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.