For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Search
/
Ask AI
Support
Dashboard
Getting Started
API Reference
Roadmap
Blog
Support
Dashboard
Flags
Update flag
Copy page
PUT
https://api.schematichq.com
/
flags
/
:flag_id
Authentication
X-Schematic-Api-Key
string
API Key authentication via header
Path parameters
flag_id
string
Required
flag_id
Request
This endpoint expects an object.
default_value
boolean
Required
description
string
Required
<=1024 characters
flag_type
enum
Required
Allowed values:
boolean
key
string
Required
<=512 characters
name
string
Required
<=512 characters
feature_id
string or null
Optional
maintainer_account_member_id
string or null
Optional
Response
OK
data
object
Show 14 properties
params
object
Input parameters
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error