Appearance
Get a request by ID
| GET | /requests/{id} |
Path parameters
| Name | Type | Description | Required |
|---|---|---|---|
id | string | Id of the request | ✅ |
Query parameters
| Name | Type | Description | Required |
|---|---|---|---|
withInflight | boolean | Include extra inflight information |
Response schema
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Examples
bash
curl \
-H "Content-Type: application/json" \
-H "Authorization: Bearer {jwt}" \
"$API_BASE_URL/requests/{id}"ts
const url = "<base-url>/requests/{id}";
const headers = {
"Content-Type": "application/json",
Authorization: "Bearer <jwt>"
};
fetch(url, { headers }).then(res => {
console.log(res)
});python
import requests
url = "<base-url>/requests/{id}"
headers = {
"Content-Type": "application/json",
"Authorization": "Bearer <jwt>"
}
print(requests.get(url, headers=headers))