Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
cURL
curl --request GET \ --url https://api.opper.ai/v3/generations/{id} \ --header 'Authorization: Bearer <token>'
import requests url = "https://api.opper.ai/v3/generations/{id}" headers = {"Authorization": "Bearer <token>"} response = requests.get(url, headers=headers) print(response.text)
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}}; fetch('https://api.opper.ai/v3/generations/{id}', options) .then(res => res.json()) .then(res => console.log(res)) .catch(err => console.error(err));
{}
{ "error": { "code": "<string>", "message": "<string>", "details": "<unknown>" }, "meta": {} }
Get a specific recorded generation by ID.
API key authentication. Pass your API key as a Bearer token.
Generation ID
Successful response
Recorded generation with request and response data