Palbase ai · API
/ai/support-questionsAsk Palbase's support line
A question about Palbase — its SDKs, its backend framework, its CLI, its platform — answered by a model the platform pays for, from Palbase's documentation and what the asker's project shows (context: the CLI sends its machines, their last builds and a failed build's log). When the answer finds Palbase short of what was asked, the case is logged (logged: true) and the asker is mailed when it is fixed; what was logged is Palbase's own and is not named. It is a person's (a project admin's session or token, or an environment's token narrowed to the support scope: 403 person_required for the secret key), and it is bounded (429 too_many_questions): 30 an hour by a person across their projects, 60 by a project's people — and the platform's day (429 support_paused).
Called by your server, with the project's secret key.
Request body
contextstring · optionalWhat the asker's project shows (at most 32768 characters): its machines, their last builds, a failed build's log. Credential-shaped values are masked before the model or anyone else reads it.questionstring · requiredThe question, in any language. Credential-shaped values are masked before the model or anyone else reads it.curl -X POST "https://<your-ref>.palbase.studio/ai/support-questions" \
-H "apikey: $PALBASE_SECRET_KEY" \
-H "content-type: application/json" \
-d '{"question":"string"}'Responses
200The answer, and its case
400The request is malformed, or names what this module does not offer (the error names which)
401No valid credential
403A publishable key or a user's session: everything here is the project's server's, called with the secret key
429The project's request rate, or the provider's for its connection, is used up — or the project holds as much as it may at once: 32 open streams at one of the module's servers (too_many_streams), 2 pictures being made (too_many_images), 512 MiB of pictures kept here for their day (image_storage_full), or the service — or the project's share of it — holds as much of its requests at once as it takes: their bodies, an embedding request's vectors, the pictures being made (busy). Retry-After says when to try again
503The model service or the database did not answer; retry shortly
defaultAn error: the envelope names it (`error`) and explains it (`error_description`).
Operation AskSupport of ai's contract.