Auth
Initiate Google OAuth login
GET
/api/v1/auth/google/loginAuthorizationBearer <token>
In: header
Query Parameters
origin?string|null
token?string|null
Response Body
application/json
application/json
application/json
curl -X GET "https://example.com/api/v1/auth/google/login"{ "auth_url": "string"}AI generate or update agent prompt POST
Produce an enhanced system prompt using the agent's configured LLM and API keys. Does not persist. Send `user_prompt` in all cases.
Handle Google OAuth callback GET
Handle Google OAuth callback. Exchanges the authorization code for tokens and returns them in the response body. Clients should send the access token via the Authorization header on subsequent requests.