HTTP API
Connections and your own servers
3 routes your API key can call. Each says who may call it; every example assumes KEY is your API key. What only the dashboard does (signing in, making API keys, connecting accounts) isn't listed here: it's in the full OpenAPI spec.
/v1/connectorsEvery provider and how to connect it (bounded reference data, not paged); people and API keys
People and API keys
Read-only. Connecting is for signed-in people.
Answer · 200
connectorsobject[]requiredproviderstringnamestringkind"sandbox" | "memory"sandbox: a provider of sandboxes; memory: long-term memory (Supermemory), one per workspace
method"oauth" | "api_key" | "aws_role" | "selfhost"aws_role: connect with …/connections/aws/startand …/finish; selfhost: with …/connections/selfhost/start(the workspace owner only)availablebooleanfalse for an OAuth provider whose app is not set up, AWS when this Annex has no template or AWS identity configured, your own server when this Annex can't connect one, or a provider Annex can't start sandboxes on yet (Modal)
early_accessbooleantrue for a connector that works but is new and little tried (your own server: tested against stand-ins, not yet on many real servers); the dashboard shows it with an Early access badge
notestringfieldsobject[]What to paste in; empty for oauth
curl -X GET 'https://annex.eversonder.com/v1/connectors' \
-H 'Authorization: Bearer anx_live_…'/v1/workspaces/{wid}/connectionsOne page of the workspace's connected provider accounts, newest first. Secrets are never returned.
People and API keys
| Parameter | In | Type | About |
|---|---|---|---|
wid | Inpath | Typestring | AboutWorkspace id |
page? | Inquery | Typeinteger | AboutA missing or invalid page is 1 |
perPage? | Inquery | Typeinteger | AboutHeld between 1 and 100 |
Answer · 200
connectionsConnection[]requiredidstringproviderstringmethod"oauth" | "api_key" | "aws_role" | "selfhost"labelstringFor AWS: "<stack> in <region>"; for your own server, the name given, else the server's own
hintstringLast 4 characters of the key or token (for AWS, of the account ID); empty when the key is too short to spare them
status"connected"created_atstringlast_used_atstring | nullmax_vcpuinteger | nullvCPUs at once, set by a person, for the planner; null: not set (AWS assumes 5)
max_sandboxesinteger | nullSandboxes at once, set by a person, for the planner; null: not set
hourly_rate_microsinteger | nullYour own server only: what the whole server costs you an hour; null for every other provider
regionstring | nullYour own server only: the Annex region it is in; null when not said, and for every other provider
key_problemstringWhat the provider said the last time Annex checked the key (POST …
/connections/{id}/check); '' when it worked or was never checkedkey_checked_atstring | nullWhen the key was last checked or replaced; null when not since connecting
detectedobjectWhat the provider reported (Accounts metrics); plans use it where the person set nothing
metaMetarequiredpageintegertotalintegerItems matching, across all pages
pageCountintegerceil(total / perPage)
perPageinteger
curl -X GET 'https://annex.eversonder.com/v1/workspaces/wsp_…/connections' \
-H 'Authorization: Bearer anx_live_…'/v1/workspaces/{wid}/connections/{id}/checkAsk the provider whether a connection's key still works
People and API keys
A provider can revoke or expire a key without telling Annex. This asks it, as connecting does, and keeps the answer on the connection: key_problem is what the provider said ('' when the key works), key_checked_at when. At most once a minute a connection (429). Cloudflare's check would deploy annex-runner again, so it answers 422; replace its key instead. Any member or API key.
| Parameter | In | Type | About |
|---|---|---|---|
wid | Inpath | Typestring | AboutWorkspace id |
id | Inpath | Typestring | About |
Answer · 200
connectionConnectionrequiredidstringproviderstringmethod"oauth" | "api_key" | "aws_role" | "selfhost"labelstringFor AWS: "<stack> in <region>"; for your own server, the name given, else the server's own
hintstringLast 4 characters of the key or token (for AWS, of the account ID); empty when the key is too short to spare them
status"connected"created_atstringlast_used_atstring | nullmax_vcpuinteger | nullvCPUs at once, set by a person, for the planner; null: not set (AWS assumes 5)
max_sandboxesinteger | nullSandboxes at once, set by a person, for the planner; null: not set
hourly_rate_microsinteger | nullYour own server only: what the whole server costs you an hour; null for every other provider
regionstring | nullYour own server only: the Annex region it is in; null when not said, and for every other provider
key_problemstringWhat the provider said the last time Annex checked the key (POST …
/connections/{id}/check); '' when it worked or was never checkedkey_checked_atstring | nullWhen the key was last checked or replaced; null when not since connecting
detectedobjectWhat the provider reported (Accounts metrics); plans use it where the person set nothing
curl -X POST 'https://annex.eversonder.com/v1/workspaces/wsp_…/connections/id/check' \
-H 'Authorization: Bearer anx_live_…'