API reference · Account
The signed in account's shadow tests
GET/api/account/shadowSigned in session
Every test of the account, the account scope included. A 404 at every path while the operator has not turned shadow testing on.
Answer 200
The tests.
| Field | Type | What it is |
|---|---|---|
| object | "list" | |
| data | array of object | |
| data[] | string | shd_ and 24 hex digits. |
| data[] | "shadow.test" | |
| data[] | string | |
| data[] | string | |
| data[] | string | One of "key", "account". |
| data[] | integer or null | |
| data[] | string | One of "active", "stopped". |
| data[] | string or null | |
| data[] | integer or null | Unix seconds: the month's ceiling is reached, nothing runs before this. |
| data[] | number | |
| data[] | integer | |
| data[] | integer | |
| data[] | integer | |
| data[] | integer | |
| data[] | integer | |
| data[] | integer | |
| data[] | object | |
| data[] | number | |
| data[] | integer | |
| data[] | array of object | |
| data[] | string | |
| data[] | boolean | |
| data[] | object or null | The switch standing, if any: the candidate and the keys it routes. |
| data[] | string | |
| data[] | array of integer | |
| data[] | integer | |
| data[] | boolean | Made by the gateway under auto savings. |
| data[] | object | Auto savings: whether the gateway may switch this test itself once a candidate is ready. |
| data[] | boolean | |
| data[] | integer or null | |
| data[] | integer or null | |
| data[] | string or null | |
| data[] | string or null | Why it is off when it was on: turned off, reverted, or why a switch failed. |
| data[] | array of object | The newest weekly reports (Monday to Monday, UTC) of what a standing switch saved: the requests it moved, read from their usage rows, what they were billed, and what they would have cost on the original at the report's measured cost ratio. |
| data[] | integer | |
| data[] | string | |
| data[] | string | |
| data[] | boolean | |
| data[] | integer | |
| data[] | integer | |
| data[] | integer | |
| data[] | integer | |
| data[] | number | |
| data[] | integer | |
| data[] | integer |
Errors
- 401OpenAI shaped error.
- 404OpenAI shaped error.
Every error answers in one shape, with its type, code and the field it names. The whole list is in the docs' Errors section.