Find who knows a topic
curl --request GET \ --url 'https://example.com/api/v1/relations/experts?q=example' \ --header 'Authorization: Bearer <token>'Searches the tasks the caller reaches for the topic, by meaning and words, and ranks the active team members on them by hours logged, assignments and comments. Needs tasks.view and time.view_all. Individual performance never reaches a client surface. Team members only; a client account is refused.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”The topic, as search text.
The topic, as search text.
How many members; 10 when omitted.
How many members; 10 when omitted.
Responses
Section titled “Responses”The members, best first.
object
object
object
Hours logged on the matching tasks.
Location of the record, relative to the workspace’s /app/ base.
Matching tasks the member touched.
object
Location of the record, relative to the workspace’s /app/ base.
Tasks that matched the topic; the evidence is read from these only.
Whether the search matched by meaning as well.
Example generated
{ "data": { "experts": [ { "assignedTasks": 1, "comments": 1, "hours": 1, "memberId": "example", "name": "example", "path": "example", "tasks": 1, "topTasks": [ { "id": "example", "label": "example", "path": "example" } ] } ], "matchedTasks": 1, "semantic": true }}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