cURL
curl --request GET \ --url https://api.example.com/api/v1/agents/:name/key
{ "keyPrefix": "<string>", "apiKey": "<string>", "pluginEndpoint": "<string>" }
mnfst_ABCDE
MANIFEST_MODE=local
PLUGIN_OTLP_ENDPOINT
curl https://api.manifest.build/api/v1/agents/my-agent/key \ -H "Cookie: better-auth.session_token=YOUR_SESSION_TOKEN"
{ "keyPrefix": "mnfst_ABCDE" }
{ "keyPrefix": "mnfst_ABCDE", "apiKey": "mnfst_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijk1234567890" }
{ "keyPrefix": "mnfst_ABCDE", "pluginEndpoint": "http://localhost:38238/otlp" }
{ "statusCode": 404, "message": "No active API key found for this agent" }
/api/v1/agents/:name/rotate-key