API
POST /v1/bluejay-as-code
Apply your setup from YAML.
POST /v1/bluejay-as-code
Applies a bundle. Bluejay matches each item by
bluejay_as_code_id:
- No match: Bluejay creates the item.
- Match with changed fields: Bluejay updates the item.
- Match with the same fields: no change.
Content-Type is one of these types:
application/yamlapplication/x-yamltext/yamltext/x-yaml
Content-Type is read as JSON. Unreadable YAML, or YAML with anchors and aliases (&, *), returns HTTP 400.
Use --data-binary, since --data strips the line breaks YAML needs:
Headers
Request body
Response
Status codes
Example request
Example response
200
Last modified on October 21, 2026