List prompts
curl --request GET \
--url https://api.fullreach.ai/v1/projects/{project_id}/prompts \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.fullreach.ai/v1/projects/{project_id}/prompts"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.fullreach.ai/v1/projects/{project_id}/prompts', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"text": "<string>",
"markets": [
{
"market": "<string>",
"active": true
}
],
"language": "<string>",
"topic_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"persona_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"active": true,
"branded": true,
"created_at": "2023-11-07T05:31:56Z",
"wordings": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"market": "<string>",
"text": "<string>",
"persona_sentence": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"superseded_at": "2023-11-07T05:31:56Z"
}
]
}
],
"next_cursor": "<string>"
}Setup
List prompts
Every prompt of the project, paused ones included, each with its wordings.
GET
/
v1
/
projects
/
{project_id}
/
prompts
List prompts
curl --request GET \
--url https://api.fullreach.ai/v1/projects/{project_id}/prompts \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.fullreach.ai/v1/projects/{project_id}/prompts"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.fullreach.ai/v1/projects/{project_id}/prompts', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"text": "<string>",
"markets": [
{
"market": "<string>",
"active": true
}
],
"language": "<string>",
"topic_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"persona_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"active": true,
"branded": true,
"created_at": "2023-11-07T05:31:56Z",
"wordings": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"market": "<string>",
"text": "<string>",
"persona_sentence": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"superseded_at": "2023-11-07T05:31:56Z"
}
]
}
],
"next_cursor": "<string>"
}