---
title: "Get task metadata"
method: GET
path: "/api/tasks/metadata"
tags: ["Tasks"]
---

# Get task metadata

`GET /api/tasks/metadata`

## Request

- Base URL: `https://api.sponsorunited.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.sponsorunited.com/api/tasks/metadata`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/sponsorunited/apis/sponsorunited-api/docs/api/tasks/metadata/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns metadata for filtering tasks such as properties, leagues, and managers

## Query parameters

- `entity_type` string, required

## Response `200`

The metadata for the tasks found for the given entity type.

- TaskIndexMetadataResource
  - `type` object[]
    - `text` string
    - `name` string
  - `entity` object[]
    - `id` integer
    - `text` string
    - `league_id` integer
    - `league_manager_id` integer
  - `league` object[]
    - `id` integer
    - `text` string
    - `league_manager_id` integer
  - `league_manager` object[]
    - `id` integer
    - `text` string

---

[API](https://skmtc.dev/sponsorunited/apis/sponsorunited-api.md) - [All operations](https://skmtc.dev/sponsorunited/apis/sponsorunited-api/llms.txt) - [OpenAPI document](https://skmtc.dev/sponsorunited/apis/sponsorunited-api/revisions/cbf1ca5bff8f?raw)
