v3

latestOpenAPI 3.1.02026-08-0755220214.3 KB
extractionSchemas

Update

Updates an extraction schema by name or ID.

patch/extraction_schemas/{nameOrId}

Path parameters

nameOrIdstring required

The name or the ID of the extraction schema to update.

Query parameters

projectstring

The name of the project containing the extraction schema. Only used when nameOrId is a name.

Headers

Authorizationstring required

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

Request body

namestring

A name for the extraction schema.

promptstring

Instructions for how to extract data from conversations.

Response

Success response

successboolean required

Whether the extraction schema was updated successfully.