POST
/
v1
/
prompts
/
answers
Get Answers
curl --request POST \
  --url https://api.tryprofound.com/v1/prompts/answers \
  --header 'Content-Type: application/json' \
  --data '{
  "category_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "start_date": "2023-11-07T05:31:56Z",
  "end_date": "2023-11-07T05:31:56Z",
  "pagination": {
    "limit": 10000,
    "offset": 0
  },
  "filters": [],
  "include": {
    "run_id": false,
    "created_at": true,
    "prompt": true,
    "prompt_id": false,
    "mentions": true,
    "prompt_type": true,
    "response": true,
    "citations": true,
    "themes": true,
    "topic": true,
    "region": true,
    "model": true,
    "asset": true,
    "tags": false
  }
}'
{
  "info": {},
  "data": [
    {
      "run_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "created_at": "2023-11-07T05:31:56Z",
      "prompt": "<string>",
      "prompt_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "mentions": [
        "<string>"
      ],
      "prompt_type": "<string>",
      "response": "<string>",
      "citations": [
        "<string>"
      ],
      "themes": [
        "<string>"
      ],
      "topic": "<string>",
      "region": "<string>",
      "model": "<string>",
      "asset": "<string>",
      "tags": [
        "<string>"
      ]
    }
  ]
}

Authorizations

api_key
string
query
required

Body

application/json

Body for the answers endpoint.

category_id
string<uuid>
required
start_date
string<date-time>
required
end_date
string<date-time>
required
pagination
object

Pagination parameters for the results. Default is 10,000 rows with no offset.

filters
Filter[Literal['region', 'topic', 'model', 'prompt_type', 'prompt', 'tag']] · object[]
include
object

Response

Successful Response

Response for the answers endpoint.

info
object
required
data
AnswersRawData · object[]
required