curl --request GET \
--url https://api.questra.ai/surveys/{survey_id_or_slug}/files \
--header 'Authorization: Bearer <token>' \
--header 'X-Org-Id: <x-org-id>'{
"total": 1,
"items": [
{
"id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"name": "<string>",
"mime_type": "<string>",
"org_id": "<string>",
"survey_id": "<string>",
"ai_file_id": "<string>"
}
]
}curl --request GET \
--url https://api.questra.ai/surveys/{survey_id_or_slug}/files \
--header 'Authorization: Bearer <token>' \
--header 'X-Org-Id: <x-org-id>'{
"total": 1,
"items": [
{
"id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"name": "<string>",
"mime_type": "<string>",
"org_id": "<string>",
"survey_id": "<string>",
"ai_file_id": "<string>"
}
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Unique ID or slug for the survey to list files from
The number of results to show per page
1 <= x <= 100The number of results to skip before returning
x >= 0A word or phrase that matches one or more files to return