Assistant

Get a prompt

GET
Returns a prompt

Path parameters

promptIdstringRequired
ID of prompts

Response

This endpoint returns an object
data
object
GET
$curl https://api.x.flatfile.com/v1//prompts/us_pr_YOUR_ID \
> -H "Authorization: Bearer <token>"
Response
1{
2 "data": {
3 "id": "us_pr_YOUR_ID",
4 "createdById": "us_usr_YOUR_ID",
5 "accountId": "us_acc_YOUR_ID",
6 "prompt": "Combine first name and last name into a new column called Full Name",
7 "createdAt": "2021-01-01T00:00:00Z",
8 "updatedAt": "2021-01-01T00:00:00Z"
9 }
10}