Fields
Last updated
Was this helpful?
Last updated
Was this helpful?
Fields to be extracted
POST
https://api.openai.com/v1/create_field
Creates a field to extract
template_id Integer Required The id of the folder inside which the field is created
name String Required The name of the field to create, unique
type String Require
Defines whether the field is extracted once (General fields
) or for every line (Line fields
)
desc String The description of the field to create
format String The kind of field to extract, with their custom formatting. By default "text". For all the field formats, please refer to this .
position Integer The field position in the output, relative to the other fields. Default: appended to the end
The created object
GET
https://api.openai.com/v1/fetch_field/{field_id}
Fetches all the informations about a field, using the field_id
field_id Integer Required The id of the field to fetch
PUT
https://api.openai.com/v1/update_field/{field_id}
Updates a field, using the field
field_id Integer Required The id of the field to update
name String The name of the field to create, unique
desc String The description of the field to create
type String
Defines whether the field is extracted once (General fields
) or for every line (Line fields
)
position Integer The field position in the output, relative to the other fields. Default: appended to the end
DELETE
https://api.openai.com/v1/delete_field/{field_id}
Deletes a field, using the field_id
field_id Integer Required The id of the field to update
id
Integer
name
String
The name of the field, unique
desc
String
The description of the field
type
String
Defines whether the field is extracted once (General fields
) or for every line (Line fields
)
position
Integer
The field position in the output, relative to the other fields. Default: appended to the end
Template_id
Integer
The id from the template the field is linked to
The object
format String The kind of field to extract, with their custom formatting. By default "text". For all the field formats, please refer to this .
The object
format
String
The kind of field to extract, with their custom formatting. By default "text".
For all the field formats, please refer to this .