How to Use Federal Court decision text in Codex
Returns a published Federal Court decision's text, citation, court file numbers, and judge. Use it to read the reasons and extract supporting paragraphs after locating a case.
Prompts to try with Federal Court decision text in Codex
Copy an example into Codex, or ask in your own words.
Locate the published decision for 2024 FC 42, then use Federal Court decision text to check the quotations in my draft against its numbered paragraphs.
Use Federal Court decision text to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from Federal Court decision text and tell me what changed since last week.
Check Federal Court decision text and summarize what you find in three bullet points.
Pull the newest data from Federal Court decision text and give me the result as a table.
How to set up Federal Court decision text in Codex
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the hosted server
codex mcp add spiral --url https://api.spiral.ai/mcp
- Sign in
Codex opens the browser: sign in to Spiral and click Authorize. No API key. codex mcp list then shows Spiral.
codex mcp login spiral
Use the Spiral skill
- Send Codex this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run Federal Court decision text
One request; the result comes back by polling or a webhook.
curl https://api.spiral.ai/v1/runs \ -H "Authorization: Bearer $SPIRAL_API_KEY" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: $(uuidgen)" \ -d '{ "provider": "alexandria", "model": "decisions-fct-cf-gc-ca/court-cases/get_decision", "input": { "url": "<url>" } }'
Then paste one of the prompts above: Codex finds Federal Court decision text on Spiral, shows the price and runs it.
Federal Court decision text providers and prices
Spiral runs Federal Court decision text through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask Codex for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Offset | a number from 0 | Character offset into the decision text (default 0); use the continuation cursor. | |
| Item ID | a number from 1 | Decisia item id, from the other functions or a decision URL (/item/531684/). | |
| Language | en or fr | Page language: 'en' (default) or 'fr'. When the French version does not exist yet the English one is returned with a warning. | |
| Max chars | 500 to 100000 | Most characters of text to return (default 30000). |
Every API field of Federal Court of Canada Decisions · Get decision is on its tool page: open its card above.
What can you do with Federal Court decision text in Codex?
Build a Federal Court research index that connects decision citations with excerpts from the reasons. A coding agent can organize retrieved material in project files and check whether draft quotations match numbered paragraphs.
Patent decisions digest
Review published entries, search for patent issues involving companies such as Pfizer, look up citations selected for the digest, and read the reasons before describing each ruling.
Copyright research notebook
Browse published decisions, find copyright cases involving broadcasters or publishers, resolve cited Federal Court authorities, and collect the paragraphs supporting each research note.
Judicial review teaching pack
Select published decisions, search for procedural fairness and statutory interpretation, locate known citations, and assemble excerpts with paragraph references for classroom discussion.
Published decisions research index
Build an index from browsed entries, use topic searches to assemble subject reading lists, match citations to decision references, and attach short excerpts from the reasons.
Brief citation review
Locate Federal Court citations already used in a draft, read the corresponding reasons, and compare each cited paragraph with the proposition it is meant to support.
Public interest reporting
Find published decisions involving public organizations such as the Canadian Civil Liberties Association and verify quotations against the reasons before preparing an article.
New decisions reading queue
Review newly encountered entries, search for subjects relevant to a research team, and retrieve the reasons for the decisions selected for discussion.
More on Federal Court decision text and Codex
Overview
Federal Court decision text in other agents
Questions about Federal Court decision text in Codex
Can Codex use Federal Court decision text?
Yes. Add Spiral to Codex as an MCP server, and Codex can find and run Federal Court decision text like any built-in tool.
How much does Federal Court decision text cost in Codex?
$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Codex plan is separate.
Do I need an Alexandria account to use Federal Court decision text in Codex?
No. Spiral runs Federal Court decision text on its own Alexandria account. You sign in to Spiral once and never paste a key.
How long does it take to set up Federal Court decision text in Codex?
About two minutes: add the hosted server, then sign in.
Does Codex wait while Federal Court decision text runs?
Federal Court decision text runs in the background. Codex starts the run, checks on it and gives you the json when it's ready.
Does this source cover court decisions from every province?
The Federal Court hears federal matters across Canada, but it does not have the general jurisdiction of provincial superior courts. This source is for Federal Court decisions, rather than a nationwide collection of every court's judgments.
Does the Court publish every interim ruling?
No. Interlocutory decisions are generally absent from the Court's website, although the Court may publish those it considers to have precedential value.
How soon should a decision appear online?
The Court's publication notice specifies no later than two days after the Registry sends the decision to counsel of record. For an unrepresented party, it specifies no later than ten days after sending the decision to that party.
Are English and French decisions always available together?
No. Section 20 of the Official Languages Act permits qualifying decisions to be issued in one official language first, with the other following at the earliest possible time.
Does a published decision include the complete court file?
No. The Court directs readers to its separate Court Files service for filed documents and procedural histories. A published judgment should not be treated as the complete litigation record.
Start using Federal Court decision text in Codex
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Codex:
set up https://spiral.ai/SKILL.md


