Suggest structured post-call extraction fields from a free-text brief
curl --request POST \
--url https://api.pineyard.ai/agents/extraction/suggest-fields \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"prompt": "<string>"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({prompt: '<string>'})
};
fetch('https://api.pineyard.ai/agents/extraction/suggest-fields', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.pineyard.ai/agents/extraction/suggest-fields"
payload = { "prompt": "<string>" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"keys": [
{
"name": "<string>",
"type": "string",
"description": "<string>"
}
]
}Agent studio
Suggest structured post-call extraction fields from a free-text brief
POST
/
agents
/
extraction
/
suggest-fields
Suggest structured post-call extraction fields from a free-text brief
curl --request POST \
--url https://api.pineyard.ai/agents/extraction/suggest-fields \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"prompt": "<string>"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({prompt: '<string>'})
};
fetch('https://api.pineyard.ai/agents/extraction/suggest-fields', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.pineyard.ai/agents/extraction/suggest-fields"
payload = { "prompt": "<string>" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"keys": [
{
"name": "<string>",
"type": "string",
"description": "<string>"
}
]
}
