# social.grain.story.getAuthors

> Get authors who have active stories (posted within the last 24 hours).

- Kind: query
- Authority: story.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.story.getAuthors)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:e7rftrdyz5e2rw4y6ocszew2/social.grain.story.getAuthors/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:e7rftrdyz5e2rw4y6ocszew2/social.grain.story.getAuthors/analytics)

## Query (`social.grain.story.getAuthors`)

Type: query · GET

### Output (application/json)

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

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Get authors who have active stories (posted within the last 24 hours).",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "authors": {
              "items": {
                "ref": "social.grain.story.defs#storyAuthor",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "authors"
          ],
          "type": "object"
        }
      },
      "type": "query"
    }
  },
  "id": "social.grain.story.getAuthors",
  "lexicon": 1
}
```
