Skip to main content
POST
/
workflows
/
extractionTemplates
/
getById
Get Extraction Template by ID
curl --request POST \
  --url https://api.emberqa.com/api/workflows/extractionTemplates/getById \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "id": "123e4567-e89b-12d3-a456-426614174000"
}
'
{
  "statusCode": "SUCCESS",
  "statusMessage": "Successfully retrieved extraction template",
  "doc": {
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "org_id": "org-abc123",
    "name": "Invoice Data Extraction",
    "evaluation_schema": {
      "invoice_number": "Find the invoice number at the top of the document",
      "total_amount": "Locate the total amount due"
    }
  }
}

Authorizations

Authorization
string
header
required

API key obtained from the EmberQA dashboard under the "Integrations" tab

Body

application/json
id
string<uuid>
required

Unique identifier of the extraction template

Example:

"123e4567-e89b-12d3-a456-426614174000"

Response

Successfully retrieved extraction template

statusCode
string
Example:

"SUCCESS"

statusMessage
string
Example:

"Successfully retrieved extraction template"

doc
object