Organizations
List Organizations
GET/api/v2/organizations
Create Organization
POST/api/v2/organizations
Get Organization
GET/api/v2/organizations/{organization_id}
Update Organization
PUT/api/v2/organizations/{organization_id}
Delete Organization
DELETE/api/v2/organizations/{organization_id}
Get Organization Usage
GET/api/v1/organizations/{organization_id}/usage
ModelsExpand Collapse
UsageAndPlan object { plan, usage }
UsageAndPlan object { plan, usage }
plan: object { limits, name, plan_frequency, 10 more }
plan: object { limits, name, plan_frequency, 10 more }
limits: object { allow_pay_as_you_go, max_concurrent_index_jobs, max_concurrent_parse_jobs_other, 24 more }
limits: object { allow_pay_as_you_go, max_concurrent_index_jobs, max_concurrent_parse_jobs_other, 24 more }
credit_pack_rate_usd_cents_per_1k: optional number
credit_pack_rate_usd_cents_per_1k: optional number
US cents per 1,000 credits this organization pays for credit packs and auto-reloads now. Null when the plan buys no credits (Enterprise).
is_fallback: optional boolean
is_fallback: optional boolean
Whether the organization’s plan failed to load; if so, the other fields hold the default plan.
is_payment_failed: optional boolean
is_payment_failed: optional boolean
Whether the organization has a failed payment that requires support contact
payment_failures: optional array of object { failed_at, invoice_id }
payment_failures: optional array of object { failed_at, invoice_id }
The newest active payment failures, newest first, at most 10; failure_count counts all of them. Only set when requested with include=payment_failures.
usage: object { active_alerts, active_free_credits_usage, current_invoice_total_usd_cents, 2 more }
usage: object { active_alerts, active_free_credits_usage, current_invoice_total_usd_cents, 2 more }
Account usage totals shown alongside the plan.
active_alerts: optional array of "auto_reload_cap_reached" or "auto_reload_failed" or "configured_spend_limit_exceeded" or 6 more
active_alerts: optional array of "auto_reload_cap_reached" or "auto_reload_failed" or "configured_spend_limit_exceeded" or 6 more
active_free_credits_usage: optional array of object { expires_at, grant_name, remaining_balance, starting_balance }
active_free_credits_usage: optional array of object { expires_at, grant_name, remaining_balance, starting_balance }
OrganizationsUsers
Add Users To Organization
PUT/api/v1/organizations/{organization_id}/users
Remove Users From Organization
DELETE/api/v1/organizations/{organization_id}/users/{member_user_id}
Assign Role To User In Organization
PUT/api/v1/organizations/{organization_id}/users/roles
Add User To Project
PUT/api/v1/organizations/{organization_id}/users/{user_id}/projects
Remove User From Project
DELETE/api/v1/organizations/{organization_id}/users/{user_id}/projects/{project_id}