Check your API key
GET
/v1/ping
const url = 'https://api.agrosat.uz/v1/ping';const options = {method: 'GET', headers: {'X-API-Key': '<X-API-Key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.agrosat.uz/v1/ping \ --header 'X-API-Key: <X-API-Key>'Returns the organization the key belongs to. Free: costs no units.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Key is live
Media typeapplication/json
object
success
required
boolean
data
required
object
organization_id
required
string
Example
{ "success": true, "data": { "organization_id": "cmf1q2w3e0000ab12cd34ef56" }}X-API-Key is missing, unknown, revoked or expired, or the API is not enabled.
Media typeapplication/json
object
success
required
boolean
error
required
object
code
required
string
message
required
English text; may change, branch on code
string
existing_field_id
Field already holding this external_id or geometry (409 only)
string
Examples
Exampleinvalid_api_key
invalid_api_key
{ "success": false, "error": { "code": "invalid_api_key", "message": "Missing or invalid API key." }}Over the per-key request rate. Not billed.
Media typeapplication/json
object
success
required
boolean
error
required
object
code
required
string
message
required
English text; may change, branch on code
string
existing_field_id
Field already holding this external_id or geometry (409 only)
string
Examples
Examplerate_limited
rate_limited
{ "success": false, "error": { "code": "rate_limited", "message": "Rate limit exceeded." }}Headers
Section titled “Headers”Retry-After
integer
Example
30Seconds to wait before repeating the request
