Skip to main content
POST
Search People

Authorizations

Authorization
string
header
required

Workspace API key as a bearer token: Authorization: Bearer ish_sk_live_.... Keys are workspace-scoped machine principals minted in Settings > Developers (shown once at mint). Scopes: sessions:run (create a session, submit turns, close), sessions:read (read the session and its decision trace), environments:read and environments:write (manage the workspace's registered environments), tasks:read and tasks:write (manage the workspace's registered tasks), people:read and people:write (the people the workspace can run a session for), and usage:read (the workspace's own consumption, spend limits and rate-limit budgets). A key is minted with sessions:run, sessions:read, and tasks:read by default; every other scope must be requested, people:read and usage:read included. An ish user access token also works on the same header for personal scripts.

Path Parameters

workspace_id
string<uuid>
required

Body

application/json

A capped rule-tree query over the workspace's reachable people.

Unknown keys are rejected rather than ignored: a typo in a filter that silently widened the result set would be indistinguishable from a match.

archived
boolean
default:false

false (the default) searches live people; true searches the archive instead. The two sets are disjoint, so this selects which one you are searching rather than widening the search.

generation_job_id
string<uuid> | null

Restrict to the people one generation job produced. Reads its own writes: a person is visible here the moment the job records them.

owner
enum<string> | null

Restrict to one owner. Omitted returns both, which is the set you can open a session for.

Available options:
self,
platform
pagination
PublicPersonSearchPagination · object

Keyset pagination, in the body because the query is.

rule
Rule · object | null

A boolean tree of filters. See the endpoint description for the grammar, the caps, and a worked example.

search
string | null

Case-insensitive substring match on the person's name.

Maximum string length: 200

Response

Successful Response

A keyset-paginated page of people.

Ordered created_at DESC, id DESC, the same order and the same envelope as the session list, so one pagination helper in an SDK drives both.

has_more
boolean
required

True when more people exist beyond this page.

items
PublicPersonResponse · object[]
required
next_cursor
string | null
required

Opaque keyset cursor for the next page (pass as after); null on the final page.