Authentication & Scope
Requires thesessions-read ability.
Request
Path Parameters
Response
200 OK – Session with related data.
404 Not Found – Session does not exist or you don’t have access.Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Get session details including documents and results.
sessions-read ability.
GET /extractions/sessions/770e8400-e29b-41d4-a716-446655440000 HTTP/1.1
Host: api.raydocs.com
Authorization: Bearer <token>
| Parameter | Type | Required | Description |
|---|---|---|---|
sessionId | uuid | Yes | The session ID |
200 OK – Session with related data.
{
"id": "770e8400-e29b-41d4-a716-446655440000",
"name": "Q1 2024 Invoices",
"extraction_template_id": "550e8400-e29b-41d4-a716-446655440000",
"settings": {},
"created_at": "2024-01-15T10:30:00Z",
"updated_at": "2024-01-15T10:30:00Z",
"documents": [
{
"id": "880e8400-e29b-41d4-a716-446655440000",
"filename": "invoice_001.pdf",
"status": "ready",
"meta": {
"page_count": 2
}
}
],
"results": [
{
"id": "990e8400-e29b-41d4-a716-446655440000",
"status": "completed",
"title": "Invoice #12345"
}
]
}
404 Not Found – Session does not exist or you don’t have access.