curl --request POST \
  --url https://{domain}-be.glean.com/rest/api/v1/verify \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "documentId": "<string>",
  "action": "VERIFY"
}'
{
  "state": "UNVERIFIED",
  "metadata": {
    "lastVerifier": {
      "name": "George Clooney",
      "obfuscatedId": "abc123"
    },
    "lastVerificationTs": 123,
    "expirationTs": 123,
    "document": {
      "id": "<string>",
      "datasource": "<string>",
      "connectorType": "API_CRAWL",
      "docType": "<string>",
      "content": {
        "fullTextList": [
          "<string>"
        ]
      },
      "containerDocument": {},
      "parentDocument": {},
      "title": "<string>",
      "url": "<string>",
      "metadata": {
        "container": "container",
        "parentId": "JIRA_EN-1337",
        "createTime": "2000-01-23T04:56:07.000Z",
        "datasource": "datasource",
        "author": {
          "name": "name"
        },
        "documentId": "documentId",
        "updateTime": "2000-01-23T04:56:07.000Z",
        "mimeType": "mimeType",
        "objectType": "Feature Request",
        "components": [
          "Backend",
          "Networking"
        ],
        "status": [
          "Done"
        ],
        "customData": {
          "someCustomField": "someCustomValue"
        }
      },
      "sections": [
        {
          "title": "<string>",
          "url": "<string>"
        }
      ]
    },
    "reminders": [
      {
        "assignee": {
          "name": "George Clooney",
          "obfuscatedId": "abc123"
        },
        "requestor": {
          "name": "George Clooney",
          "obfuscatedId": "abc123"
        },
        "remindAt": 123,
        "createdAt": 123,
        "reason": "<string>"
      }
    ],
    "lastReminder": {
      "assignee": {
        "name": "George Clooney",
        "obfuscatedId": "abc123"
      },
      "requestor": {
        "name": "George Clooney",
        "obfuscatedId": "abc123"
      },
      "remindAt": 123,
      "createdAt": 123,
      "reason": "<string>"
    },
    "visitorCount": [
      {
        "count": 123,
        "period": {
          "minDaysFromNow": 123,
          "maxDaysFromNow": 123,
          "start": {
            "epochSeconds": 123,
            "daysFromNow": 123
          },
          "end": {
            "epochSeconds": 123,
            "daysFromNow": 123
          }
        },
        "org": "<string>"
      }
    ],
    "candidateVerifiers": [
      {
        "name": "George Clooney",
        "obfuscatedId": "abc123"
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

X-Scio-Actas
string

Email address of a user on whose behalf the request is intended to be made (should be non-empty only for global tokens).

X-Glean-Auth-Type
string

Auth type being used to access the endpoint (should be non-empty only for global tokens).

Body

application/json
Details about the verification request.
documentId
string
required

The document which is verified.

action
enum<string>

The verification action requested.

Available options:
VERIFY,
DEPRECATE,
UNVERIFY

Response

200
application/json
OK
state
enum<string>
required

The verification state for the document.

Available options:
UNVERIFIED,
VERIFIED,
DEPRECATED
metadata
object