List grants
GET /application/v1/workers/{worker_id}/grants
List resources this Worker’s platform token may access.
Support: supported
Parameters
| Name | Location | Type | Required | Description |
|---|---|---|---|---|
| worker_id | path | string | true | Worker ID (wkr_…). |
Response
HTTP 200
Success
application/json
| Name | Type | Description |
|---|---|---|
| [].id | string | Grant ID, prefixed grt_. |
| [].worker_id | string | Owning Worker. |
| [].resource | object | Granted resource. |
| [].resource.type | string | Resource type. |
| [].resource.id | string | ID of the granted resource; * for models and whole-service types. |
| [].alias | string | Optional name, unique within this Worker. Conflicts return GRANT_ALIAS_CONFLICT (409). |
| [].access | string | Access level; models accepts read only. |
| [].created_on | string | When the grant was created. |