Skip to content

Mint (or revoke) the public share link for a finished run

POST
/v1/audits/{id}/share
curl --request POST \
--url https://api.monita.ai/v1/audits/example/share \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "revoke": false }'
id
required
string
Media typeapplication/json
object
revoke
boolean

OK

Media typeapplication/json
object
url
required
string
nullable
Examplegenerated
{
"url": "example"
}

Not found

Media typeapplication/json
object
error
required
string
Examplegenerated
{
"error": "example"
}

Run not finished

Media typeapplication/json
object
error
required
string
Examplegenerated
{
"error": "example"
}