Python
import requests url = "https://api.opper.ai/v3/functions/{name}" headers = {"Authorization": "Bearer <token>"} response = requests.get(url, headers=headers) print(response.text)
{ "generated_at": "2023-11-07T05:31:56Z", "hit_count": 123, "input_schema": {}, "name": "<string>", "output_schema": {}, "schema_hash": "<string>", "source": "<string>" }
Get details of a specific function including its script source.
API key authentication. Pass your API key as a Bearer token.
Function name
Successful response