Skip to main content
POST
Search an entity

Authorizations

Authorization
string
header
required

An API key, starting ak_. Create one under Settings > MCP and API in Steerco.

Headers

X-Workspace-Id
string
required

The workspace id. GET /v1/workspaces lists yours.

Body

application/json
entityId
string
required

The entity ID to search within

query
string
required

Text to search for (case-insensitive)

entityType
string

Optional type hint for faster lookup (e.g. 'objectrecord', 'activity', 'ticket')

fields
string[]

Optional list of dot-paths to limit the search to specific fields (e.g. ['data.transcript']). When omitted, searches every string in the entity.

limit
number

Max matches to return (default 10)

Required range: 1 <= x <= 50
contextChars
number

Characters of surrounding context per match (default 200)

Required range: 0 <= x <= 1000

Response

The tool's result

status
enum<string>
required
Available options:
ok
result
any
cut
object

Present when the result was larger than about 25,000 tokens and Steerco cut it.