Skip to content
concord.app
Book a demo
esc
concord.app
Book a demo

API reference

Audits. 6 operations.

The Audits operations of the concord.app REST API, each with its parameters, body fields and responses.

Audit log — the immutable business-event trail for the organization.

Every path is on https://app.concord.app.

GET/api/v1/audits

Search the audit trail by actor, action or resource

Returns a cursor-paginated page of audit events for the caller's organization, newest first. The first page (a request without a cursor) carries the total number of matches; later pages omit it. Narrow by action, actor, resource type or id, a single event id, a date range, or generic column filters; up to 500 events per page. For the hash-chained ledger view of the same activity, list audit log entries instead. A narrowed credential (an OAuth token, a narrowed API key, or a run one of them started) reads an event's details (its metadata, changes and the names resolved from its record) as empty unless it holds the read scope of the record the event names; an actor's email needs read:users.

Parameters

NameInTypeDescription
starting_after query string Opaque cursor anchor from a previous page's next_page_url — returns the page starting after this item. Pair with limit. (cursor is the internal pagination dialect and is rejected on the public surface.)
limit query integer
action query one of "create", "read", "update", "delete"
actor_id query string
end_date query string (date-time)
event_id query string
filters query array of object
resource_id query string
resource_type query one of "agreement", "folder", "organization", "user", "tag", "smart_field" and 253 more
with_comment_events query boolean
resource_types query array of one of "agreement", "folder", "organization", "user", "tag", "smart_field" and 253 more
start_date query string (date-time)

Responses

StatusDescription
200OK
400Malformed request or invalid parameters, Request payload failed schema validation; BAD_REQUEST: Malformed request or invalid parameters; VALIDATION: Request payload failed schema validation
401401 — UNAUTHORIZED: Missing or invalid authentication credentials
403403 — FORBIDDEN: Authenticated but not authorized for this resource
404404 — NOT_FOUND: Requested resource does not exist
405405 — METHOD_NOT_SUPPORTED: HTTP method not supported for this resource
406406 — NOT_ACCEPTABLE: Requested representation is not acceptable
408408 — TIMEOUT: Request timed out
409409 — CONFLICT: Resource state conflict — concurrent modification or duplicate
412412 — PRECONDITION_FAILED: Resource state does not allow the requested operation
413413 — PAYLOAD_TOO_LARGE: Request payload exceeds the allowed size
415415 — UNSUPPORTED_MEDIA_TYPE: Request media type is not supported
422422 — UNPROCESSABLE_CONTENT: Request semantically valid but unprocessable — e.g. file format mismatch
429429 — TOO_MANY_REQUESTS: Rate limit exceeded — wait retryAfterSeconds before retrying
499499 — CLIENT_CLOSED_REQUEST: Client closed the request before the server finished
500500 — INTERNAL_SERVER_ERROR: Unexpected server error — the request should not be retried
501501 — NOT_IMPLEMENTED: The requested operation is not implemented
502502 — BAD_GATEWAY: Invalid response from an upstream dependency
503503 — SERVICE_UNAVAILABLE: Service temporarily unavailable — may be retried after Retry-After
504504 — GATEWAY_TIMEOUT: Timed out waiting for an upstream dependency

POST/api/v1/audits/events

Export the audit event trail as CSV or JSON

Builds one CSV or JSON bundle of the organization's audit events, narrowed by action, actor, one or several resource types, IP address, date range or the same generic column filters the audit list takes. Events on agreements the caller cannot read are dropped before the bundle is written; the scan stops at 100,000 rows and sets truncated when more matched. Returns the whole bundle as a single string together with the number of rows actually written. A narrowed credential (an OAuth token, a narrowed API key, or a run one of them started) reads an event's details (its metadata, changes and the names resolved from its record) as empty unless it holds the read scope of the record the event names; an actor's email needs read:users.

Parameters

NameInTypeDescription
Idempotency-Key header string Optional idempotency key. When supplied, a repeat of the same request replays the original response instead of performing the write twice. A retry sent WITHOUT the header is a second write and CAN duplicate its effect — always send one on retries.

Request body

NameTypeDescription
action one of "create", "read", "update", "delete"
actor_id string
end_date string (date-time)
filters array of object
format one of "csv", "json"
ip_address string
resource_type one of "agreement", "folder", "organization", "user", "tag", "smart_field" and 253 more
resource_types array of one of "agreement", "folder", "organization", "user", "tag", "smart_field" and 253 more
start_date string (date-time)

Responses

StatusDescription
200OK
400Malformed request or invalid parameters, Request payload failed schema validation; BAD_REQUEST: Malformed request or invalid parameters; VALIDATION: Request payload failed schema validation
401401 — UNAUTHORIZED: Missing or invalid authentication credentials
403403 — FORBIDDEN: Authenticated but not authorized for this resource
404404 — NOT_FOUND: Requested resource does not exist
405405 — METHOD_NOT_SUPPORTED: HTTP method not supported for this resource
406406 — NOT_ACCEPTABLE: Requested representation is not acceptable
408408 — TIMEOUT: Request timed out
409409 — CONFLICT: Resource state conflict — concurrent modification or duplicate
412412 — PRECONDITION_FAILED: Resource state does not allow the requested operation
413413 — PAYLOAD_TOO_LARGE: Request payload exceeds the allowed size
415415 — UNSUPPORTED_MEDIA_TYPE: Request media type is not supported
422422 — UNPROCESSABLE_CONTENT: Request semantically valid but unprocessable — e.g. file format mismatch
429429 — TOO_MANY_REQUESTS: Rate limit exceeded — wait retryAfterSeconds before retrying
499499 — CLIENT_CLOSED_REQUEST: Client closed the request before the server finished
500500 — INTERNAL_SERVER_ERROR: Unexpected server error — the request should not be retried
501501 — NOT_IMPLEMENTED: The requested operation is not implemented
502502 — BAD_GATEWAY: Invalid response from an upstream dependency
503503 — SERVICE_UNAVAILABLE: Service temporarily unavailable — may be retried after Retry-After
504504 — GATEWAY_TIMEOUT: Timed out waiting for an upstream dependency

GET/api/v1/audits/integrity

Check the unified audit ledger for tamper evidence

Re-walks the unified ledger's keyed hash chain (the surviving tamper-evidence regime: per-org hmac-sha256: chain links plus the keyed-cutover watermark) and reports what it was able to VERIFY — not merely what it walked. coverage.rows_walked is every row visited; coverage.rows_verified is the subset whose hash link was recomputed and matched; coverage.rows_skipped is the rows carrying no hash link (the documented fallback/seed class plus the folded pre-D-30 history), which are unverifiable rather than tampered — tamper inside them cannot be detected by this walk. total_checked is the VERIFIED count. verified is true only when the chain is intact AND nothing was skipped; status keeps a coverage gap (partially_verified, unverifiable) distinguishable from tamper evidence (broken). first_broken_at is the timestamp of the first row that failed verification — null when none did.

Parameters

NameInTypeDescription
limit query integer

Responses

StatusDescription
200OK
400Malformed request or invalid parameters, Request payload failed schema validation; BAD_REQUEST: Malformed request or invalid parameters; VALIDATION: Request payload failed schema validation
401401 — UNAUTHORIZED: Missing or invalid authentication credentials
403403 — FORBIDDEN: Authenticated but not authorized for this resource
404404 — NOT_FOUND: Requested resource does not exist
405405 — METHOD_NOT_SUPPORTED: HTTP method not supported for this resource
406406 — NOT_ACCEPTABLE: Requested representation is not acceptable
408408 — TIMEOUT: Request timed out
409409 — CONFLICT: Resource state conflict — concurrent modification or duplicate
412412 — PRECONDITION_FAILED: Resource state does not allow the requested operation
413413 — PAYLOAD_TOO_LARGE: Request payload exceeds the allowed size
415415 — UNSUPPORTED_MEDIA_TYPE: Request media type is not supported
422422 — UNPROCESSABLE_CONTENT: Request semantically valid but unprocessable — e.g. file format mismatch
429429 — TOO_MANY_REQUESTS: Rate limit exceeded — wait retryAfterSeconds before retrying
499499 — CLIENT_CLOSED_REQUEST: Client closed the request before the server finished
500500 — INTERNAL_SERVER_ERROR: Unexpected server error — the request should not be retried
501501 — NOT_IMPLEMENTED: The requested operation is not implemented
502502 — BAD_GATEWAY: Invalid response from an upstream dependency
503503 — SERVICE_UNAVAILABLE: Service temporarily unavailable — may be retried after Retry-After
504504 — GATEWAY_TIMEOUT: Timed out waiting for an upstream dependency

GET/api/v1/audits/log

List the hash-chained audit log of mutations

Returns a cursor-paginated page of the canonical audit log, newest first: one hash-chained, sequence-numbered entry per recorded mutation, carrying the acting identity, the action, the target resource and, once a timestamping checkpoint covers it, the attestation. Narrow by action, actor, target type or id, or a date range. Entries whose agreement the caller cannot read come back record-only — the record is kept, the payload stripped — rather than hidden, so a deletion never erases its own trail. The before and after fields are reserved and always null on this projection. For the wider event feed, including logins and reads, search the audit trail instead. A narrowed credential (an OAuth token, a narrowed API key, or a run one of them started) reads an event's details (its metadata, changes and the names resolved from its record) as empty unless it holds the read scope of the record the event names; an actor's email needs read:users.

Parameters

NameInTypeDescription
action query string
actor_id query string
starting_after query string Opaque cursor anchor from a previous page's next_page_url — returns the page starting after this item. Pair with limit. (cursor is the internal pagination dialect and is rejected on the public surface.)
end_date query string (date-time)
limit query integer
target_type query string
target_id query string
start_date query string (date-time)

Responses

StatusDescription
200OK
400Malformed request or invalid parameters, Request payload failed schema validation; BAD_REQUEST: Malformed request or invalid parameters; VALIDATION: Request payload failed schema validation
401401 — UNAUTHORIZED: Missing or invalid authentication credentials
403403 — FORBIDDEN: Authenticated but not authorized for this resource
404404 — NOT_FOUND: Requested resource does not exist
405405 — METHOD_NOT_SUPPORTED: HTTP method not supported for this resource
406406 — NOT_ACCEPTABLE: Requested representation is not acceptable
408408 — TIMEOUT: Request timed out
409409 — CONFLICT: Resource state conflict — concurrent modification or duplicate
412412 — PRECONDITION_FAILED: Resource state does not allow the requested operation
413413 — PAYLOAD_TOO_LARGE: Request payload exceeds the allowed size
415415 — UNSUPPORTED_MEDIA_TYPE: Request media type is not supported
422422 — UNPROCESSABLE_CONTENT: Request semantically valid but unprocessable — e.g. file format mismatch
429429 — TOO_MANY_REQUESTS: Rate limit exceeded — wait retryAfterSeconds before retrying
499499 — CLIENT_CLOSED_REQUEST: Client closed the request before the server finished
500500 — INTERNAL_SERVER_ERROR: Unexpected server error — the request should not be retried
501501 — NOT_IMPLEMENTED: The requested operation is not implemented
502502 — BAD_GATEWAY: Invalid response from an upstream dependency
503503 — SERVICE_UNAVAILABLE: Service temporarily unavailable — may be retried after Retry-After
504504 — GATEWAY_TIMEOUT: Timed out waiting for an upstream dependency

GET/api/v1/audits/retention-config

Get audit retention periods in years

Returns how many years the organization keeps each class of audit record — audit events, business events and meta-audit records — rounded from the retention policy stored in days. source says where the figures came from: org_policy or system_default when all three agree, a per-class breakdown such as business_events:org_policy, meta_audit:system_default when they differ, and fallback when the policy lookup failed and the built-in defaults (7/7/10 years) were substituted.

Responses

StatusDescription
200OK
400Malformed request or invalid parameters, Request payload failed schema validation; BAD_REQUEST: Malformed request or invalid parameters; VALIDATION: Request payload failed schema validation
401401 — UNAUTHORIZED: Missing or invalid authentication credentials
403403 — FORBIDDEN: Authenticated but not authorized for this resource
404404 — NOT_FOUND: Requested resource does not exist
405405 — METHOD_NOT_SUPPORTED: HTTP method not supported for this resource
406406 — NOT_ACCEPTABLE: Requested representation is not acceptable
408408 — TIMEOUT: Request timed out
409409 — CONFLICT: Resource state conflict — concurrent modification or duplicate
412412 — PRECONDITION_FAILED: Resource state does not allow the requested operation
413413 — PAYLOAD_TOO_LARGE: Request payload exceeds the allowed size
415415 — UNSUPPORTED_MEDIA_TYPE: Request media type is not supported
422422 — UNPROCESSABLE_CONTENT: Request semantically valid but unprocessable — e.g. file format mismatch
429429 — TOO_MANY_REQUESTS: Rate limit exceeded — wait retryAfterSeconds before retrying
499499 — CLIENT_CLOSED_REQUEST: Client closed the request before the server finished
500500 — INTERNAL_SERVER_ERROR: Unexpected server error — the request should not be retried
501501 — NOT_IMPLEMENTED: The requested operation is not implemented
502502 — BAD_GATEWAY: Invalid response from an upstream dependency
503503 — SERVICE_UNAVAILABLE: Service temporarily unavailable — may be retried after Retry-After
504504 — GATEWAY_TIMEOUT: Timed out waiting for an upstream dependency

GET/api/v1/audits/signing-by-document

List the signing audit trail for one document

Returns the signing ceremony evidence trail recorded for a single agreement, newest first: request created, cancelled or expired, signer notified, reminder sent, OTP generated, verified or failed, ceremony started, intent captured, field filled, signature created, applied or failed, signer delegated, signed or declined, and request completed. Each event carries its type, the acting identity, the IP address, the user agent and, where the event belongs to one signer, that signer's email. A reader outside the company that owns the agreement (a person another company of the account shared it with, a guest, a link reader) is handed who and when only: each event's type and time, the actor and the signer by display name, and no open signing issues; the identity, address, user agent and metadata fields read empty for them. agreementId is REQUIRED — this reads one agreement's trail, it does not aggregate signings across the organization; up to 500 events per call, 50 by default. An agreement the caller cannot reach answers not found, as every agreement read does. A narrowed credential (an OAuth token, a narrowed API key, or a run one of them started) reads an event's details (its metadata, changes and the names resolved from its record) as empty unless it holds the read scope of the record the event names; an actor's email needs read:users.

Parameters

NameInTypeDescription
agreement_id
required
query string
limit query integer

Responses

StatusDescription
200OK
400Malformed request or invalid parameters, Request payload failed schema validation; BAD_REQUEST: Malformed request or invalid parameters; VALIDATION: Request payload failed schema validation
401401 — UNAUTHORIZED: Missing or invalid authentication credentials
403403 — FORBIDDEN: Authenticated but not authorized for this resource
404404 — NOT_FOUND: Requested resource does not exist
405405 — METHOD_NOT_SUPPORTED: HTTP method not supported for this resource
406406 — NOT_ACCEPTABLE: Requested representation is not acceptable
408408 — TIMEOUT: Request timed out
409409 — CONFLICT: Resource state conflict — concurrent modification or duplicate
412412 — PRECONDITION_FAILED: Resource state does not allow the requested operation
413413 — PAYLOAD_TOO_LARGE: Request payload exceeds the allowed size
415415 — UNSUPPORTED_MEDIA_TYPE: Request media type is not supported
422422 — UNPROCESSABLE_CONTENT: Request semantically valid but unprocessable — e.g. file format mismatch
429429 — TOO_MANY_REQUESTS: Rate limit exceeded — wait retryAfterSeconds before retrying
499499 — CLIENT_CLOSED_REQUEST: Client closed the request before the server finished
500500 — INTERNAL_SERVER_ERROR: Unexpected server error — the request should not be retried
501501 — NOT_IMPLEMENTED: The requested operation is not implemented
502502 — BAD_GATEWAY: Invalid response from an upstream dependency
503503 — SERVICE_UNAVAILABLE: Service temporarily unavailable — may be retried after Retry-After
504504 — GATEWAY_TIMEOUT: Timed out waiting for an upstream dependency

See it on your contracts.

Book a demo

Trusted by teams at

  • 4M+ documents signed since 2014