Admin
bearerAuthorizationBearer <token>Supabase access token (JWT) or personal API key (ga_…). A key gets 403 on a resource it has no access to, and on anything that changes data without write access. /admin/v1 takes only a Supabase access token from an MFA session (aal2).
The admin's Supabase user id and email
application/json- response
subject*stringemail*stringcurl -X GET 'https://example.com/admin/v1/me'{ "subject": "string", "email": "string"}bearerAuthorizationBearer <token>Supabase access token (JWT) or personal API key (ga_…). A key gets 403 on a resource it has no access to, and on anything that changes data without write access. /admin/v1 takes only a Supabase access token from an MFA session (aal2).
q?stringemail, user id or Supabase user id
Matching users
application/json- response
users*array<>curl -X GET 'https://example.com/admin/v1/users'{ "users": [ {} ]}bearerAuthorizationBearer <token>Supabase access token (JWT) or personal API key (ga_…). A key gets 403 on a resource it has no access to, and on anything that changes data without write access. /admin/v1 takes only a Supabase access token from an MFA session (aal2).
id*stringAccount, plan, library, search, access, webhooks, outbox and recent admin actions
application/json- response
curl -X GET 'https://example.com/admin/v1/users/string'{}bearerAuthorizationBearer <token>Supabase access token (JWT) or personal API key (ga_…). A key gets 403 on a resource it has no access to, and on anything that changes data without write access. /admin/v1 takes only a Supabase access token from an MFA session (aal2).
id*stringstage?stringcrawl or enrich
since?stringe.g. 7d, 12h, 30m
limit?integerdefault 50, at most 1000
Items (no titles; URLs cut to their host)
application/json- response
items*array<>curl -X GET 'https://example.com/admin/v1/users/string/failed-items'{ "items": [ {} ]}bearerAuthorizationBearer <token>Supabase access token (JWT) or personal API key (ga_…). A key gets 403 on a resource it has no access to, and on anything that changes data without write access. /admin/v1 takes only a Supabase access token from an MFA session (aal2).
id*stringWebhooks
application/json- response
webhooks*array<>curl -X GET 'https://example.com/admin/v1/users/string/webhooks'{ "webhooks": [ {} ]}Only before purge_after (or while the account is held). Withdraws a deletion the user asked for (no supabase_id), or unlocks a locked account onto supabase_id, the Supabase user id the person signs in with now.
bearerAuthorizationBearer <token>Supabase access token (JWT) or personal API key (ga_…). A key gets 403 on a resource it has no access to, and on anything that changes data without write access. /admin/v1 takes only a Supabase access token from an MFA session (aal2).
id*stringapplication/json- body
Every admin change. Unknown fields are refused.
reason*stringRecorded in admin_actions.
dry_run?booleanReport what would change and change nothing.
yes?booleanAllow touching more than 100 items.
supabase_id?stringuuidWhat the restore did (kind is request_withdrawn or unlocked)
application/json- response
user_id*stringkind*string"request_withdrawn""unlocked"supabase_id?stringdry_run?booleancurl -X POST 'https://example.com/admin/v1/users/string/restore' \ -H 'Content-Type: application/json' \ -d '{ "reason": "string"}'{ "user_id": "string", "kind": "request_withdrawn", "supabase_id": "string", "dry_run": true}Give item_ids, or user_id (queued on bulk). Items already pending are skipped.
bearerAuthorizationBearer <token>Supabase access token (JWT) or personal API key (ga_…). A key gets 403 on a resource it has no access to, and on anything that changes data without write access. /admin/v1 takes only a Supabase access token from an MFA session (aal2).
application/json- body
Every admin change. Unknown fields are refused.
reason*stringRecorded in admin_actions.
dry_run?booleanReport what would change and change nothing.
yes?booleanAllow touching more than 100 items.
stage?string"crawl""enrich"item_ids?array<string>items <= 10000user_id?stringfailed_only?booleanWhat changed, or with dry_run what would have
application/json- response
curl -X POST 'https://example.com/admin/v1/items/rerun' \ -H 'Content-Type: application/json' \ -d '{ "reason": "string"}'{}bearerAuthorizationBearer <token>Supabase access token (JWT) or personal API key (ga_…). A key gets 403 on a resource it has no access to, and on anything that changes data without write access. /admin/v1 takes only a Supabase access token from an MFA session (aal2).
image?booleanthe image queue
Depth, claims, errors and stale vectors
application/json- response
curl -X GET 'https://example.com/admin/v1/embed'{}Give exactly one of item_ids, user_id or errored. Rows being embedded now are left alone.
bearerAuthorizationBearer <token>Supabase access token (JWT) or personal API key (ga_…). A key gets 403 on a resource it has no access to, and on anything that changes data without write access. /admin/v1 takes only a Supabase access token from an MFA session (aal2).
application/json- body
Every admin change. Unknown fields are refused.
reason*stringRecorded in admin_actions.
dry_run?booleanReport what would change and change nothing.
yes?booleanAllow touching more than 100 items.
image?booleanitem_ids?array<string>items <= 10000user_id?stringerrored?booleanWhat changed, or with dry_run what would have
application/json- response
curl -X POST 'https://example.com/admin/v1/embed/retry' \ -H 'Content-Type: application/json' \ -d '{ "reason": "string"}'{}Give item_ids or user_id. Upserts the queue the way the items trigger does.
bearerAuthorizationBearer <token>Supabase access token (JWT) or personal API key (ga_…). A key gets 403 on a resource it has no access to, and on anything that changes data without write access. /admin/v1 takes only a Supabase access token from an MFA session (aal2).
application/json- body
Every admin change. Unknown fields are refused.
reason*stringRecorded in admin_actions.
dry_run?booleanReport what would change and change nothing.
yes?booleanAllow touching more than 100 items.
image?booleanitem_ids?array<string>items <= 10000user_id?stringWhat changed, or with dry_run what would have
application/json- response
curl -X POST 'https://example.com/admin/v1/embed/requeue' \ -H 'Content-Type: application/json' \ -d '{ "reason": "string"}'{}bearerAuthorizationBearer <token>Supabase access token (JWT) or personal API key (ga_…). A key gets 403 on a resource it has no access to, and on anything that changes data without write access. /admin/v1 takes only a Supabase access token from an MFA session (aal2).
type?stringtask type, e.g. item:enrich
errored?booleanolder_than?stringe.g. 10m
limit?integerRows (no payloads)
application/json- response
rows*array<>curl -X GET 'https://example.com/admin/v1/outbox'{ "rows": [ {} ]}bearerAuthorizationBearer <token>Supabase access token (JWT) or personal API key (ga_…). A key gets 403 on a resource it has no access to, and on anything that changes data without write access. /admin/v1 takes only a Supabase access token from an MFA session (aal2).
Unsent rows by type and age
application/json- response
curl -X GET 'https://example.com/admin/v1/outbox/status'{}Give ids or all_errored.
bearerAuthorizationBearer <token>Supabase access token (JWT) or personal API key (ga_…). A key gets 403 on a resource it has no access to, and on anything that changes data without write access. /admin/v1 takes only a Supabase access token from an MFA session (aal2).
application/json- body
Every admin change. Unknown fields are refused.
reason*stringRecorded in admin_actions.
dry_run?booleanReport what would change and change nothing.
yes?booleanAllow touching more than 100 items.
ids?array<>all_errored?booleanWhat changed, or with dry_run what would have
application/json- response
curl -X POST 'https://example.com/admin/v1/outbox/retry' \ -H 'Content-Type: application/json' \ -d '{ "reason": "string"}'{}bearerAuthorizationBearer <token>Supabase access token (JWT) or personal API key (ga_…). A key gets 403 on a resource it has no access to, and on anything that changes data without write access. /admin/v1 takes only a Supabase access token from an MFA session (aal2).
id*stringfailed?booleanlimit?integerDeliveries (no payloads)
application/json- response
deliveries*array<>curl -X GET 'https://example.com/admin/v1/webhooks/string/deliveries'{ "deliveries": [ {} ]}The user sees a fixed disabled_reason; the reason stays in the audit log.
bearerAuthorizationBearer <token>Supabase access token (JWT) or personal API key (ga_…). A key gets 403 on a resource it has no access to, and on anything that changes data without write access. /admin/v1 takes only a Supabase access token from an MFA session (aal2).
id*stringapplication/json- body
Every admin change. Unknown fields are refused.
reason*stringRecorded in admin_actions.
dry_run?booleanReport what would change and change nothing.
yes?booleanAllow touching more than 100 items.
What changed, or with dry_run what would have
application/json- response
curl -X POST 'https://example.com/admin/v1/webhooks/string/disable' \ -H 'Content-Type: application/json' \ -d '{ "reason": "string"}'{}Resets consecutive failures. Refused while the account is being deleted.
bearerAuthorizationBearer <token>Supabase access token (JWT) or personal API key (ga_…). A key gets 403 on a resource it has no access to, and on anything that changes data without write access. /admin/v1 takes only a Supabase access token from an MFA session (aal2).
id*stringapplication/json- body
Every admin change. Unknown fields are refused.
reason*stringRecorded in admin_actions.
dry_run?booleanReport what would change and change nothing.
yes?booleanAllow touching more than 100 items.
What changed, or with dry_run what would have
application/json- response
curl -X POST 'https://example.com/admin/v1/webhooks/string/enable' \ -H 'Content-Type: application/json' \ -d '{ "reason": "string"}'{}Refused for a pending delivery, a switched-off webhook, or an account being deleted.
bearerAuthorizationBearer <token>Supabase access token (JWT) or personal API key (ga_…). A key gets 403 on a resource it has no access to, and on anything that changes data without write access. /admin/v1 takes only a Supabase access token from an MFA session (aal2).
id*stringapplication/json- body
Every admin change. Unknown fields are refused.
reason*stringRecorded in admin_actions.
dry_run?booleanReport what would change and change nothing.
yes?booleanAllow touching more than 100 items.
What changed, or with dry_run what would have
application/json- response
curl -X POST 'https://example.com/admin/v1/webhook-deliveries/string/redeliver' \ -H 'Content-Type: application/json' \ -d '{ "reason": "string"}'{}bearerAuthorizationBearer <token>Supabase access token (JWT) or personal API key (ga_…). A key gets 403 on a resource it has no access to, and on anything that changes data without write access. /admin/v1 takes only a Supabase access token from an MFA session (aal2).
user_id?stringoperator?stringaction?stringa prefix, e.g. webhooks.
since?stringlimit?integerAudit rows
application/json- response
actions*array<>curl -X GET 'https://example.com/admin/v1/audit'{ "actions": [ { "id": "string", "operator": "string", "operator_id": "string", "action": "items.rerun", "user_id": "string", "target": {}, "details": {}, "reason": "string", "created_at": "2019-08-24T14:15:22Z" } ]}bearerAuthorizationBearer <token>Supabase access token (JWT) or personal API key (ga_…). A key gets 403 on a resource it has no access to, and on anything that changes data without write access. /admin/v1 takes only a Supabase access token from an MFA session (aal2).
Admins
application/json- response
admins*array<>curl -X GET 'https://example.com/admin/v1/admins'{ "admins": [ {} ]}