Syndai Docs

List standing permissions

Use a key with only read scopes. Your customer_id is in the reply to Get the calling API key.

GET
/api/v1/external/coding/spend-settings/rows

Read every standing spend permission on every workspace, project and app row, priced. Owners and admins (or their agent) only; an API key is refused. Requires the coding:policy:read scope.

Authorization

CustomerApiKey
headerAuthorizationBearer <API Key>

Customer API key sent as a bearer token

Query Parameters

customer_id?|null

Response Body

Request fulfilled, document follows

application/json
  1. response
rows*array<>
Example Request
curl -X GET 'https://api.syndai.ai/api/v1/external/coding/spend-settings/rows'
Example Response
{  "rows": [    {      "approx": true,      "can_turn_on": true,      "cap_usd": "string",      "label": "string",      "name": "string",      "offered": true,      "on": true,      "on_at": "2019-08-24T14:15:22Z",      "on_by": "966c935b-50b7-4c8f-b471-09d3102e4e16",      "on_by_name": "string",      "per": "string",      "price_usd": "string",      "row_id": "string",      "scope": "string",      "title": "string"    }  ]}
Was this page helpful?