Read the authenticated installation
GET
Requires an installation token. Returns current metadata even when suspended; this does not grant project access.
bearerAuthheader
AuthorizationBearer <token>Success
application/json- response
Installation metadata and its API audience. configurationUrl is absent until the deployment supplies an installation management UI.
apiUrl*stringconfigurationUrl?string|nullinstallation*An Application installed in one Organization, where it acts as its own identity. requested is the latest request. approved is what an Organization owner approved, and it is the only grant that Spiral enforces. A request for more access takes effect only when an owner approves it.
curl -X GET 'https://api.spiraldb.dev/api/apps/installation'{ "apiUrl": "string", "configurationUrl": "string", "installation": { "applicationId": "string", "approved": { "projects": { "all": true, "projectIds": [ "string" ] }, "scopes": [ "string" ] }, "id": "string", "organizationId": "string", "requested": { "projects": { "all": true, "projectIds": [ "string" ] }, "scopes": [ "string" ] }, "status": "requested" }}