API reference

Integrate the T.A.L.A. API

Create, monitor, and unlock vaults through a small set of endpoints. Use this page to authenticate correctly, respect rate policy, and ship reliable integrations.

Authentication

API key

Server to server calls. Send in Authorization: Bearer <token>.

OAuth (on request)

Use for delegated user consent. Reach out for client registration.

Webhook signature

Validate X-TALA-Signature using HMAC SHA256.

Endpoints

POST/vaults

Create a vault with CID, checksum, and unlock time.

Auth required

GET/vaults/{id}

Fetch vault metadata and current status.

Auth required

POST/vaults/{id}/files

Attach an encrypted file to a vault.

Auth required

GET/vaults/{id}/files/{fileId}

Download a file after unlock readiness.

Auth required

DELETE/vaults/{id}

Destroy a vault and its files when policy requires.

Auth required

Sample request

Create vault
curl -X POST https://api.usetala.in/v1/vaults
  -H "Authorization: Bearer YOUR_API_KEY"
  -H "Content-Type: application/json"
  -d '{
    "cid": "bafy...",
    "checksum": "sha256:2f0c...",
    "unlockAt": 1893456000,
    "metadata": {"label": "Exam Set A"}
  }'

Always keep tokens in server environments. Do not embed them in browser code.

Rate policy

TierRequestsConcurrentMax file size
Starter100 per hour5500 MB
Professional1,000 per hour50Unlimited
Enterprise10,000 per hour500Unlimited
Include backoff on 429 responses. We return standard X-RateLimit headers so you can plan retries.

HTTP codes

200OK

Request succeeded.

201Created

Resource created.

400Bad Request

Invalid payload or missing field.

401Unauthorized

Missing or invalid token.

403Forbidden

Caller not allowed for this vault.

404Not Found

Resource does not exist.

429Too Many Requests

Back off and retry later.

500Server Error

Unexpected failure on our side.

Need help or another SDK?

We support REST in any language. Ask for a new SDK, a security review, or guidance for exam day rehearsals.

T.A.R.A. - Trustworthy AI Response Assistant