Get Element

Get element with specified id.

Get Element

GET https://environment.monterosa.cloud/api/v2/elements/:element_id

Path Parameters

Name
Type
Description

element_id

string

Element ID.

Query Parameters

Name
Type
Description

include

string

Include additional relation to the response. For example, include=stats adds element stats to the response. Possible values: stats.

Headers

Name
Type
Description

Authorization

string

Bearer JmsmU5gZb6xNVUgQGoKcQLvQjRhKAUSb

Content-Type

string

application/vnd.api+json

Check below examples of responses for different types of elements.

Get Element

GET undefined/api/v2/elements/:element_id

Path Parameters

Name
Type
Description

element_id

string

V0nMBA4h0zPn

Query Parameters

Name
Type
Description

include

string

o3fT45OPoz20

Headers

Name
Type
Description

Authorization

string

ZpvIOb7D736t

Content-Type

string

Xd3tRdYeUh0X

Example

The response depends on the type of element, see examples below.

curl --request GET \
  --url https://environment.lvis.io/api/v2/elements/2862e114-2fa9-47ae-8774-2ba0b27f1887 \
  --header 'Authorization: Bearer JmsmU5gZb6xNVUgQGoKcQLvQjRhKAUSb' \
  --header 'Content-Type: application/vnd.api+json'

Get data element

curl --request GET \

  --header 'Authorization: Bearer JmsmU5gZb6xNVUgQGoKcQLvQjRhKAUSb' \
  --header 'Content-Type: application/vnd.api+json'

Get prediction element with stats included

curl --request GET \

  --header 'Authorization: Bearer JmsmU5gZb6xNVUgQGoKcQLvQjRhKAUSb' \
  --header 'Content-Type: application/vnd.api+json'

Element attributes described in the Element Resource section.

Last updated

Was this helpful?