Python
import requests url = "https://api.opper.ai/v3/functions/{name}/examples" headers = {"Authorization": "Bearer <token>"} response = requests.post(url, headers=headers) print(response.text)
{ "error": { "code": "<string>", "message": "<string>", "details": "<unknown>" } }
Create a single few-shot example for a function.
API key authentication. Pass your API key as a Bearer token.
Function name
Bad request
Show child attributes