Skip to main content
Salfio Docs

Search documentation

Type to search this documentation.

Fetch the Public API v1 OpenAPI specification

GET/openapi.yamlFetch the Public API v1 OpenAPI specification

Returns this very document as application/yaml. Unauthenticated — the spec is public. Rate-limited per caller IP (60 req/min) and cacheable for 5 minutes at the edge.

Responses

200OKapplication/yaml

Headers

Cache-Control

Edge cache hint (5 minutes) so a busy docs page doesn't thrash the origin.

string

This OpenAPI document, served verbatim.

Example response
"string"
429Per-organization or per-endpoint rate limit exceeded.application/json

Headers

Retry-After

Seconds the client should wait before retrying.

objectErrorEnvelope
errorobjectrequired
Show child attributes
codestringrequired

Machine-readable error category.

one of "unauthorized", "forbidden", "not_found", "invalid_argument", "conflict", "rate_limited", "internal_error", "not_implemented"

detailsobject

Optional per-code context (field names, retry windows, …).

messagestringrequired

Human-readable description — intended for operator logs, not end-user display.

Example response
{
  "error": {
    "code": "rate_limited",
    "details": {
      "retry_after_seconds": 30
    },
    "message": "Rate limit exceeded"
  }
}

Documentation menu