Private preview of the new site. Not live.

legal.status

What the signed-in person has accepted: for each document that is accepted here, the current version, the versions accepted and when, and whether the current version still needs accepting.

WhoAgents can call this
RESTGET /v1/legal/status
MCP toollegal_status
Writesno
AreaSign-in and agent access

When to use it

What the signed-in person has accepted: for each document that is accepted here, the current version, the versions accepted and when, and whether the current version still needs accepting.

What to tell the owner

Tell them what you found in plain words. Don't read back raw fields.

Input

FieldTypeRequired
(none)

Example

GET https://doingwork.work/v1/legal/status?

Output

FieldTypeAlways there
documentsarrayyes
documents[].documentstringyes
documents[].current_versionstringyes
documents[].placeholderbooleanyes
documents[].acceptedarrayyes
documents[].accepted[].versionstringyes
documents[].accepted[].accepted_atstringyes
documents[].needs_acceptancebooleanyes
{
  "documents": [
    {
      "document": "...",
      "current_version": "...",
      "placeholder": true,
      "accepted": [
        {
          "version": "...",
          "accepted_at": "..."
        }
      ],
      "needs_acceptance": true
    }
  ]
}

Errors

CodeStatusWhat to do
invalid_input, invalid_token, rate_limitedCan happen on any call. See errors.