What this API key is
Returns the key's id, name, prefix, scopes, environment, organization, and whether the key belongs to a partner account (`partner`).
Returns the key's id, name, prefix, scopes, environment, organization, and whether the key belongs to a
partner account (partner). Any valid key may call it; no scope is needed. The secret and its hash are
never returned. Cache-Control: no-store.
Authorization
bearerAuth Authorization: Bearer <key>. Read the key from the SPICRAWL_API_KEY environment
variable; never hard-code or log it. spicrawl_test_… keys can never spend live
credits. Scopes: scrape, batch, sessions (granted by default), browser
and read (granted deliberately), and partner (only on a partner account's key).
A missing scope is 403 ERR::AUTH::INSUFFICIENT_SCOPE naming the scope.
In: header
Response Body
application/json
application/problem+json
application/problem+json
curl -X GET "https://example.com/v1/key"{ "key_id": "1e779c8a-6786-4c89-b7c3-a6666f5fd6b5", "name": "string", "prefix": "string", "scopes": [ "string" ], "environment": "live", "organization": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string" }, "partner": true, "created_at": "2019-08-24T14:15:22Z", "expires_at": "2019-08-24T14:15:22Z"}List the credit grants and adjustments on the organization's account GET
The organization's credit history: grants, adjustments, refunds, expiries, purchases, the carried-over balance and credits assigned to or from a partner workspace (`transfer_out`, `transfer_in`), newest first.
The partner's account at a glance GET
The partner's allowance, its users and caps, and its balance (the same figures as `GET /v1/partner/wallet` under `balance`), in one call.