---
agent:
  instructions: "Search the SocialTap docs with keywords or a question instead of crawling pages: GET https://socialtap.dev/.well-known/search?q={query} returns the best sections as Markdown (JSON with Accept: application/json), free and without a key."
  endpoint: "https://socialtap.dev/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://socialtap.dev/docs/agents/#docs-for-agents"
---
# Maintenance status

> Setting SocialTap up for your user? Follow https://socialtap.dev/setup.md.

Analyses

Whether the repository is archived, active (pushed to within 30 days), maintained (within 6 months), stale (6 months to 2 years) or abandoned (over 2 years); null when the platform shows neither.

## Example

cURL:

```shell
curl -G 'https://socialtap.dev/v1/github/repository' \
  --data-urlencode 'url=https://github.com/torvalds/linux' \
  --data-urlencode 'analysis=maintenance_status' \
  -H "x-api-key: $SOCIALTAP_API_KEY"
```

Shape of data.analysis:

```json
{
  "maintenance_status": "archived"
}
```

Values are examples.

## Value

Ask for it with `analysis=maintenance_status`; each item's `analysis` object then holds it, computed from the item's fields. A value is null when it is unknown, with an `analysis_unavailable` warning saying why ([null values](https://socialtap.dev/docs/analyses/index.md#null-values)).

`analysis.maintenance_status`: One of the values below.

| Value | Meaning |
| --- | --- |
| `archived` | archived by its owner: read-only |
| `active` | pushed to within the last 30 days |
| `maintained` | pushed to within the last 6 months |
| `stale` | last pushed 6 months to 2 years ago |
| `abandoned` | last pushed over 2 years ago |

## Filter

On a list, `where` keeps the items that pass. Every item judged is charged whether or not it passes, so a page can hold fewer items than `limit`.

cURL:

```shell
curl -G 'https://socialtap.dev/v1/github/pinned_repositories' \
  --data-urlencode 'handle=torvalds' \
  --data-urlencode 'analysis=maintenance_status' \
  --data-urlencode 'where=analysis.maintenance_status=archived' \
  -H "x-api-key: $SOCIALTAP_API_KEY"
```

## Languages

Answers for items in any language.

## Price

**Free.** Nothing: computed from the item's own fields. An analysis that fails is free. [How analyses are priced](https://socialtap.dev/docs/analyses/index.md#price)

## Endpoints

5 endpoints offer it, on 1 platform.

**GitHub5**

- [GETGitHub Repository API`/v1/github/repository`](https://socialtap.dev/docs/reference/github/repository/index.md)
- [GETGitHub Pinned Repositories API`/v1/github/pinned_repositories`](https://socialtap.dev/docs/reference/github/pinned-repositories/index.md)
- [GETGitHub Repositories API`/v1/github/repositories`](https://socialtap.dev/docs/reference/github/repositories/index.md)
- [GETGitHub Repository Search API`/v1/github/search_repositories`](https://socialtap.dev/docs/reference/github/search-repositories/index.md)
- [GETGitHub Trending Repositories API`/v1/github/trending_repositories`](https://socialtap.dev/docs/reference/github/trending-repositories/index.md)

---

[HTML version](https://socialtap.dev/docs/analyses/maintenance-status/) · [Docs index for AI agents](https://socialtap.dev/llms.txt) · [All docs in one file](https://socialtap.dev/llms-full.txt)
