Creates a cloud anchor from the visual features a device captured. Upload the descriptors first with POST /assets/upload and asset_type=anchor-features, then pass the returned url as descriptors_url.
With a client key, project_id must be the key's project, and is_public must be true or left out: a client key cannot read a private anchor back, so it cannot create one.
The response is the whole anchor, including keypoints_json and associations_json, which the read operations never return.
Counts as one request against the team's monthly API request quota, including a request that then fails a check.
Recent Requests
Log in to see full request history
Time
Status
User Agent
Retrieving recent requests…
Loading…
Responses
401
MISSING_API_KEY: no x-api-key header.
INVALID_API_KEY_FORMAT: the key is not rv_live_, rv_client_ or rv_secret_ followed by 64 lowercase hexadecimal characters.
INVALID_API_KEY: no such key, or a key sent with the wrong prefix for its type.
API_KEY_EXPIRED: the key is past its expiry date.
AUTH_ERROR: a user token (rv_ut_) was sent as a Bearer token. This operation does not accept user tokens.
403
PROJECT_NOT_FOUND: project_id does not exist, belongs to another team, or is not the project the key is bound to. The three answers are the same.
API_REQUEST_LIMIT_REACHED: the team's monthly API request quota is used up.
429
RATE_LIMITED: more than 30 a minute from one IP address for your team; or, for a secret key, more than 1,200 requests a minute across all operations. Wait the number of seconds in Retry-After. See Limits.
500
CREATE_FAILED: the anchor could not be stored, for example because a numeric field had the wrong type.
INTERNAL_ERROR: an unexpected error. Retry, and quote meta.request_id to support if it persists.
503
API_KEY_LOOKUP_FAILED: the key could not be checked. Retry; this does not mean the key is invalid.
PROJECT_LOOKUP_FAILED: the project could not be checked. Retry.