GET / POST /v1/keys
GET / POST /v1/keys
GET
Responses
200— List keys
Example
curl -X GET "https://mercury-api.deepeshkalurs.workers.dev/v1/keys" \ -H "Authorization: Bearer $MR_API_KEY"POST
Request body
{ "$ref": "#/components/schemas/ApiKeyCreate"}Responses
201— Key created (shown ONCE)401— Unauthorized (key has no associated user)
Example
curl -X POST "https://mercury-api.deepeshkalurs.workers.dev/v1/keys" \ -H "Authorization: Bearer $MR_API_KEY" \ -H "Content-Type: application/json" \ -d '{}'