Test API for Standard extraction
AI Extraction
Test API for Standard extraction
1️⃣ Overview
Purpose:
Runs a standard extraction test using inline content.
2️⃣ Endpoint
POST /noCo/api/v2/workspaces/{workspaceId}/extraction/test
3️⃣ Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| workspaceId | UUID | ✅ Yes | Identifier of the workspace |
4️⃣ Authentication
Requires authentication using:
Authorization: Bearer <token>
5️⃣ Request Headers
| Header | Required |
|---|---|
| Authorization | ✅ Yes |
| Content-Type: application/json | ✅ Yes |
6️⃣ Request Body Schema
{
"content": "Transcript text here",
"columnConfiguration": [
{ "name": "Speaker Name", "description": "Extract speaker name" }
]
}
7️⃣ Field Descriptions
Extraction Test Fields
| Field | Type | Required | Description |
|---|---|---|---|
| content | string | ✅ Yes | Inline content to test extraction |
| columnConfiguration | array | ✅ Yes | Column definitions |
8️⃣ Example Request
curl -X POST https://be.datagol.ai/noCo/api/v2/workspaces/{workspaceId}/extraction/test \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
-d '{
"content": "Sample document text",
"columnConfiguration": [
{
"name": "invoiceNumber",
"type": "SINGLE_LINE_TEXT"
}
]
}'
9️⃣ Behavior Summary
Runs a standard extraction test on inline content or optional file references.
POST
Test API for Standard extraction
Authorizations
This API uses OAuth 2.0 with the authorization code grant flow.
Path Parameters
Body
application/json
Response
200
Test API for Standard extraction