# GrassBlade LRS API Documentation

This is the complete API documentation for connecting to the GrassBlade LRS API using MindCloud's Universal API.

MindCloud offers one normalized API to access 3,400+ apps from a single place. It centralizes authentication and normalizes app APIs so they are easier and more consistent to use.

## Quickstart

1. A **MindCloud account** — sign in or create an account at [MindCloud](https://app.mindcloud.co).
2. A **MindCloud API Key** — create one in [API Keys](https://app.mindcloud.co/user/api-keys). Keep it on your server.
3. At least one **GrassBlade LRS connection** — create or choose one in [Connections](https://app.mindcloud.co/credentials). Note its `connectionId`.

```text
POST https://connect.mindcloud.co/v2/universal/apps/grassBladeLRS/actions/{actionSlug}/run
```

## GrassBlade LRS actions

- POST `create-activity-profile` Create Activity Profile
- POST `create-agent-profile` Create Agent Profile
- POST `create-state-document` Create State Document
- POST `create-statement` Create Statement
- POST `create-statement-batch` Create Statement Batch
- PUT `create-statement-by-id` Create Statement By ID
- DELETE `delete-activity-profile` Delete Activity Profile
- DELETE `delete-agent-profile` Delete Agent Profile
- DELETE `delete-all-state-for-context` Delete All State For Context
- DELETE `delete-state-document` Delete State Document
- GET `get-about` Get About
- GET `get-activity-by-id` Get Activity By ID
- GET `get-activity-profile` Get Activity Profile
- GET `get-agent-profile` Get Agent Profile
- GET `get-person-by-agent` Get Person By Agent
- GET `get-state-document` Get State Document
- GET `get-statement-by-id` Get Statement By ID
- GET `get-voided-statement` Get Voided Statement
- GET `list-activity-profile-ids` List Activity Profile IDs
- GET `list-activity-profile-ids-since` List Activity Profile IDs Since
- GET `list-agent-profile-ids` List Agent Profile IDs
- GET `list-agent-profile-ids-since` List Agent Profile IDs Since
- GET `list-state-ids` List State IDs
- GET `list-state-ids-since` List State IDs Since
- GET `list-statements` List Statements
- PUT `replace-activity-profile` Replace Activity Profile
- PUT `replace-agent-profile` Replace Agent Profile
- PUT `replace-state-document` Replace State Document
- GET `search-statements-by-activity` Search Statements By Activity
- GET `search-statements-by-agent` Search Statements By Agent
- GET `search-statements-by-registration` Search Statements By Registration
- GET `search-statements-by-time-window` Search Statements By Time Window
- GET `search-statements-by-verb` Search Statements By Verb
