API Reference
Using the Ag.dev API
Update API keys for the authenticated organization
cURL
curl --request PATCH \ --url https://api.ag.dev/v0.1/settings/api-keys \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <api-key>' \ --data '{ "openai": "<string>", "anthropic": "<string>" }'
{ "openai": "<string>", "anthropic": "<string>" }
OpenAI API key
Anthropic API key
API keys updated successfully
Masked OpenAI API key
Masked Anthropic API key