Skip to content
Documentation/Documents

Locate latest source units

Find the latest representation and unit IDs of an owned retained source.

Markdown
GET/api/v2/sources/{versionId}/representations/latesthttps://api.webcite.co

When to use it

Use this after registering or publishing a source if you lost the representation response. Read a unit before selecting its figure_index.

Request

No fixed public credit price is specified for this V2 read.

Examples run on your server. Set WEBCITE_API_KEY first. Python examples use the requests package.

curl
curl --fail-with-body -X GET 'https://api.webcite.co/api/v2/sources/YOUR_VERSIONID/representations/latest' \
  -H "x-api-key: $WEBCITE_API_KEY"

Path and query parameters

versionId (path)stringrequired

No request body is required.

Response

Returns representationId, parserVersion, and up to 2,000 sourceUnitId entries with locators and states.

200 response

See the response guidance above. A complete JSON schema is not published for this response.

Errors

A foreign or missing source is unavailable. More than 2,000 units returns an explicit size error.

Error handling and retry guidance