Update
Updates an extraction schema by name or ID.
Authentication
AuthorizationBearer
Bearer authentication header of the form `Bearer <PHONIC_API_KEY>`. Manage your API keys [here](https://phonic.co/api-keys).
Path parameters
nameOrId
The name or the ID of the extraction schema to update.
Query parameters
project
The name of the project containing the extraction schema. Only used when nameOrId is a name.
Request
This endpoint expects an object.
name
A name for the extraction schema.
prompt
Instructions for how to extract data from conversations.
fields
Array of field definitions.
Response
Success response
success
Whether the extraction schema was updated successfully.