Syndai Docs

List spend settings

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

Read the workspace's standing spend opt-ins: each one's name, whether it is on, and who turned it on and when. Any member may read them. 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
settings*array<>
Example Request
curl -X GET 'https://api.syndai.ai/api/v1/external/coding/spend-settings'
Example Response
{  "settings": [    {      "name": "string",      "on": true,      "on_at": "2019-08-24T14:15:22Z",      "on_by": "966c935b-50b7-4c8f-b471-09d3102e4e16"    }  ]}
Was this page helpful?