Organizations operations

Manage organizations.

Each operation below is reachable at POST /v1/op/{operation_id} or the resource path POST /v1/{resource}/{action}, with a Bearer token (a gpra_ API key or a session token). Back to the Operations Reference index.

organizations.commitments.list

List the org’s minimum commitments with server-computed burn-down + take-or-pay.

Scopeorders:read
Side-effectread
HTTPPOST /v1/op/organizations.commitments.list · POST /v1/organizations/commitments/list
Python / TypeScriptclient.organizations.commitments.list(…)
CLIgeopera organizations commitments list …

RequestCommitmentsListInput

FieldTypeRequiredDescription
commitment_idstring
include_line_itemsboolean

Response — a streaming or binary payload (NDJSON / file / tile). Call the HTTP endpoint directly; the JSON SDK return does not apply.

organizations.commitments.statement

Monthly enterprise statement: all activity (commitment lines flagged) + burn-down + settlement reconciliation.

Scopebilling:read
Side-effectread
HTTPPOST /v1/op/organizations.commitments.statement · POST /v1/organizations/commitments/statement
Python / TypeScriptclient.organizations.commitments.statement(…)
CLIgeopera organizations commitments statement …

RequestStatementInput

FieldTypeRequiredDescription
organization_idstringyes
periodstring

Response — a streaming or binary payload (NDJSON / file / tile). Call the HTTP endpoint directly; the JSON SDK return does not apply.

organizations.create

Create an organization and enroll the caller as its owner (self-serve onboarding).

Scopeorganizations:write
Side-effectcompute
HTTPPOST /v1/op/organizations.create · POST /v1/organizations/create
Python / TypeScriptclient.organizations.create(…)
CLIgeopera organizations create …

RequestOrganizationCreateInput

FieldTypeRequiredDescription
namestringyes
descriptionstring
websitestring
industrystring
sizestring
countrystring
abnstring
tax_numberstring
billing_emailstring
billing_admin_idstring
billing_addressobject
enterprise_billingboolean

ResponseOrganizationCreateOutput.

organizations.members.list

List an organization’s members with their roles and spend caps (organization admin).

Scopeorganizations:read
Side-effectread
HTTPPOST /v1/op/organizations.members.list · POST /v1/organizations/members/list
Python / TypeScriptclient.organizations.members.list(…)
CLIgeopera organizations members list …

RequestMembersListInput

FieldTypeRequiredDescription
organizationIdstringyesThe organization to list members for.

ResponseMembersListOutput.

organizations.members.set_spend_limit

Set a member’s per-order and rolling-window credit spend caps (organization admin).

Scopeorganizations:write
Side-effectcompute
HTTPPOST /v1/op/organizations.members.set_spend_limit · POST /v1/organizations/members/set_spend_limit
Python / TypeScriptclient.organizations.members.set_spend_limit(…)
CLIgeopera organizations members set-spend-limit …

RequestSetSpendLimitInput

FieldTypeRequiredDescription
organizationIdstringyes
userIdstringyesThe member to update; must belong to this organization.
perOrderLimitCreditsintegerMax credits for a single order; null clears the cap (unlimited).
spendLimitCreditsintegerMax credits over a rolling 30-day window; null clears the cap.

ResponseSetSpendLimitOutput.