Every path is on https://app.concord.app.
GET/api/v1/records/{entity}/{id}
Read a record
Returns one record and everything stored about it. For a contract (entity=agreement, id agr_… or UUID): every stored term with its canonical value, review state (verified, pending_review or candidate, with the words the app shows), the negation reading where the contract expressly negates the term, the verbatim clause citations, provenance and author (for a person's correction: the reason they gave and the value it replaced), and the review-queue item the term is waiting in, if any; the list of term paths nothing is stored for, and the review-queue items waiting on such a path; the organization's custom fields; what the caller may do with the contract, and as one of its signers; and recordNotice, the renewal notice period and expiry date the contract's record holds (where a clause states another period, the record's is the one that counts). 404 if the contract is not visible to the caller.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
entityrequired | path | one of "agreement" | |
idrequired | path | string |
Responses
| Status | Description |
|---|---|
200 | OK |
400 | Malformed request or invalid parameters, Request payload failed schema validation; BAD_REQUEST: Malformed request or invalid parameters; VALIDATION: Request payload failed schema validation |
401 | 401 — UNAUTHORIZED: Missing or invalid authentication credentials |
403 | 403 — FORBIDDEN: Authenticated but not authorized for this resource |
404 | 404 — NOT_FOUND: Requested resource does not exist |
405 | 405 — METHOD_NOT_SUPPORTED: HTTP method not supported for this resource |
406 | 406 — NOT_ACCEPTABLE: Requested representation is not acceptable |
408 | 408 — TIMEOUT: Request timed out |
409 | 409 — CONFLICT: Resource state conflict — concurrent modification or duplicate |
412 | 412 — PRECONDITION_FAILED: Resource state does not allow the requested operation |
413 | 413 — PAYLOAD_TOO_LARGE: Request payload exceeds the allowed size |
415 | 415 — UNSUPPORTED_MEDIA_TYPE: Request media type is not supported |
422 | 422 — UNPROCESSABLE_CONTENT: Request semantically valid but unprocessable — e.g. file format mismatch |
429 | 429 — TOO_MANY_REQUESTS: Rate limit exceeded — wait retryAfterSeconds before retrying |
499 | 499 — CLIENT_CLOSED_REQUEST: Client closed the request before the server finished |
500 | 500 — INTERNAL_SERVER_ERROR: Unexpected server error — the request should not be retried |
501 | 501 — NOT_IMPLEMENTED: The requested operation is not implemented |
502 | 502 — BAD_GATEWAY: Invalid response from an upstream dependency |
503 | 503 — SERVICE_UNAVAILABLE: Service temporarily unavailable — may be retried after Retry-After |
504 | 504 — GATEWAY_TIMEOUT: Timed out waiting for an upstream dependency |