Requests API
Submit a data request and ask for samples from code.
Submit a request
POST /api/v1/requests
curl -X POST https://quarrydata.ai/api/v1/requests \
-H "Authorization: Bearer $QUARRY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"data_types": ["call_audio"],
"languages": ["Tamil", "Telugu"],
"domains": ["Finance"],
"volume": "1 to 10 TB",
"timeline": "1 to 3 months",
"exclusivity": "open_to_both",
"description": "Collections calls with promise-to-pay outcomes, agent and customer on separate channels.",
"publish_to_demand_board": false
}'
{ "data": { "id": "RQ-0151", "status": "received" } }
A sourcing lead replies within one business day. With publish_to_demand_board: true, an anonymised version is posted to the demand board.
Ask for a sample
POST /api/v1/samples/{id}
curl -X POST https://quarrydata.ai/api/v1/samples/QD-7K2P \
-H "Authorization: Bearer $QUARRY_API_KEY"
{ "status": "pending_verification" }
The response is 202 Accepted. Once your account and its NDA acceptance are verified, an expiring download link is sent to your account's contact.
Errors
| Status | error.code | When |
|---|---|---|
| 401 | unauthorized | Missing or invalid key |
| 403 | nda_required | Your organisation hasn't accepted the sample NDA |
| 404 | not_found | No listing with that ID |
| 422 | invalid | A field failed validation; error.fields says which |