Search the workspace
curl --request GET \ --url 'https://example.com/api/v1/search?q=example' \ --header 'Authorization: Bearer <token>'Searches tasks, projects, companies, client people, members, orders, invoices, estimates, tickets, deals and contracts by text. A project is also found by any of its aliases, a company by its legal name or order prefix, an order by its code aliases, its company, or its linked projects, and an invoice as q on GET /invoices finds it: by its number, subject, company, or the name of one of the company’s users. Each resource is searched only when its module is on and the caller holds its view permission, and only the records the caller’s assignments reach are returned. Staff members only: a client member gets no results.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Text to find across the resources the caller can reach.
Text to find across the resources the caller can reach.
Comma-separated resource types to search: task, project, company, person, member, order, invoice, estimate, ticket, deal, contract, pull_request. All when omitted.
Comma-separated resource types to search: task, project, company, person, member, order, invoice, estimate, ticket, deal, contract, pull_request. All when omitted.
Hits per resource type.
Hits per resource type.
Responses
Section titled “Responses”Hits grouped by type in results.
object
object
object
Location of the record, relative to the workspace’s /app/ base; for a record that lives outside Chelsea (a pull request), its absolute address.
Absolute address of the record’s page, the same location as path. Absent on an older server.
Resource types that had more matches than limit.
Example
{ "data": { "results": [ { "type": "task" } ], "truncated": [ "task" ] }}Validation error. Parse failures include field paths and expectations.
Validation error with safe field paths and expected values; submitted values are never returned.
object
object
Stable machine-readable error code.
object
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Unauthorized.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Forbidden.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Rate limit exceeded. Wait for Retry-After before retrying.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Headers
Section titled “Headers”Maximum requests in the current quota window.
Quota policy in requests and window seconds, for example 60;w=60.
Requests left in this quota window (zero when blocked).
Seconds until the current quota window resets, when available from the rate-limit store.
Seconds until another request may be attempted.
Chelsea is operated by Arepa Labs LLC