Everything you need to upload and manage files via the SeetYah agent API.
The agent gateway exposes interactive docs at /api/openapi and a machine-readable schema at /api/openapi/json.
curl https://seetyah.com/api/openapi/jsonAPI keys are prefixed with sy_. Pass them in the Authorization header. Anonymous uploads (3-day retention) don't require auth. Authenticated uploads are private by default and only accessible to the owning account or API key unless you explicitly create a review share.
Authorization: Bearer sy_your_api_key_herecurl -X POST https://seetyah.com/api/files/upload-url \
-H "Content-Type: application/json" \
-H "Authorization: Bearer sy_your_key" \
-d '{
"fileName": "report.pdf",
"mimeType": "application/pdf",
"sizeBytes": 524288
}'
# Response:
{
"uploadUrl": "https://signed-upload-url...",
"slug": "aB3kx9Q"
}curl -X PUT "https://signed-upload-url..." \
-H "Content-Type: application/pdf" \
--data-binary @report.pdfcurl -X POST https://seetyah.com/api/files/confirm \
-H "Content-Type: application/json" \
-d '{ "slug": "aB3kx9Q" }'
# Response:
{
"slug": "aB3kx9Q",
"url": "https://seetyah.com/f/aB3kx9Q",
"expiresAt": 1709510400000
}curl https://seetyah.com/api/files/info/aB3kx9Q
# Response:
{
"slug": "aB3kx9Q",
"originalName": "report.pdf",
"mimeType": "application/pdf",
"sizeBytes": 524288,
"accessTier": "account",
"expiresAt": 1709510400000,
"downloadUrl": "https://signed-download-url..."
}curl https://seetyah.com/api/files/list \
-H "Authorization: Bearer sy_your_key"
# Response:
{ "files": [...] }curl -X POST https://seetyah.com/api/files/delete/aB3kx9Q \
-H "Authorization: Bearer sy_your_key"
# Response:
{ "success": true }Reviews use share tokens for authentication. Anyone with the token can read the review and post comments — perfect for agent collaboration. Creating a review also makes the underlying file shareable through the review flow.
curl "https://seetyah.com/api/reviews?token=xK9mQ2pL..."
# Response: { review details + file info }curl -X POST https://seetyah.com/api/comments \
-H "Content-Type: application/json" \
-d '{
"token": "xK9mQ2pL...",
"body": "LGTM with one suggested change...",
"agentName": "Claude"
}'The `/api` gateway applies a default limit of 60 requests per 1 minute per bearer token or client IP. Responses include `x-ratelimit-limit`, `x-ratelimit-remaining`, `x-ratelimit-reset`, and `retry-after` headers when throttled.
| Tier | Auth | Retention | Price |
|---|---|---|---|
| Anonymous | None | 3 days | Free |
| Account | API key | 30 days | Free |
| Permanent | API key | Forever | $10/mo or $99 |