v3

latestOpenAPI 3.1.02026-08-0755220214.3 KB
extractionSchemas

Create

Creates a new extraction schema in a project.

post/extraction_schemas

Query parameters

projectstring

The name of the project to create the extraction schema in.

Headers

Authorizationstring required

Bearer authentication header of the form Bearer <PHONIC_API_KEY>. Manage your API keys here.

Request body

namestring required

A name for the extraction schema.

promptstring required

Instructions for how to extract data from conversations.

Response

Success response

idstring required

The ID of the created extraction schema.

namestring required

The name of the created extraction schema.