Skip to Content
ApiApprovals

Get Pending Change

One change

GET
/accounts/{account_id}/pending-changes/{change_id}

One change

Authorization

headerAuthorizationBearer <token>

qlt_… Access token (kind api)

Path Parameters

account_id*string
change_id*string

Response Body

OK

application/json
  1. response
id?string
tool?string
summary?string
reason?string
details?array<string>
method?string
Value in"POST""PATCH""PUT""DELETE"
path?string

Inside /api/v1

body?unknown

The JSON body as it will run

status?string
Value in"pending""running""approved""denied""failed""expired"
requested_by?
created_at?string
Formatdate-time
expires_at?string
Formatdate-time
decided_at?|
Formatdate-time
decided_by?|null
result?unknown

The API's answer

result_status?integer|null
approve_url?string
Example Request
curl -X GET 'https://tiltas.openpanel.sh/api/v1/accounts/string/pending-changes/string'
Example Response
{  "id": "string",  "tool": "string",  "summary": "string",  "reason": "string",  "details": [    "string"  ],  "method": "POST",  "path": "string",  "body": null,  "status": "pending",  "requested_by": {    "type": "mcp",    "client": "string",    "token_id": "string",    "on_behalf_of": "string"  },  "created_at": "2019-08-24T14:15:22Z",  "expires_at": "2019-08-24T14:15:22Z",  "decided_at": "2019-08-24T14:15:22Z",  "decided_by": {    "id": "string",    "email": "string"  },  "result": null,  "result_status": 0,  "approve_url": "string"}