cURL
curl --request GET \ --url https://api.alpic.ai/v1/environments/{environmentId}/playground \ --header 'Authorization: Bearer <token>'
{ "isPlaygroundEnabled": true, "serverMetadata": { "name": "<string>", "description": "<string>", "headers": [ { "name": "<string>", "description": "<string>", "isRequired": true, "isSecret": true } ], "examplePrompts": [ { "title": "<string>", "prompt": "<string>" } ] } }
Get the playground configuration for an environment
Bearer token for authentication. Use an API key from the API Keys page in team settings, or an OAuth access token.
The ID of the environment
The playground configuration
Show child attributes
Was this page helpful?
Contact support