# social.grain.unspecced.getStories

> Get a user's active stories (posted within the last 24 hours).

- Kind: query
- Authority: unspecced.grain.social
- Lexicon: 1
- Published by [grain.social](https://lexicon.garden/identity/did:plc:e7rftrdyz5e2rw4y6ocszew2), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:e7rftrdyz5e2rw4y6ocszew2/social.grain.unspecced.getStories)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:e7rftrdyz5e2rw4y6ocszew2/social.grain.unspecced.getStories/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:e7rftrdyz5e2rw4y6ocszew2/social.grain.unspecced.getStories/analytics)

## Query (`social.grain.unspecced.getStories`)

Type: query · GET

### Parameters (query string)

- `actor` (string · at-identifier, required)

### Output (application/json)

- `stories` (array, required)
  - `items` (ref)
    - Reference: `social.grain.story.defs#storyView`

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Get a user's active stories (posted within the last 24 hours).",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "stories": {
              "items": {
                "ref": "social.grain.story.defs#storyView",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "stories"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "actor": {
            "format": "at-identifier",
            "type": "string"
          }
        },
        "required": [
          "actor"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "social.grain.unspecced.getStories",
  "lexicon": 1
}
```
