Rivier/ Reference/ memory

Add a document to a collection

post/workspace/memory/{id}/upload

Before you call

Credential
Authorization: Bearer $KEY
Scope
memory:write
Graphql
Mutation.memoryCollectionUpload
Sdk
memory.collection.upload
Cli
memory collection upload

Parameters

  • idstring (uuid)required
    In the path

Request bodyapplication/json, required

  • filenamestringrequired
    At most 300 characters.
  • contentstringrequired

Responses

  • 201application/json
    Success

    object

  • 400application/json
    The request was malformed
    • errorstringrequired
    • messagestring
  • 401application/json
    No valid credential
    • errorstringrequired
    • messagestring
  • 403application/json
    The credential lacks the scope, origin or address
    • errorstringrequired
    • messagestring
  • 429application/json
    Over the key's rate limit; see Retry-After
    • errorstringrequired
    • messagestring

This page as Markdown