[Integrations](https://spiral.ai/integrations) › [Muse Code](https://spiral.ai/integrations/muse-code) › [AER application decision](https://spiral.ai/integrations/muse-code/aer-application-decision)

# How to Use AER application decision in Muse Code

Returns the published outcome and decision date for an application, with applicant, project description, locations, and document links. Use it to check what the AER decided after an application notice.

|  |  |
| --- | --- |
| Model | AER application decision |
| Available through | Alexandria |
| Category | Public Records |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with AER application decision in Muse Code

- Use AER application decision for application 34120723 and populate our decision panel with the returned outcome, date, description, and document links.
- Use AER application decision to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from AER application decision and tell me what changed since last week.
- Check AER application decision and summarize what you find in three bullet points.
- Pull the newest data from AER application decision and give me the result as a table.

## How to set up AER application decision in Muse Code

Pick the way that suits you. Each takes about two minutes.

### Use Spiral's MCP server

1. **Install Muse Code**

```bash
curl -fsSL https://dev.meta.ai/install.sh | bash
```

2. **Ask Muse to add the server**: Start `muse` and ask:

```text
Add the Spiral MCP server at https://api.spiral.ai/mcp
```

3. **Sign in**: In your terminal, run:

```bash
muse mcp login spiral
```

### Use the Spiral skill

1. **Send Muse Code this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run AER application decision**: One request; the result comes back by polling or a webhook.

```bash
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": "aer-ca/energy-regulator-decisions-directives-notices/get_published_decision",
    "input": {
      "application_number": "<application_number>"
    }
  }'
```

Then paste one of the prompts above: Muse Code finds AER application decision on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/muse-code

## AER application decision tools and prices

- [Alberta Energy Regulator (aer.ca) · Get published decision](https://spiral.ai/tools/alexandria/aer-ca/energy-regulator-decisions-directives-notices/get_published_decision) (Alexandria): $0.00873 per call.

## What can you do with AER application decision in Muse Code?

Build a searchable register of Alberta application records and regulatory publications in your project. A coding agent can connect application numbers, directive references, dates, and source links to your existing review screens.

### Prepare a project review

Assemble an Alberta project's application notice and published decision, then find relevant directives and the bulletins announcing their revisions. Give reviewers a dated source list and distinguish the proposed activity from the recorded outcome.

### Build an acquisition diligence file

Review public application notices and decisions for an Alberta operator alongside relevant regulatory publications. Organize the evidence by application number and directive number for the transaction team's review.

### Prepare a municipal briefing

Explain proposed energy activity and recorded application outcomes near an Alberta municipality. Add the relevant directive descriptions and regulatory announcements so readers can follow both the project record and its regulatory context.

### Check a regulatory research report

Verify a report's cited application numbers, decision outcomes, directive editions, and bulletin announcements against the published records. Locate missing references through publication listings and website search.

### Follow an application to its decision

Read an application's proposed activity and locations, then check its published decision record. Present the notice dates and decision date together in a project timeline.

### Maintain an application evidence register

Keep public business application descriptions, locations, notice dates, and recorded outcomes together. Link each entry to its source documents for later project reviews.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Muse Code guides](https://spiral.ai/integrations/muse-code)

## AER application decision in other agents

- [Amp](https://spiral.ai/integrations/amp/aer-application-decision)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/aer-application-decision)
- [Claude](https://spiral.ai/integrations/claude-desktop/aer-application-decision)
- [Claude Code](https://spiral.ai/integrations/claude-code/aer-application-decision)
- [Cline](https://spiral.ai/integrations/cline/aer-application-decision)
- [Codex](https://spiral.ai/integrations/codex/aer-application-decision)
- [Cursor](https://spiral.ai/integrations/cursor/aer-application-decision)
- [Devin](https://spiral.ai/integrations/devin/aer-application-decision)
- [dots](https://spiral.ai/integrations/dots/aer-application-decision)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/aer-application-decision)
- [Gemini](https://spiral.ai/integrations/gemini/aer-application-decision)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/aer-application-decision)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/aer-application-decision)
- [goose](https://spiral.ai/integrations/goose/aer-application-decision)
- [Grok](https://spiral.ai/integrations/grok/aer-application-decision)
- [Grok Build](https://spiral.ai/integrations/grok-build/aer-application-decision)
- [Hermes](https://spiral.ai/integrations/hermes/aer-application-decision)
- [Instinct](https://spiral.ai/integrations/instinct/aer-application-decision)
- [Manus](https://spiral.ai/integrations/manus/aer-application-decision)
- [Muse](https://spiral.ai/integrations/muse/aer-application-decision)
- [n8n](https://spiral.ai/integrations/n8n/aer-application-decision)
- [Notion](https://spiral.ai/integrations/notion/aer-application-decision)
- [OpenClaw](https://spiral.ai/integrations/openclaw/aer-application-decision)
- [opencode](https://spiral.ai/integrations/opencode/aer-application-decision)
- [Perplexity](https://spiral.ai/integrations/perplexity/aer-application-decision)
- [Raycast](https://spiral.ai/integrations/raycast/aer-application-decision)
- [VS Code](https://spiral.ai/integrations/vscode/aer-application-decision)
- [Windsurf](https://spiral.ai/integrations/windsurf/aer-application-decision)
- [Zapier](https://spiral.ai/integrations/zapier/aer-application-decision)

## More Muse Code guides

- [gob.mx publication archive](https://spiral.ai/integrations/muse-code/gob-mx-publication-archive)
- [AER application notice](https://spiral.ai/integrations/muse-code/aer-application-notice)
- [gob.mx procedure details](https://spiral.ai/integrations/muse-code/gob-mx-procedure-details)
- [AER bulletin](https://spiral.ai/integrations/muse-code/aer-bulletin)
- [gob.mx press release](https://spiral.ai/integrations/muse-code/gob-mx-press-release)
- [AER directive details](https://spiral.ai/integrations/muse-code/aer-directive-details)

## Questions about AER application decision in Muse Code

**Can Muse Code use AER application decision?**

Yes. Add Spiral to Muse Code as an MCP server, and Muse Code can find and run AER application decision like any built-in tool.

**How much does AER application decision cost in Muse Code?**

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Muse Code plan is separate.

**Do I need an Alexandria account to use AER application decision in Muse Code?**

No. Spiral runs AER application decision on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up AER application decision in Muse Code?**

About two minutes: install Muse Code, then ask Muse to add the server, then sign in.

**Does Muse Code wait while AER application decision runs?**

AER application decision runs in the background. Muse Code starts the run, checks on it and gives you the json when it's ready.

**What area do these AER records cover?**

These records concern Alberta energy regulation. AER directives set requirements and processes for energy companies operating in Alberta.

**How much application history does the notice tool cover?**

The AER describes Public Notice of Application as covering applications filed in the last 30 days. It should not be treated as a complete historical application archive.

**Does an AER bulletin establish a new requirement?**

A bulletin may announce a requirement, but it does not establish one. Check the referenced directive for the published requirements and processes.

**Does a directive result include the full directive PDF text?**

The documented response includes landing-page purpose text and a PDF link. Use that link when you need the directive's detailed sections rather than its landing-page description.

**Can website search find consultation documents?**

Yes. The documented search results include a PDF titled “What We Heard” about draft Directive 056, so results can include consultation material as well as directive pages.

