{"items": [...], "cursor": "..."}, where cursor is null on the last page. Pass it back as ?cursor= to get the next one.
Operation
The handle for anything that can take longer than a request. See Long-running operations.What the operation does:
question, review, review_redline, review_decisions, document_action, repository_indexing, report_run, report_import, report_export, playbook_generation or draft.Review
A playbook or instructions review of one or more files. Built: see Get review, which documents every field.counterparty_edits reviews are read, not started, through the API.
The tracked-changes DOCX of every proposed amendment, which the review writes itself. A ZIP of one DOCX per document when the amendments change more than one document.
Finding
One check’s result. Itsid is the check’s id within the review. See List findings.
{ "id", "type", "preview" } for each proposed change. type is modification, insertion, deletion or comment.File
Unchanged from the live API:{ "id", "file_name", "content_type", "content_length", "created_at" }.
Session and message
{ "id", "agent_id", "title", "url", "created_at", "updated_at" }. Get Session also returns message_count.{ "id", "role": "user" | "assistant", "content", "attachments": File[], "status": "completed" | "in_progress" | "error", "created_at" }Repository and document
Live in the preview: see Get repository.{ "id", "name", "description", "document_count", "url", "created_at", "updated_at" }. A single repository adds "indexing_status": "idle" | "indexing" | "failed".{ "id", "file_id", "file_name", "folder_id", "indexing_status": "pending" | "indexed" | "failed", "indexing_error_code", "created_at" }Report
{ "id", "name", "description", "repository_id", "row_count", "column_count", "status": "idle" | "running", "sync_status": "syncing" | "synced" | "failed" | null, "unsynced_document_count": number | null, "url", "available_to_bi_tools", "created_at", "updated_at" }. available_to_bi_tools says whether the report is published to the OData feed. repository_id and sync_status are null for a report whose rows do not follow a repository, such as a report of files. For a report whose rows follow a repository it is syncing while the rows are brought in line with the repository, synced once they match, and failed if the last sync did not finish. unsynced_document_count is how many of the repository’s documents the last finished sync could not add as rows, usually because the repository could not read them, and null for a report of files. Get Report also returns columns: Column[], and Create Report also returns operation_id, the run or import it started.{ "id", "name", "prompt", "type": "text" | "number" | "date" | "boolean" | "single_select" | "multi_select", "options": string[] }{ "row_id", "column_id", "value", "display_value", "status": "empty" | "pending" | "computing" | "done" | "failed", "citations": object[], "reviewed": boolean, "updated_at" }Playbook and check
{ "id", "name", "description", "url", "checks": Check[], "created_at", "updated_at" }. The list route returns { "id", "name", "description", "url" }. url opens the playbook in Wordsmith.{ "id", "name", "instructions", "severity": "high" | "medium" | "low", "standard_position", "fallback_positions": string[] }. fallback_positions is read-only: only negotiation playbooks built in the app have them.Blueprint
{ "id", "name", "description", "url", "published", "placeholders": [{ "key", "label", "type": "text" | "choice" | "multi_choice" | "boolean" | "table", "required", "description", "options" }] }. The list routes return the first five fields. published is false for an organisation blueprint with no published version, which a draft cannot use. url opens the blueprint in Wordsmith; a Wordsmith blueprint opens read-only there, with an option to duplicate it.Research
{ "source", "document_id", "title", "citation", "court_or_issuer", "jurisdiction", "date", "snippet", "url" }{ "source", "document_id", "title", "citation", "date", "url", "text", "text_truncated", "next_offset" }. Pass next_offset back as offset to read on; it is null at the end. See Get research document.Organisation
{ "id", "name", "address", "registration_number", "tax_number", "jurisdictions": string[], "industry": string[], "preferred_signatories": string[], "organization_type", "ownership", "is_part_of_group", "is_regulated", "regulatory_details", "is_gdpr_applicable", "data_storage_locations", "business_description", "target_customer_profiles": string[], "additional_info" }. Agents use it as context about your organisation. An organisation can have several, for example one per group company.{ "id", "name", "email", "kind": "human" | "agent" | "chat_bot" | "service" | "support", "is_suspended", "predefined_roles": ("viewer" | "full_user" | "admin")[], "custom_role_ids": string[], "team_ids": string[], "is_external" }. The live List Users returns the first five fields. team_ids holds the teams the member is on directly. is_external marks someone outside the organisation, such as a supplier or outside counsel: set when they joined from outside the organisation’s verified email domains, or by an admin.{ "id", "name", "parent_team_id", "member_count", "direct_member_count", "member_ids", "hidden", "membership_source": "manual" | "slack_channel", "members": [{ "user_id", "role": "admin" | "member" }] }. The live List Teams returns the first six fields; Get Team adds the rest. members lists direct members only; hidden is true when the team or a team above it is hidden.{ "id", "email", "predefined_roles", "custom_role_ids", "status": "pending" | "accepted" | "expired", "invited_by", "created_at", "expires_at", "bypasses_login_restrictions", "email_sent" }. bypasses_login_restrictions lets the invitee sign in with an email code when the organisation restricts login methods. email_sent appears only on the create and resend responses and says whether that call emailed the invitee. It is false when the installation has no email configured, so an admin shares the link from the Invites tab, and when a create found a pending invite and sent nothing. Invites last 30 days. A revoked invite is deleted. The join link is never returned.{ "id", "name", "type": "predefined" | "custom", "description", "active", "member_count" }. Predefined roles have the ids viewer, full_user and admin, and no description.