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