Skip to content

Enroll Deal

POST
/api/corpus/{deal_id}/enroll
curl --request POST \
--url https://example.com/api/corpus/example/enroll \
--header 'Authorization: Bearer <token>'

Manually enroll a finalized deal into the corpus.

deal_id
required
Deal Id
string

Successful Response

Media type application/json
Example generated
example

Validation Error

Media type application/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object
Example generated
{
"detail": [
{
"loc": [
"example"
],
"msg": "example",
"type": "example",
"input": "example",
"ctx": {}
}
]
}