Get a developer key's calls
Calls made with a developer key, newest first, with the total.
GET/api/v1/developer-keys/{id}/usage
Parameters
Path
| Name | In | Description |
|---|---|---|
idrequired | path | The record's id. |
Query
| Name | In | Description |
|---|---|---|
limit | query, integer | Rows, default 100, at most 500. |
offset | query, integer | Rows to skip, for the next page. |
Example
curl
curl -X GET "https://crm.ashwanth.dev/api/v1/developer-keys/{id}/usage" \
-H "Authorization: Bearer $SALES_ENGINE_API_KEY"CLI
sales-engine developer-keys usage <id>Response
A 200 with the result under data, on creation too. Errors come back as an error object with a stable code; see Errors.
Shape
{
"data": { ... }
}Run it below to see the live shape for your workspace.
Try it
Runs against this server, as the workspace behind the key. Kept in this page while you browse the docs, gone on reload, never stored. Signed in to the app? Leave it blank and the call runs as you.
Path
requiredThe record's id.
Query
Rows, default 100, at most 500.
Rows to skip, for the next page.
Request
GET /api/v1/developer-keys/%7Bid%7D/usage
Fill the path first.