The account behind the presented credentials
Returns the account that owns the presented API key. This is also the identity endpoint the generated typeship CLI's `whoami` calls.
Returns the account that owns the presented API key. This is also the
identity endpoint the generated typeship CLI's whoami calls.
Authorization
apiKey API key from the console, ak_....
In: header
Response Body
application/json
application/json
curl -X GET "https://example.com/me"{ "id": "string", "object": "account", "name": "string", "plan": "free", "created_at": "2019-08-24T14:15:22Z"}Retrieve a spec version's raw text GET
The escape hatch for specs too large to inline, and the endpoint to pipe straight into a diff.
Retrieve usage for this account GET
What this account has consumed and what remains. A hosted generation can cost more than one unit: a project generating TypeScript, Python, and Go consumes three, so callers that would otherwise discover the limit by receiving a 402 can check first.