Get the status of a nesting request
curl --request GET \
--url https://dev.api.nestapi.com/v1/nesting/status \
--header 'Accept: <accept>' \
--header 'Authorization: <api-key>'import requests
url = "https://dev.api.nestapi.com/v1/nesting/status"
headers = {
"Accept": "<accept>",
"Authorization": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Accept: '<accept>', Authorization: '<api-key>'}};
fetch('https://dev.api.nestapi.com/v1/nesting/status', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://dev.api.nestapi.com/v1/nesting/status",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Accept: <accept>",
"Authorization: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://dev.api.nestapi.com/v1/nesting/status"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Accept", "<accept>")
req.Header.Add("Authorization", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://dev.api.nestapi.com/v1/nesting/status")
.header("Accept", "<accept>")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://dev.api.nestapi.com/v1/nesting/status")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Accept"] = '<accept>'
request["Authorization"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"RequestId": "<string>",
"Status": "<string>",
"ResultIdentity": "<string>",
"Error": "<string>",
"CompletedAt": "2023-11-07T05:31:56Z"
}{
"RequestId": "<string>",
"Status": "<string>",
"ResultIdentity": "<string>",
"Error": "<string>",
"CompletedAt": "2023-11-07T05:31:56Z"
}Run & track
Get the status of a nesting request
Returns the current status of a nesting job and, once available, the ResultIdentity you use to fetch the result or an export.
Status values: Queued (accepted, waiting for a nester), Running (nesting now), Completed (finished — fetch the result or an export), Failed (errored — see /v1/nesting/failures).
GET
/
v1
/
nesting
/
status
Get the status of a nesting request
curl --request GET \
--url https://dev.api.nestapi.com/v1/nesting/status \
--header 'Accept: <accept>' \
--header 'Authorization: <api-key>'import requests
url = "https://dev.api.nestapi.com/v1/nesting/status"
headers = {
"Accept": "<accept>",
"Authorization": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Accept: '<accept>', Authorization: '<api-key>'}};
fetch('https://dev.api.nestapi.com/v1/nesting/status', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://dev.api.nestapi.com/v1/nesting/status",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Accept: <accept>",
"Authorization: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://dev.api.nestapi.com/v1/nesting/status"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Accept", "<accept>")
req.Header.Add("Authorization", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://dev.api.nestapi.com/v1/nesting/status")
.header("Accept", "<accept>")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://dev.api.nestapi.com/v1/nesting/status")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Accept"] = '<accept>'
request["Authorization"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"RequestId": "<string>",
"Status": "<string>",
"ResultIdentity": "<string>",
"Error": "<string>",
"CompletedAt": "2023-11-07T05:31:56Z"
}{
"RequestId": "<string>",
"Status": "<string>",
"ResultIdentity": "<string>",
"Error": "<string>",
"CompletedAt": "2023-11-07T05:31:56Z"
}Authorizations
Headers
Accept Header
Available options:
application/json Query Parameters
The job to report on — the RequestId returned when you submitted the nest.
Response
The current status of the job.
NestingStatusResponse
The job this status refers to.
One of Queued, Running, Completed, Failed.
The id of the completed result, once one is available; use it to fetch the result or an export. Null until the job completes.
Error detail when the job has failed; otherwise null.
When the job completed (UTC); null until it has.