Authentication & Scope
Requires thetemplates-read ability.
Request
Path Parameters
Query Parameters
Response
200 OK – Paginated list of templates.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
List all extraction templates in a workspace.
templates-read ability.
GET /workspaces/1/extractions/templates HTTP/1.1
Host: api.raydocs.com
Authorization: Bearer <token>
| Parameter | Type | Required | Description |
|---|---|---|---|
workspaceId | integer | Yes | The workspace ID |
| Parameter | Type | Default | Description |
|---|---|---|---|
page | integer | 1 | Page number for pagination |
200 OK – Paginated list of templates.
{
"data": [
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"name": "Invoice Extraction",
"description": "Extract invoice details",
"workspace_id": 1,
"created_at": "2024-01-15T10:30:00Z",
"updated_at": "2024-01-15T10:30:00Z"
}
],
"meta": {
"current_page": 1,
"last_page": 1,
"per_page": 15,
"total": 1
}
}
