HridaSpro Docs

Getting Started

Quickstart

Create your Spro API key and make your first request in under 5 minutes.

This quickstart guide will help you make your first request to the Spro API. You'll be generating AI responses in minutes.

Get Started

1

Get your API key

  1. Go to spro.hridaai.com and sign up or log in
  2. Navigate to API Keys
  3. Copy your key (it starts with spro-)

Warning

Keep your API key secure. Never commit it to version control or share it publicly.

See Get Your API Keys for full details on creating and managing keys.

2

Optional: configure guardrails

Before making requests, you can set up guardrails to inspect every prompt and response in real time.

  1. In your Workspace, open Guardrails
  2. Enable what you need — PII/PHI detection, prompt injection, jailbreak protection, toxicity, and more
  3. Choose an action for each: log, warn, block, or redact

Guardrails run automatically on every request once enabled. See the Guardrails Reference for the full list.

3

Make your first request

Call Spro from any OpenAI-compatible SDK or plain HTTP:

curl https://spro.hridaai.com/v1/responses \  -H "Content-Type: application/json" \  -H "Authorization: Bearer YOUR_API_KEY" \  -d '{    "model": "gpt-oss-20b",    "input": "What is the capital of France?"  }'

Migrate an existing project with an AI agent

Already calling OpenAI or another provider directly? Copy the prompt below into your coding agent and it will point your project at Spro.

Migrate this project to Spro, an OpenAI-compatible API gateway.
1. Replace the provider base URL with https://spro.hridaai.com/v1.2. Read the Spro API key from an environment variable named SPRO_API_KEY. Never hardcode it or commit it.3. Keep the existing OpenAI-compatible request format. Only change the model names to Spro's provider-prefixed form, such as openai/gpt-oss-120b or anthropic/claude-sonnet-4.4. Remove any direct provider keys that are no longer used.5. Add one small test request that calls Spro and prints the response, then run it to confirm the migration works.6. Summarize every file you changed.

Where to paste it:

AgentPaste it into
Claude CodeA new session in your project, or save it as CLAUDE.md
CodexA new session in your project, or save it as AGENTS.md
ClineThe chat panel, or save it as a rule in .clinerules/

Before you run it, set SPRO_API_KEY in your shell or .env file with a key from Get Your API Keys.

Now that you've made your first request, explore more features: