Retrieve score

Retrieves a specific evaluation score by ID. ```Python Python url = "https://api.respan.ai/api/scores/{id}/" api_key = "YOUR_KEY" # Replace with your actual Respan API key headers = { "Authorization": f"Bearer {api_key}", "Content-Type": "application/json" } response = requests.get(url, headers=headers) print(response.json()) ``` ```json 200 OK { "id": "eval_result_unique_id", "created_at": "2024-01-15T10:30:00Z", "type": "llm", "environment": "test", "numerical_value": 4.5, "string_value": "Good quality", "boolean_value": true, "is_passed": false, "cost": 0.0, "evaluator_id": null, "evaluator_slug": "quality_evaluator", "log_id": "log_unique_id", "dataset_id": null } ```

Authentication

AuthorizationBearer
API key authentication. Get your API key from https://platform.respan.ai/platform/api-keys

Path parameters

idstringRequired
Id

Response

Successful response for Retrieve score

Errors

401
Unauthorized Error