Reference
Search
Quick search across tasks, pages, projects, spaces and people, cut to what the token's person and its scopes may open.
Quick search
/orgs/{org}/searchScope: filters:read
Searches the organisation as quick search does, cut to what the token's person may open (a restricted page, a task they can't see and someone else's draft are never found) and to the token's scopes: tasks need tasks:read, pages and spaces docs:read, projects projects:read, people people:read. q holds the words; kind picks task, page, project and space (several with commas; all the token can read by default) or person on its own (the People directory's search); project or space keeps to one (a project or space the person can't open finds nothing). Results come best match first, then the most recently updated. For Advanced search over tasks, use GET /tasks with q in the query language.
Path parameters
orgstringRequiredThe organisation's id (or its address name).
1 to 100 characters
The id comes from List organisations.
Query parameters
qstringRequiredThe words to find.
at most 500 characters
kindstringtask, page, project, space (several with commas), or person on its own.
at most 100 characters
projectstringA project's key or id.
at most 60 characters
spacestringA space's key or id.
at most 60 characters
limitintegerHow many results a page holds, 1 to 50 (25 by default, as the app's pages).
from 1 to 50; default 25
cursorstringat most 1000 characters
countstringone of: true, false
fieldsstringOnly these fields, comma-separated: kind, id, title, snippet, key, content_kind, project, space, labels, draft, updated_at. id always comes; the fields not asked for are left out, required or not.
Answer
200 OK
Headers: X-Request-Id, RateLimit-Limit, RateLimit-Remaining, RateLimit-Reset
Show the answer's fields
itemsarray of SearchResultRequiredShow 11 fields
kindstringRequiredone of: task, page, project, space, person
idstring (uuid)RequiredtitlestringRequiredA task's summary, a page's title, a person's name…
snippetstringRequiredUp to 200 characters around the first match (a person: their job title).
keystring or nullRequiredA task's or project's key.
content_kindstring or nullRequiredA page's kind: page, live_doc or blog_post.
projectProjectRef or nullRequiredShow 3 fields
idstring (uuid)RequiredkeystringRequirednamestringRequired
spaceDocsSpaceRef or nullRequiredShow 3 fields
idstring (uuid)RequiredkeystringRequirednamestringRequired
labelsarray of stringRequireddraftbooleanRequiredupdated_atstring (date-time) or nullRequired
next_cursorstring or nullRequiredPass as cursor to read the next page; null on the last page.
totalintegerThe number of items in the whole list, with count=true.
Errors
400
invalidinvalid: A value is wrong or missing, or a parameter is unknown. Every problem is in details.{ "error": { "code": "invalid", "message": "A value is wrong or missing, or a parameter is unknown. Every problem is in details.", "status": 400, "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b" } }401
invalid_tokeninvalid_token: No token was sent, or it is wrong, expired or revoked, or its person is no longer a member (or is now a guest).{ "error": { "code": "invalid_token", "message": "No token was sent, or it is wrong, expired or revoked, or its person is no longer a member (or is now a guest).", "status": 401, "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b" } }403
insufficient_scopeinsufficient_scope: The token doesn't have the scope this call needs (named in WWW-Authenticate). api_off: The organisation's admins have switched the API off. suspended: projqo has suspended the organisation. refused: The token's person can see the thing but may not do this; the message says why.{ "error": { "code": "insufficient_scope", "message": "The token doesn't have the scope this call needs (named in WWW-Authenticate).", "status": 403, "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b" } }404
not_foundnot_found: Nothing is at this address, or the token's person can't see it: the answer is the same.{ "error": { "code": "not_found", "message": "Nothing is at this address, or the token's person can't see it: the answer is the same.", "status": 404, "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b" } }429
rate_limitedrate_limited: Too many calls in this minute, for the token or for the whole organisation.{ "error": { "code": "rate_limited", "message": "Too many calls in this minute, for the token or for the whole organisation.", "status": 429, "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b" } }500
internalinternal: Something went wrong on projqo's side (never your mistake).{ "error": { "code": "internal", "message": "Something went wrong on projqo's side (never your mistake).", "status": 500, "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b" } }
Request
curl -X GET "https://projqo.example/api/v1/orgs/{org}/search?q=string" \
-H "Authorization: Bearer $PROJQO_TOKEN"const res = await fetch("https://projqo.example/api/v1/orgs/{org}/search?q=string", {
method: "GET",
headers: {
Authorization: `Bearer ${process.env.PROJQO_TOKEN}`,
},
});
console.log(res.status, await res.json());import os
import requests
res = requests.get(
"https://projqo.example/api/v1/orgs/{org}/search?q=string",
headers={"Authorization": f"Bearer {os.environ['PROJQO_TOKEN']}"},
)
print(res.status_code, res.json())Sample answer 200
{
"items": [
{
"kind": "task",
"id": "2c3d4e5f-6a7b-4c8d-9e0f-1a2b3c4d5e6f",
"title": "Fix the sign-in page",
"snippet": "The sign-in page loses the address after…",
"key": "WEB-12",
"content_kind": null,
"project": {
"id": "0a1b2c3d-4e5f-4a6b-8c7d-8e9f0a1b2c3d",
"key": "WEB",
"name": "Website"
},
"space": null,
"labels": [
"frontend"
],
"draft": false,
"updated_at": "2026-12-01T10:15:00.000Z"
}
],
"next_cursor": null
}