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
/
Dashboard
User Guide
Developer Guides
API Reference
Runtype API
Secrets
Create a secret
Copy page
POST
https://
api.runtype.com
/
v1
/
secrets
Authentication
Authorization
Bearer
API key or Clerk session token
Request
This endpoint expects an object.
key
string
Required
2-100 characters
value
string
Optional
8-10000 characters
description
string
Optional
<=500 characters
Response
Secret created
data
object
Show 10 properties
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
409
Conflict Error
500
Internal Server Error