POST
/
{workspaceId}
/
files
/
extract
/
tables
/
start
import { IntunedClient } from "@intuned/client";

const intunedClient = new IntunedClient({
  apiKey: "<YOUR_API_KEY_HERE>",
  workspaceId: "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
});

async function run() {
  const result = await intunedClient.files.extractTables.start({
    type: "image",
    source: {
      type: "base64",
      data: "<value>",
    },
  });
  
  // Handle the result
  console.log(result)
}

run();
{
  "operationId": "aaaabbbCCCCdddd",
  "status": "pending"
}

Authorizations

x-api-key
string
header
required

API Key used to authenticate your requests. How to create one.

Path Parameters

workspaceId
string
required

Your workspace ID. How to find it?

Body

application/json
file
object
required

Image file data to extract from

Response

201
application/json
Operation started successfully

Pending file extraction result

operationId
string
required

Operation ID

status
enum<string>
required

Operation status.

Available options:
pending