API Explorer
Generate a GitHub Actions workflow for `spec0 publish`
Returns a ready-to-use GitHub Actions workflow YAML that runs spec0 publish
only when the specified spec file changes.
Authorization
BearerAuth AuthorizationBearer <token>
Bearer token. Either a Personal Access Token (pat_...) or a Service Account
Token (sat_...). Issued via the Spec0 dashboard or /me/personal-access-tokens.
In: header
Query Parameters
specFilePath*string
apiName?string
API name to embed in the generated workflow. Falls back to spec filename basename if omitted.
branch?string
Default
"main"Response Body
application/json
application/json
application/json
application/json
curl -X GET "https://app.spec0.io/api/v1/public/ci/config?specFilePath=string"{
"workflowYaml": "string",
"filePath": ".github/workflows/spec0-publish.yml"
}{
"status": 0,
"title": "string",
"detail": "string",
"type": "string",
"instance": "string"
}{
"error": "string",
"message": "string"
}{
"status": 0,
"title": "string",
"detail": "string",
"type": "string",
"instance": "string"
}Was this helpful?