Search...
/
Community
Create Account
Sign in
Overview
Welcome
Authentication
Using Environments
API Reference
Accounts
Actions
Agents
Apps
Assistant
GET
List prompts
GET
Get a prompt
PATCH
Update a prompt
POST
Create a prompt
DEL
Delete a prompts
Commits
Data Retention Policies
Documents
Entitlements
Environments
Events
Files
Guests
Jobs
Mapping
Records
Roles
Secrets
Sheets
Snapshots
Spaces
Users
Versions
Views
Workbooks
Community
Create Account
Sign in
API Reference
Assistant
Create a prompt
POST
https://api.x.flatfile.com/v1
/
/
prompts
Creates a prompt
Headers
X-Disable-Hooks
"true"
Required
Request
This endpoint expects an object.
prompt
string
Required
environmentId
string
Required
Environment ID
spaceId
string
Required
Space ID
promptType
"AI_ASSIST" or "CONSTRAINT_GENERATION"
Optional
Allowed values:
AI_ASSIST
CONSTRAINT_GENERATION
Type of prompt; Defaults to AI_ASSIST
Response
This endpoint returns an object.
data
object
Show 10 properties
Built with