API Reference
Using the Ag.dev API
Modify the settings for the authenticated organization
cURL
curl --request PATCH \ --url https://api.ag.dev/v0.1/settings \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <api-key>' \ --data '{ "useOwnKeys": true }'
{ "useOwnKeys": true, "creditBalance": 123 }
Whether the organization should use their own API keys
Organization settings updated successfully
Whether the organization uses their own API keys
Current credit balance