Resolve mentions
POST/accounts/:accountId/resolve
Resolve mentions to identities in dataset_uri, or return unresolved. The route is metered against the account; accountId is the accountId field of GET /accounts/me called with the same key.
Request
Responses
- 200
- 401
- 403
- 422
- 429
- 502
- 503
Successful Response
Response Headers
What the call counts against the monthly allowance of requests: one, plus one per 1,000 characters of text.
Monthly allowance of the account for resolve().
Requests left in the current period.
Seconds until the allowance resets.
Missing or invalid WordLift API key (unauthorized).
The key does not belong to this account.
The body fails validation (invalid_request, with errors) or the request is refused: invalid_span, invalid_identity, dataset_not_supported, dataset_required, invalid_dataset, unknown_include, candidates_not_supported.
The account's monthly allowance for resolve() is spent. Nothing was resolved.
Response Headers
Monthly allowance.
Always 0 here.
Seconds until the allowance resets.
The account's knowledge graph could not be read (dataset_unavailable).
The engine is loading the account's knowledge graph (dataset_warming, retry after the seconds given) or has no index (dataset_unavailable).
Response Headers
Seconds to wait before retrying.