Audits
Create a clinical audit
Generates an audit from the supplied source data.
The API may also generate a private PDF and return a temporary signed PDF URL. Email delivery can use the client's saved notification configuration or be explicitly requested in the request body.
Webhook delivery can be requested with webhook_url or use the client's saved webhook configuration.
post/audits
Request
- Base URLhttp://127.0.0.1:5000/api/v1
- AuthAPI key in header X-API-Key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"data": "Review informed consent documentation and protocol compliance.",
"email": "compliance@example.com",
"webhook_url": "https://client.example.com/webhooks/clinicalauditai"
}Response
Audit generated successfully
Example response
{
"audit_id": "b9e24f03-5f08-44b8-bc60-a35fb44105d8",
"status": "completed",
"pdf_url_expires_in": 3600
}Changes
No recorded changes to this operation across all 1 revision of this API.