OAuth
OAuth API endpoints
Path Parameters
provider*string
Match
^[A-Za-z0-9_-]+$Length
1 <= length <= 255Query Parameters
code?string
state?string
error?string
error_description?string
Response Body
curl -X GET "http://localhost:3013/api/oauth/string/callback"Empty
Empty
Empty
Empty
Empty
Authorization
bearerAuth AuthorizationBearer <token>
API key via Authorization: Bearer <API_KEY>
In: header
Response Body
curl -X POST "http://localhost:3013/api/oauth/keep-warm/codex"Empty
Authorization
bearerAuth AuthorizationBearer <token>
API key via Authorization: Bearer <API_KEY>
In: header
Path Parameters
key*string
Match
^[a-zA-Z0-9._:-]{1,200}$Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
curl -X DELETE "http://localhost:3013/api/oauth/refresh-locks/string" \ -H "Content-Type: application/json" \ -d '{ "owner": "string" }'Empty
Empty
Authorization
bearerAuth AuthorizationBearer <token>
API key via Authorization: Bearer <API_KEY>
In: header
Path Parameters
key*string
Match
^[a-zA-Z0-9._:-]{1,200}$Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
curl -X POST "http://localhost:3013/api/oauth/refresh-locks/string" \ -H "Content-Type: application/json" \ -d '{ "ttlMs": 300000 }'Empty
Empty
Empty