---
title: "Get Active Prospecting Goal"
method: GET
path: "/api/prospecting/active-goal"
tags: ["prospecting"]
---

# Get Active Prospecting Goal

`GET /api/prospecting/active-goal`

Return the org's currently-active prospecting goal so the AI Zone intake
can reflect the goal the next run will default to (instead of the generic
'Everything/Everyone' placeholder).

Active goal = the goal of the org's most recent run (latest non-null
deal.goal_id), falling back to the most recently created non-archived goal,
else null (fresh org → the UI shows the broad Everything/Everyone default).
The UI pre-fills the intake fields only for user-specified goals
(source user_intake/manual); for a derived_default it shows the broad
default plus a label, since the run re-derives when intake is empty.
When `include_derived_default` is true, `derived_default` additionally
lets the UI show what an empty-intake run will actually use instead of
the broad placeholder.

## Query parameters

- `include_derived_default` boolean — When true, also include `derived_default`: the DNA-derived goal (selling/targeting) an empty-intake scheduled run would actually use, so the UI can show it instead of the broad Everything/Everyone placeholder.
- `user_id` string, nullable
- `org_id` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/every/apis/every-api.md) · [All operations](https://skmtc.net/every/apis/every-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/every/every-api/versions/9744001af85d/schema)
