Skip to main content
POST
/
noCo
/
api
/
v2
/
workspaces
/
{workspaceId}
/
extraction
Create Extraction
curl --request POST \
  --url https://be.datagol.ai/noCo/api/v2/workspaces/{workspaceId}/extraction \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "title": "config test",
  "extractionMode": "ADVANCED",
  "elementType": "COLUMN",
  "elementId": "40743480-286a-4531-b3f3-7d0b68018c9d",
  "storeExtractedData": true,
  "scheduleType": "MANUAL",
  "schedule": {
    "cronExpression": ""
  },
  "outputConfiguration": {
    "createNewWorkbook": true,
    "title": "sample transcripts output"
  },
  "inputTableId": "7963e2b4-dddc-4dd4-8c44-8c70c47da692",
  "primaryKeyColumnId": [
    "ee42ef18-0d8a-461e-bae1-4370a8c13fec"
  ],
  "columnConfiguration": [
    {
      "name": "title",
      "description": "Transcript title",
      "uiMetadata": {
        "title": "Title"
      },
      "uiDataType": "SINGLE_LINE_TEXT"
    },
    {
      "name": "segments",
      "description": "Transcript segments",
      "uiMetadata": {
        "title": "Segments"
      },
      "uiDataType": "JSON"
    }
  ],
  "advancedSchema": {
    "properties": {
      "title": {
        "type": "string"
      },
      "segments": {
        "type": "array"
      }
    }
  }
}
'

Authorizations

Authorization
string
header
required

This API uses OAuth 2.0 with the authorization code grant flow.

Path Parameters

workspaceId
string
required

Body

application/json
title
string
required

Extraction configuration title

extractionMode
string
required

STANDARD or ADVANCED

elementType
string
required

FILE, FOLDER, or COLUMN

outputConfiguration
object
required
primaryKeyColumnId
string
required
elementId
string

FILE ID, FOLDER ID, or COLUMN ID

inputTableId
string
storeExtractedData
boolean
scheduleType
string
schedule
object
columnConfiguration
object[]
advancedSchema
object

User-defined schema for advanced extraction

Response

200

Extraction created successfully