POST
/
copilot
/
{copilot_uuid}
/
docs
{
  "id": 123,
  "user_id": "<string>",
  "copilot": "<string>",
  "context": "<string>",
  "query": "<string>",
  "response": "<string>",
  "custom_object": "<any>",
  "tool_calls": "<any>",
  "submitted_at": "2023-11-07T05:31:56Z",
  "latency": 123,
  "flow": "<string>",
  "feedback": {
    "id": 123,
    "feedback": "<string>",
    "reaction": true,
    "submitted_at": "2023-11-07T05:31:56Z"
  },
  "iteration": 123
}

Headers

user-id
string

Path Parameters

copilot_uuid
string
required

Body

multipart/form-data
files
file[]
required
metadata
string[]
required

Response

201
application/json
Successful Response
id
integer
required
user_id
string
required
copilot
string
required
context
string | null
required
query
string
required
response
string | null
required
custom_object
any | null
required
tool_calls
any | null
required
submitted_at
string | null
required
latency
number | null
required
flow
string | null
required
feedback
object | null
required
iteration
integer | null
required