Organizations
For instructions on how to authenticate to use this endpoint, see API overview.
Endpoints
GET | |
POST | |
GET | |
PATCH | |
DELETE | |
GET | |
GET | |
DELETE | |
PATCH |
Retrieve
Required API key scopes
organization:readQuery parameters
- limitinteger
- offsetinteger
Response
Example request
GET /api /organizationsExample response
Status 200
Create
Required API key scopes
organization:writeRequest parameters
- namestring
- logo_media_idstringnull
- enforce_2fabooleannull
- members_can_invitebooleannull
- members_can_use_personal_api_keysboolean
- allow_publicly_shared_resourcesboolean
- is_ai_data_processing_approvedbooleannull
- default_experiment_stats_method
- default_anonymize_ipsboolean
- default_role_idstringnull
Response
Example request
POST /api /organizationsExample response
Status 201
Retrieve
Required API key scopes
organization:readPath parameters
- idstring
Response
Example request
GET /api /organizations /:idExample response
Status 200
Update partial
Required API key scopes
organization:writePath parameters
- idstring
Request parameters
- namestring
- logo_media_idstringnull
- enforce_2fabooleannull
- members_can_invitebooleannull
- members_can_use_personal_api_keysboolean
- allow_publicly_shared_resourcesboolean
- is_ai_data_processing_approvedbooleannull
- default_experiment_stats_method
- default_anonymize_ipsboolean
- default_role_idstringnull
Response
Example request
PATCH /api /organizations /:idExample response
Status 200
Delete
Required API key scopes
organization:writePath parameters
- idstring
Example request
DELETE /api /organizations /:idExample response
Status 204 No response body
List all org organizations integrations
ViewSet for organization-level integrations.
Provides access to integrations that are scoped to the entire organization (vs. project-level integrations). Examples include Vercel, AWS Marketplace, etc.
Creation is handled by the integration installation flows (e.g., Vercel marketplace installation). Users can disconnect integrations via the DELETE endpoint.
Required API key scopes
organization_integration:readQuery parameters
- limitinteger
- offsetinteger
Response
Example request
GET /api /organizations /:organization_id /integrationsExample response
Status 200
Retrieve org organizations integrations
ViewSet for organization-level integrations.
Provides access to integrations that are scoped to the entire organization (vs. project-level integrations). Examples include Vercel, AWS Marketplace, etc.
Creation is handled by the integration installation flows (e.g., Vercel marketplace installation). Users can disconnect integrations via the DELETE endpoint.
Required API key scopes
organization_integration:readPath parameters
- idstring
Response
Example request
GET /api /organizations /:organization_id /integrations /:idExample response
Status 200
Delete org organization integrations
ViewSet for organization-level integrations.
Provides access to integrations that are scoped to the entire organization (vs. project-level integrations). Examples include Vercel, AWS Marketplace, etc.
Creation is handled by the integration installation flows (e.g., Vercel marketplace installation). Users can disconnect integrations via the DELETE endpoint.
Required API key scopes
organization_integration:writePath parameters
- idstring
Example request
DELETE /api /organizations /:organization_id /integrations /:idExample response
Status 204 No response body
Update integrations environment mapping
ViewSet for organization-level integrations.
Provides access to integrations that are scoped to the entire organization (vs. project-level integrations). Examples include Vercel, AWS Marketplace, etc.
Creation is handled by the integration installation flows (e.g., Vercel marketplace installation). Users can disconnect integrations via the DELETE endpoint.
Path parameters
- idstring
Request parameters
Response
Example request
PATCH /api /organizations /:organization_id /integrations /:id /environment-mapping