Search one platform source: memory, conversations, the trace library, memory notes, files, meeting notes, skills or agents [read]
Changed onSearches one platform-owned source in the workspace your key is in. Restricted and delegated callers are refused. The consumer app's /api/context/search merges every source (including imports, artifacts and the Help Center) under the same grammar; use it to search everything at once. q is plain words (one case-insensitive substring, one hit per item), "an exact phrase" (case-sensitive, every matching line) or /a regex/ with optional i, s or u flags (every matching line). Nested repetition and backreferences are refused, and a pattern stops at a time budget with partial=true. Each hit carries path (such as skills/review/SKILL.md) and, for a match in the text, its 1-based line. Results are in stable source order, not a relevance ranking. Follow nextCursor until null and inspect partial/coverage before concluding no match exists. Memory entries have no per-entry timestamps, so their coverage reports that time filtering does not apply.
Request
- Base URLhttps://api.agentsky.dev/v1
- URLhttps://api.agentsky.dev/v1/context/search
- AuthHTTP bearer
Query parameters
The source: traces is the current workspace's trace library (every member's uploaded local agent sessions); notes the workspace's memory-store notes; files and meetings its uploaded files (meetings is the Mac app's meeting notes); skills every file of its skills; agents each agent's name and prompt.
Keep only hits under this folder, such as skills/review/ or memory/sales/.
Source continuation returned by this query.
Inclusive lower time bound.
Exclusive upper time bound; must follow since.
Response
A bounded source page, with continuation and coverage.
Changes
- breaking
added
subschema #5subschema #6subschema #7subschema #8subschema #9subschema #10to the///response propertyoneOflist for the response status - warning
added the new
agentsenum value to the///response property for the response status - warning
added the new
docsenum value to the///response property for the response status - warning
added the new
filesenum value to the///response property for the response status - warning
added the new
meetingsenum value to the///response property for the response status - warning
added the new
notesenum value to the///response property for the response status - warning
added the new
skillsenum value to the///response property for the response status - warning
added the new
tracesenum value to the///response property for the response status - info
added the new optional
queryrequest parameterpath - info
added the new enum value
agentsto thequeryrequest parameterscope - info
added the new enum value
filesto thequeryrequest parameterscope - info
added the new enum value
meetingsto thequeryrequest parameterscope - info
added the new enum value
notesto thequeryrequest parameterscope - info
added the new enum value
skillsto thequeryrequest parameterscope - info
added the new enum value
tracesto thequeryrequest parameterscope - info
added the media type
application/jsonfor the response with the status - info
added the media type
application/jsonfor the response with the status - info
added the media type
application/jsonfor the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status
- breaking