ServicesApplicationsHTTP APIDiscovery

Read the authenticated installation

GET
/api/apps/installation

Requires an installation token. Returns current metadata even when suspended; this does not grant project access.

Authorization

bearerAuth
headerAuthorizationBearer <token>

Response Body

Success

application/json
  1. response

Installation metadata and its API audience. configurationUrl is absent until the deployment supplies an installation management UI.

apiUrl*string
configurationUrl?string|null
installation*

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"  }}