cURL
curl --request PUT \ --url http://localhost:6060/api/agent-server/virtual-keys/{id} \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "providers": [ { "provider_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "model_names": [ "<string>" ] } ] } '
{ "error": true, "message": "<string>", "data": { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "<string>", "secret_key": "<string>", "providers": [ { "provider_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "model_names": [ "<string>" ] } ], "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z" }, "status": 123, "errorDetails": {} }
Documentation IndexFetch the complete documentation index at: https://hastekit.ai/docs/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://hastekit.ai/docs/llms.txt
Use this file to discover all available pages before exploring further.
Show child attributes
Virtual key updated successfully