Athena
ProvisionLocalPipeline

Run a local provisioning pipeline for a client database

Executes a full local provisioning pipeline (create DB, apply schema, register client, optional Neon/Railway/Render or docker local). Body specifies the client_name and provisioning mode/options. Requires static admin key. This is a long-running operation; the response contains the created pipeline/job identifiers.

POST
/admin/provision/local/pipeline

Header Parameters

apikey*string

The static admin key configured as ATHENA_KEY_12. Authorization headers (Bearer <key>), X-API-Key, X-Athena-Key, or ?api_key= are also accepted.

Response Body

application/json

curl -X POST "https://athena-cluster.com/admin/provision/local/pipeline" \  -H "apikey: string"
Empty
Empty
Empty
Empty
{
  "status": "error",
  "message": "string",
  "error": "string"
}