API · Dashboard usage
GET /accounts/{id}/requests
The account’s calls, newest first, with filters and a cursor. Kept 90 days.
| |
|---|
| Request | GET /v1/accounts/{id}/requests |
| Operation id | accounts.requests |
| Cost | Free |
| Auth | Dashboard session: Authorization: Bearer <session_token>. API keys are refused. |
| Name | Type | Required | Description |
|---|
id | string | yes | Example: acct_01J…. |
| Name | Type | Required | Description |
|---|
status | "success" | "error" | no | One of success, error. |
endpoint | string | no | An endpoint id, or a platform id for all its endpoints. |
key_id | string | no | |
request_id | string | no | |
since | string | no | |
cursor | string | no | |
limit | integer | no | |
| Status | Meaning | Schema |
|---|
200 | A page of calls. | |
400 | Invalid filter or cursor. | Error |
401 | Not signed in, or an API key was sent. | Error |
404 | No such account among yours. | Error |
Errors use one shape everywhere; see Errors for every code and what to do.