Help Center

GET /api/sessions/{id}/results

GET /api/sessions/{id}/results

Retrieve the processed results of a session.

URL Parameters

Parameter Type Description
id integer Session ID

Response (200 OK)

{
  "session_id": 42,
  "status": "completed",
  "template": "translate",
  "created_at": "2025-01-15T10:30:00Z",
  "results": [
    {
      "item_id": 1,
      "original_data": { "name": "Tavolo" },
      "enriched_data": { "name": "Table" }
    }
  ]
}

Errors

  • 404 Not Found — Session not found

Notes

  • Results are only available when the status is completed
  • original_data contains the submitted data, enriched_data contains the AI processing results