Make a key
Makes the account's key, or replaces it, and returns it. The key is shown this one time and the old key stops at once. Needs a session cookie (401 without one).
/v1/account/keyMakes the account's key, or replaces it, and returns it. The key is shown this one time and the old key stops at once. Needs a session cookie (401 without one).
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://api.conjure.design/v1/account/key"
{
"key": "string",
"summary": {
"prefix": "string",
"createdAt": "string",
"lastUsedAt": "string"
}
}
{
"error": {
"code": "bad_request",
"message": "string",
"requestId": "string"
}
}
{
"error": {
"code": "bad_request",
"message": "string",
"requestId": "string"
}
}
{
"error": {
"code": "bad_request",
"message": "string",
"requestId": "string"
}
}
Get the account GET
Returns the signed-in account: its plan and subscription, the calls it used today and this month, the prefix of its key, and the server's MCP address. Needs a session cookie (401 without one), and answers 404 on a server without accounts.
Get the sign-in options and the allowances GET
Returns the sign-in providers, the call allowances of the plans, and whether billing is on with the monthly and yearly prices of the unlimited plan. Open: the login page and the pricing read it before a sign-in.