List seeds
curl --request GET \
--url https://api.kitefrost.ai/v1/projects/{project_id}/seedsimport requests
url = "https://api.kitefrost.ai/v1/projects/{project_id}/seeds"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.kitefrost.ai/v1/projects/{project_id}/seeds', 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://api.kitefrost.ai/v1/projects/{project_id}/seeds",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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://api.kitefrost.ai/v1/projects/{project_id}/seeds"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.kitefrost.ai/v1/projects/{project_id}/seeds")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.kitefrost.ai/v1/projects/{project_id}/seeds")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"seeds": [
{
"seed_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"tenant_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"slug": "<string>",
"state": "raw",
"state_changed_at": "2023-11-07T05:31:56Z",
"promoted_project_id": "<string>",
"triaged_by": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"triage_note": "<string>",
"dramatic_premise": "<string>",
"dramatic_situation": "<string>",
"central_tension": {},
"human_tension_grounding": {},
"protagonist_shape": {},
"stakes": {},
"tone": "<string>",
"pack_affinity": [
{}
],
"provenance_class": "generated",
"risk_flags": [
"pii-present"
],
"provenance": {},
"quality_scores": {},
"durability_class": "<string>",
"freshness_ts": "2023-11-07T05:31:56Z",
"stale_after": "2023-11-07T05:31:56Z",
"resonance_score": 123,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"limit": 123,
"offset": 123,
"count": 123
}{
"error": "Forbidden",
"code": "forbidden",
"request_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"message": "Your API key does not have the required scope.",
"doc_url": "https://docs.kitefrost.ai/errors/forbidden"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}{
"error": "Rate limit exceeded",
"code": "rate_limited",
"request_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"message": "You have exceeded the rate limit for your plan.",
"doc_url": "https://docs.kitefrost.ai/errors/rate_limited"
}{
"error": "Internal server error",
"code": "internal_error",
"request_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"message": "An unexpected error occurred.",
"doc_url": "https://docs.kitefrost.ai/errors/internal_error"
}seeds
List seeds
List story seeds for the project with optional lifecycle / provenance / search filters and cursor-style pagination.
GET
/
v1
/
projects
/
{project_id}
/
seeds
List seeds
curl --request GET \
--url https://api.kitefrost.ai/v1/projects/{project_id}/seedsimport requests
url = "https://api.kitefrost.ai/v1/projects/{project_id}/seeds"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.kitefrost.ai/v1/projects/{project_id}/seeds', 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://api.kitefrost.ai/v1/projects/{project_id}/seeds",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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://api.kitefrost.ai/v1/projects/{project_id}/seeds"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.kitefrost.ai/v1/projects/{project_id}/seeds")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.kitefrost.ai/v1/projects/{project_id}/seeds")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"seeds": [
{
"seed_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"tenant_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"slug": "<string>",
"state": "raw",
"state_changed_at": "2023-11-07T05:31:56Z",
"promoted_project_id": "<string>",
"triaged_by": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"triage_note": "<string>",
"dramatic_premise": "<string>",
"dramatic_situation": "<string>",
"central_tension": {},
"human_tension_grounding": {},
"protagonist_shape": {},
"stakes": {},
"tone": "<string>",
"pack_affinity": [
{}
],
"provenance_class": "generated",
"risk_flags": [
"pii-present"
],
"provenance": {},
"quality_scores": {},
"durability_class": "<string>",
"freshness_ts": "2023-11-07T05:31:56Z",
"stale_after": "2023-11-07T05:31:56Z",
"resonance_score": 123,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"limit": 123,
"offset": 123,
"count": 123
}{
"error": "Forbidden",
"code": "forbidden",
"request_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"message": "Your API key does not have the required scope.",
"doc_url": "https://docs.kitefrost.ai/errors/forbidden"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}{
"error": "Rate limit exceeded",
"code": "rate_limited",
"request_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"message": "You have exceeded the rate limit for your plan.",
"doc_url": "https://docs.kitefrost.ai/errors/rate_limited"
}{
"error": "Internal server error",
"code": "internal_error",
"request_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"message": "An unexpected error occurred.",
"doc_url": "https://docs.kitefrost.ai/errors/internal_error"
}Query Parameters
Filter by lifecycle state (e.g. triaged, promoted).
The 6 seed lifecycle states.
Source: mechanics/lifecycle-state-machine.md §1 - wire-form values
match the DB CHECK (state IN ('raw',...)) exactly.
Available options:
raw, triaged, promoted, used, rejected, dead Filter by provenance class. Discrete provenance vocabulary (5 values) per R4 R127-C1.
Source of truth:
docs/design/concepts/green-source-scout/mechanics/provenance-contract.md§2docs/design/concepts/seed-lifecycle-store/mechanics/schema.md(CHECK constraint)docs/design/concepts/story-seed-object/design.md§3.1
Notable absence: there is NO scraped value - the gate enforces by
absence. The DB-level CHECK constraint lists exactly these five.
Available options:
generated, public-domain, licensed, opt-in, operator-inspired Free-text substring match against dramatic_premise / dramatic_situation (case-insensitive).
Required string length:
1 - 120Required range:
1 <= x <= 200Required range:
x >= 0