Syndai Docs

Get paid data

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

GET
/api/v1/coding/customers/{customer_id}/paid-data

This month's paid lookups and their spend, the rule that groups them, priced examples and the built-in lines. Owners and admins.

Authorization

CustomerApiKey
headerAuthorizationBearer <API Key>

Customer API key sent as a bearer token

Path Parameters

customer_id*string
Formatuuid

Response Body

Request fulfilled, document follows

application/json
  1. response
agents_can*array<string>
examples*array<>
lookups*integer
month_usd*number
rule*string
Value in"allow""ask""never"
runs_can*array<string>
Example Request
curl -X GET 'https://api.syndai.ai/api/v1/coding/customers/497f6eca-6276-4993-bfeb-53cbbbba6f08/paid-data'
Example Response
{  "agents_can": [    "string"  ],  "examples": [    {      "label": "string",      "price_text": "string"    }  ],  "lookups": 0,  "month_usd": 0,  "rule": "allow",  "runs_can": [    "string"  ]}
Was this page helpful?