querystringwymagane
Partial job title prefix to get suggestions for
https://api.sandbase.ai/v1/api/builtin/suggest-job-titlesReturns up to 10 autocomplete suggestions for job title searches, matching the query prefix against Built In's job title index. Useful for building type-ahead search interfaces.
Twój wynik pojawi się tutaj
Uzupełnij dane wejściowe, a następnie kliknij Uruchom.
Returns up to 10 autocomplete suggestions for job titles on Built In. It needs one input, query, a partial job title prefix such as software engineer.
curl -X POST "https://api.sandbase.ai/v1/api/builtin/suggest-job-titles" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"query": "software engineer"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
query | string | Yes | Partial job title prefix to get suggestions for |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"data": {
"suggestions": [
"Software Engineering"
]
},
"status": "success"
}
| Field | Meaning |
|---|---|
status | Result of the call. The value success means the request worked. |
data.suggestions[] | Suggested job titles that match the query prefix. Each item is a plain string, such as Junior Software Engineer. |
query. The response in this example includes titles with extra words before or after the prefix, such as Junior Software Engineer and Software Engineering Manager.GET /v1/run/{id} and read the result from outputs[0].data.$0.01 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
Zacznij tworzyć
Punkt końcowy API platformy z jednolitym uwierzytelnianiem i śledzeniem użycia.
curl -X POST "https://api.sandbase.ai/v1/api/builtin/suggest-job-titles" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"query": "software engineer"
}'Ustaw klucz API SandBase w środowisku serwera. Żądania używają uwierzytelniania Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Przechowuj klucz na serwerze. Nie ujawniaj go w kodzie przeglądarkowym.
querystringwymaganePartial job title prefix to get suggestions for
Zapisany przykładowy response dla tego API; podczas wyświetlania nie jest wykonywane żadne żądanie na żywo.
Nie opublikowano zapisanego response. Uruchom API w Playground, aby sprawdzić jego odpowiedź.
Odkryj więcej
| API | Cena | Odpowiedź |
|---|---|---|
Built In | $0.01 za wywołanie | Asynchroniczny JSON |
Pytania
Wyślij żądanie POST do https://api.sandbase.ai/v1/api/builtin/suggest-job-titles z kluczem API SandBase w nagłówku Authorization (Bearer) oraz parametrami w treści JSON. Możesz też wypróbować je w Playground na tej stronie bez pisania kodu.
$0.01 za wywołanie, rozliczane z salda SandBase. Płacisz tylko za wykonane wywołania; nie ma subskrypcji.
Wymagane: query (string). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.
Wynik JSON. Ten endpoint działa asynchronicznie, więc odpowiedź informuje, jak pobrać gotowy wynik. README na tej stronie zawiera przykładową odpowiedź.
Nie. Built In Suggest Job Titles działa przez SandBase, więc jeden klucz API SandBase obejmuje ten endpoint i każde inne API oraz model w katalogu. Nie musisz osobno ubiegać się o dostęp do API Built In.