v44

latestOpenAPI 3.1.0raw.githubusercontent.com2025-07-1167290343.1 KB
docs

Create User Doc

Creates a new document for a user.

Parameters: user_id (UUID): The unique identifier of the user associated with the document. data (CreateDocRequest): The data to create the document with. x_developer_id (UUID): The unique identifier of the developer associated with the document.

Returns: Doc: The created document.

post/users/{user_id}/docs

Path parameters

user_idstring uuid required

Query parameters

{"stackTrail":"paths:/users/{user_id}/docs:post:parameters:1:schema","oasType":"schema","type":"unknown","title":"Connection Pool"}

Request body

metadataobject nullable
titlestring required
embed_instructionstring nullable

Response

Successful Response

idstring uuid required
metadataobject nullable
created_atstring date-time required
titlestring required
modalitystring nullable
languagestring nullable
embedding_modelstring nullable
embedding_dimensionsinteger nullable