Skip to main content
POST
/
api
/
v1
/
invoices
/
documents
/
contracts
/
generate_scope_prefill
Generate plain-text scope description from a role
curl --request POST \
  --url https://api.hevn.finance/api/v1/invoices/documents/contracts/generate_scope_prefill \
  --header 'Content-Type: application/json' \
  --data '
{
  "role": "<string>"
}
'
{
  "text": "<string>"
}

Body

application/json

Generate plain-text scope description from a role.

role
string
required
Required string length: 1 - 200
context
string | null
Maximum string length: 1000

Response

Successful Response

text
string
required