GET /v1/orgs
Tags: orgs
Responses
200 — Orgs the caller is a member of
JSON
{
"items": {
"$ref": "#/components/schemas/Organization"
},
"type": "array"
}401 — Unauthenticated
Code samples
TypeScript
TypeScript
import { firecase } from "@firecase/sdk";
const result = await firecase.get("/orgs");
console.log(result);Python
Python
import firecase
result = firecase.get("/orgs")
print(result)curl
Bash
curl -X GET https://api.firecase.ai/v1/orgs \
-H "Authorization: Bearer $FIRECASE_API_KEY" \
-H "Content-Type: application/json"