Skip to main content
POST
/
v1
/
flow
/
billing
/
resource-deployment-events
List resource deployment events
curl --request POST \
  --url https://flow.seekr.com/v1/flow/billing/resource-deployment-events \
  --header 'Content-Type: application/json' \
  --data '
{
  "event_timestamp_start": "2023-11-07T05:31:56Z",
  "event_timestamp_end": "2023-11-07T05:31:56Z",
  "user_id": "<string>",
  "resource_id": "<string>",
  "limit": 500,
  "cursor": "<string>",
  "order": "asc"
}
'
import requests

url = "https://flow.seekr.com/v1/flow/billing/resource-deployment-events"

payload = {
"event_timestamp_start": "2023-11-07T05:31:56Z",
"event_timestamp_end": "2023-11-07T05:31:56Z",
"user_id": "<string>",
"resource_id": "<string>",
"limit": 500,
"cursor": "<string>",
"order": "asc"
}
headers = {"Content-Type": "application/json"}

response = requests.post(url, json=payload, headers=headers)

print(response.text)
const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
event_timestamp_start: '2023-11-07T05:31:56Z',
event_timestamp_end: '2023-11-07T05:31:56Z',
user_id: '<string>',
resource_id: '<string>',
limit: 500,
cursor: '<string>',
order: 'asc'
})
};

fetch('https://flow.seekr.com/v1/flow/billing/resource-deployment-events', 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://flow.seekr.com/v1/flow/billing/resource-deployment-events",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'event_timestamp_start' => '2023-11-07T05:31:56Z',
'event_timestamp_end' => '2023-11-07T05:31:56Z',
'user_id' => '<string>',
'resource_id' => '<string>',
'limit' => 500,
'cursor' => '<string>',
'order' => 'asc'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
package main

import (
"fmt"
"strings"
"net/http"
"io"
)

func main() {

url := "https://flow.seekr.com/v1/flow/billing/resource-deployment-events"

payload := strings.NewReader("{\n \"event_timestamp_start\": \"2023-11-07T05:31:56Z\",\n \"event_timestamp_end\": \"2023-11-07T05:31:56Z\",\n \"user_id\": \"<string>\",\n \"resource_id\": \"<string>\",\n \"limit\": 500,\n \"cursor\": \"<string>\",\n \"order\": \"asc\"\n}")

req, _ := http.NewRequest("POST", url, payload)

req.Header.Add("Content-Type", "application/json")

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := io.ReadAll(res.Body)

fmt.Println(string(body))

}
HttpResponse<String> response = Unirest.post("https://flow.seekr.com/v1/flow/billing/resource-deployment-events")
.header("Content-Type", "application/json")
.body("{\n \"event_timestamp_start\": \"2023-11-07T05:31:56Z\",\n \"event_timestamp_end\": \"2023-11-07T05:31:56Z\",\n \"user_id\": \"<string>\",\n \"resource_id\": \"<string>\",\n \"limit\": 500,\n \"cursor\": \"<string>\",\n \"order\": \"asc\"\n}")
.asString();
require 'uri'
require 'net/http'

url = URI("https://flow.seekr.com/v1/flow/billing/resource-deployment-events")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"event_timestamp_start\": \"2023-11-07T05:31:56Z\",\n \"event_timestamp_end\": \"2023-11-07T05:31:56Z\",\n \"user_id\": \"<string>\",\n \"resource_id\": \"<string>\",\n \"limit\": 500,\n \"cursor\": \"<string>\",\n \"order\": \"asc\"\n}"

response = http.request(request)
puts response.read_body
{
  "event_timestamp_start": "2023-11-07T05:31:56Z",
  "event_timestamp_end": "2023-11-07T05:31:56Z",
  "object": "list",
  "data": [
    {
      "id": "<string>",
      "resource_id": "<string>",
      "resource_type": "<string>",
      "resource_amount": 123,
      "allocation_type": "<string>",
      "user_id": "<string>",
      "event_timestamp": "2023-11-07T05:31:56Z",
      "created_at": "2023-11-07T05:31:56Z"
    }
  ],
  "next_cursor": "<string>",
  "has_more": false
}
{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}

Body

application/json
event_timestamp_start
string<date-time> | null
event_timestamp_end
string<date-time> | null
user_id
string | null
resource_id
string | null
limit
integer
default:500
Required range: 1 <= x <= 1000
cursor
string | null
order
enum<string>
default:asc
Available options:
asc,
desc

Response

Successful Response

event_timestamp_start
string<date-time>
required
event_timestamp_end
string<date-time>
required
object
string
default:list
Allowed value: "list"
data
ResourceDeploymentEventResponse · object[]
next_cursor
string | null
has_more
boolean
default:false
Last modified on June 18, 2026