cURL
curl --request GET \ --url https://api.example.com/v1/secrets \ --header 'X-API-KEY: <api-key>'
{ "code": 100, "data": [ { "id": "<string>", "secret_name": "<string>", "secret_type": "OPENAI_API_KEY", "created_at": "2023-11-07T05:31:56Z" } ], "message": "<string>" }
List all secrets for the authenticated user’s space.
This endpoint:
Args: service: Injected secrets service
Returns: Response with list of secret metadata
Raises: 400 Bad Request: If user doesn’t have an associated space
Successful Response
Show child attributes
Was this page helpful?