Filters Autocomplete
`GET /sourcing-session/filters/autocomplete`
Returns autocomplete suggestions for a given filter type. Use this to populate dropdowns when building or updating session `queries`.
## Headers
| Key | Value |
| --- | --- |
| x-fj-api-key | fjk_ |
## Query Parameters
| Name | Type | Required | Description |
| --- | --- | --- | --- |
| filter_type | string | yes | One of: `region`, `skill`, `title`, `country_region`, etc. |
| query | string | yes | Search term. |
| limit | number | no | Max suggestions. |
## Response (200)
Array of suggestion strings/objects matching the query.
``` json
[
"Pune, Maharashtra, India",
"Pune Division, Maharashtra, India"
]
```
## cURL
Replace `fjk_YOUR_API_KEY_HERE`, then paste and run:
``` bash
curl "https://prod.api.futurejobs.ai/api/v1/wl/sourcing-session/filters/autocomplete?filter_type=region&query=Pune&limit=10" \
-H "x-fj-api-key: fjk_YOUR_API_KEY_HERE"
```
## Errors
- `400 Bad Request` — missing `filter_type` or `query`.
- `401 Unauthorized`
Authentication
x-fj-api-keystring
API Key authentication via header
Query parameters
filter_type
query
limit
Response headers
X-Powered-By
X-Request-Id
Access-Control-Allow-Credentials
RateLimit-Policy
RateLimit-Limit
RateLimit-Remaining
RateLimit-Reset
ETag
Response
OK
statusCode
data
message
status