Get current organization

GET/v1/organizations/current

Return the organization resolved from X-Computer-Agents-Organization, or the authenticated user's default personal organization when omitted.

How to call this endpoint

Every ACP API request uses bearer authentication. The examples here show the actual request path, auth header, and body shape that the platform expects.

Path, query, and header parameters

These parameters control which ACP object the endpoint acts on and how the request is processed.

Path parameters
None.
Query parameters
None.

Body schema

This endpoint does not require a request body.

None.

What the API returns

Each response code below includes the documented payload shape for the ACP API.

200Current organizationapplication/json
FieldTypeRequiredDescription
dataobjectNo
data.idstringNoUnique identifier.
data.namestringNoHuman-readable name.
data.slugstringNo
data.typepersonal | companyNo
data.ownerUserIdstringNo
data.createdByUserIdstringNo
data.statusactive | disabledNoCurrent lifecycle status.
data.metadataobjectNoFree-form metadata object.
data.createdAtstringNoISO 8601 timestamp.
data.updatedAtstringNoISO 8601 timestamp.
data.membershipobjectNo
data.membership.idstringNoUnique identifier.
data.membership.organizationIdstringNo
data.membership.userIdstringNoUser ID.
data.membership.roleowner | admin | billing | developer | member | viewerNo
data.membership.statusactive | removedNoCurrent lifecycle status.
data.membership.invitedByUserIdstringNo
data.membership.joinedAtstringNo
data.membership.createdAtstringNoISO 8601 timestamp.
data.membership.updatedAtstringNoISO 8601 timestamp.
Get current organization
Loading...
Response 200
Loading...
See the ACP quickstart and SDK flow