List_policies
GET
List trust policies with workload view permission.
This operation returns results in pages. To get the next page, send the nextPageToken value of the response as pageToken in a new request with the same parameters. When the response has no nextPageToken, there are no more pages. A page can have an empty items list before the last page.
bearerAuthheader
AuthorizationBearer <token>workload_id*stringpageSize?|nullpageToken?string|nullSuccess
application/json- response
One live page of Policy records, ordered by ID. Continuations expire after one hour and bind the credential, operation, filters and page size.
items*array<>nextPageToken?string|nullcurl -X GET 'https://api.spiraldb.dev/api/workloads/string/policies'{ "items": [ { "audience": "string", "conditions": [ { "key": "string", "value": "string" } ], "id": "string", "issuer": "string", "name": "string", "workloadId": "string" } ], "nextPageToken": "string"}