Agent SwarmAgent Swarm

OAuth

OAuth API endpoints

GET
/api/oauth/{provider}/callback

Path Parameters

provider*string
Match^[A-Za-z0-9_-]+$
Length1 <= length <= 255

Query 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
POST
/api/oauth/keep-warm/codex

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
DELETE
/api/oauth/refresh-locks/{key}

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
POST
/api/oauth/refresh-locks/{key}

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