Knowledge
Create document
Changed onCreate a new knowledge document. Documents can be attached to avatars to provide additional context during conversations.
post/v1/documents
Request
- Base URLhttps://api.dev.runwayml.com
- URLhttps://api.dev.runwayml.com/v1/documents
- AuthHTTP bearer
Headers
X-Runway-Version'2024-11-06' required
The version of the RunwayML API being used. You can read more about versioning here.
Request body
Example request
{
"name": "Product FAQ",
"content": "# Product FAQ\n\n## What is your return policy?\n\nWe offer a 30-day return policy..."
}Response
Success
Changes
- info
endpoint added
- info