Autumn Labs
API/Station

Station Summary

Retrieve station summary statistics including pass rates, yields, and retry rates for specified stations

GET
/station/summary

Authorization

AuthorizationRequiredBearer <token>

In: header

Query Parameters

station_idsRequiredstring

Comma-separated list of station IDs

tostring
Default: "2025-06-11T07:25:02.143Z"Format: "date-time"
fromstring
Default: "2025-06-10T07:25:02.144Z"Format: "date-time"

Response Body

Response containing station summary statistics

TypeScript Definitions

Use the response body type in TypeScript.

dataRequiredobject

Station summary statistics including pass rates and yields

messageRequiredstring
metaobject

Standard error response

TypeScript Definitions

Use the response body type in TypeScript.

errorRequiredobject

Standard error response

TypeScript Definitions

Use the response body type in TypeScript.

errorRequiredobject

Standard error response

TypeScript Definitions

Use the response body type in TypeScript.

errorRequiredobject

Standard error response

TypeScript Definitions

Use the response body type in TypeScript.

errorRequiredobject
curl -X GET "https://example.com/station/summary?station_ids=507f1f77bcf86cd799439011%2C507f1f77bcf86cd799439012&to=2025-06-11T07%3A25%3A02.143Z&from=2025-06-10T07%3A25%3A02.144Z" \
  -H "Authorization: Bearer <token>"
fetch("https://example.com/station/summary?station_ids=507f1f77bcf86cd799439011%2C507f1f77bcf86cd799439012&to=2025-06-11T07%3A25%3A02.143Z&from=2025-06-10T07%3A25%3A02.144Z", {
  headers: {
    "Authorization": "Bearer <token>"
  }
})
package main

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

func main() {
  url := "https://example.com/station/summary?station_ids=507f1f77bcf86cd799439011%2C507f1f77bcf86cd799439012&to=2025-06-11T07%3A25%3A02.143Z&from=2025-06-10T07%3A25%3A02.144Z"

  req, _ := http.NewRequest("GET", url, nil)
  req.Header.Add("Authorization", "Bearer <token>")
  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  body, _ := ioutil.ReadAll(res.Body)

  fmt.Println(res)
  fmt.Println(string(body))
}
import requests

url = "https://example.com/station/summary?station_ids=507f1f77bcf86cd799439011%2C507f1f77bcf86cd799439012&to=2025-06-11T07%3A25%3A02.143Z&from=2025-06-10T07%3A25%3A02.144Z"

response = requests.request("GET", url, headers = {
  "Authorization": "Bearer <token>"
})

print(response.text)
{
  "data": {
    "unique_units": 0,
    "total_input": 0,
    "unique_input": 0,
    "total_output": 0,
    "unique_output": 0,
    "first_pass": 0,
    "final_pass": 0,
    "first_pass_yield": 0,
    "final_yield": 0,
    "retry_rate": 0
  },
  "message": "Success",
  "meta": {
    "timestamp": "2019-08-24T14:15:22Z",
    "request_id": "c2ed3e07-8c5f-4be9-b7ec-86bddcedd154",
    "query_duration_ms": 0
  }
}
{
  "error": {
    "code": "string",
    "message": "string",
    "details": null
  }
}
{
  "error": {
    "code": "string",
    "message": "string",
    "details": null
  }
}
{
  "error": {
    "code": "string",
    "message": "string",
    "details": null
  }
}
{
  "error": {
    "code": "string",
    "message": "string",
    "details": null
  }
}