ApolloManagementClient is the server-side client for operating your
workspace. It authenticates with your organization API key, sent as the
x-organization-api-key header on every request — never expose the key in
the browser.
All methods are async, fully typed, and throw typed
errors on failure. Request and response
models are exported under the Apollo namespace.
Projects
Agents
Agent versions
Threads
filters supports project_id, agent_id, user_id, external_id,
created (one value, or two for a range), tool, rule, and param.
Prefer a filter such as project_id over an empty filters object — the
unfiltered list sorts every thread in the organization and can be slow. For
large windows, raise the per-call timeout:
client.threads.listThreads({ filters }, { timeoutInSeconds: 120 }).
List methods return a page: results plus meta cursors.
Every method also accepts a final requestOptions argument
(timeoutInSeconds, maxRetries, abortSignal, extra headers) — see
Best practices.