I have a pro plan with unlimited documents but I am unable to add a new document to a studio knowledge base. I can successfully call the studio/document/list
endpoint with the API key I generated, and I tried generating a second key as well but neither key works to create documents.
Request:
curl -X "POST" "https://api.pickaxe.co/v1/studio/document/create" \
-H 'Authorization: Bearer studio-XXX' \
-H 'Content-Type: application/json' \
-d $'{
"name": "Test Doc",
"rawContent": "The document body for generating answers"
}'
Response:
HTTP/1.1 500 Internal Server Error
Alt-Svc: h3=":443"; ma=2592000
Content-Length: 97
Content-Type: application/json
Date: Mon, 30 Jun 2025 23:52:31 GMT
Modal-Function-Call-Id: fc-01JZ1M3C538FRFTS5CXHYAG1X5
Vary: accept-encoding
Connection: close
{"success":false,"error":"Document limit reached for your plan. You can only have -1 documents."}
I tried generating the request with a few different tools (python, curl, etc), but they all came back with the same response.