Get Prompt
Get metrics by prompt ID
get/api/beta/prompts
Returns all related metrics data by prompt ID
Query Parameters
promptIdstring
Returns
idstring
optional
answerTextstring
optional
brightDataPromptIndexnumber
optional
formatint32
completePostProcessboolean
optional
createdstring
optional
formatdate-time
dataobject
optional
languageenum
optional
"ENGLISH" OR "SPANISH" OR "PORTUGUESE" OR 9 more
llmProviderenum
optional
"openai/gpt-4o" OR "openai/gpt-4o-search-preview" OR "perplexity" OR "gemini"
localeenum
optional
"GLOBAL" OR "ISRAEL" OR "EU" OR 97 more
ownerWebsiteIdstring
optional
ownerWebsiteUrlstring
optional
oxyJobIdnumber
optional
formatint64
promptIdstring
optional
promptTextstring
optional
providerenum
optional
"BRIGHT_DATA" OR "OXY"
statusenum
optional
"PENDING_BRIGHTDATA" OR "BRIGHTDATA_PROCESSING" OR "OXY_PROCESSING" OR 3 more
triggerDatestring
optional
formatdate-time
websiteTopicIdstring
optional
curl https://api.joinanvil.com/api/beta/api/beta/prompts \
-H "Authorization: Bearer $ANVIL_API_KEY" \
-d '{}'200 Example
[
{
"id": "id",
"answerText": "answerText",
"brightDataPromptIndex": 0,
"completePostProcess": true,
"created": "2019-12-27T18:11:19.117Z",
"data": {
"importantTerms": [
"string"
],
"mentions": {
"foo": 0
},
"negativeSentiment": [
{
"foo": "string"
}
],
"positiveSentiments": [
{
"foo": "string"
}
],
"ranking": {
"foo": 0
},
"sentimentScore": {
"foo": 0
},
"sources": [
"string"
]
},
"language": "ENGLISH",
"llmProvider": "openai/gpt-4o",
"locale": "GLOBAL",
"ownerWebsiteId": "ownerWebsiteId",
"ownerWebsiteUrl": "ownerWebsiteUrl",
"oxyJobId": 0,
"promptId": "promptId",
"promptText": "promptText",
"provider": "BRIGHT_DATA",
"status": "PENDING_BRIGHTDATA",
"triggerDate": "2019-12-27T18:11:19.117Z",
"websiteTopicId": "websiteTopicId"
}
]