Save preferences and derive the config
const url = 'http://127.0.0.1:8765/api/setup';const options = { method: 'PUT', headers: {'Content-Type': 'application/json'}, body: '{"countries":["US"],"roles":["Software Engineer"]}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PUT \ --url http://127.0.0.1:8765/api/setup \ --header 'Content-Type: application/json' \ --data '{ "countries": [ "US" ], "roles": [ "Software Engineer" ] }'Save preferences and derive the find-jobs config from them.
Request Bodyrequired
Section titled “Request Bodyrequired”object
Spend cap per session.
Days between discovery runs.
City for onsite/hybrid.
Stage/size preference.
Country codes.
Stack to avoid.
Companies to skip.
Industries to exclude.
Industries to include.
Ignore postings older than this.
Model target.
Required stack.
Save into this profile.
Job titles to search for (non-empty).
Words or phrases: a posting whose title holds one (whole words, any case) is not in this profile’s list.
Default false.
Companies to watch.
Remote | hybrid | onsite (as the wizard offers).
Example
{ "countries": [ "US" ], "roles": [ "Software Engineer" ]}Responses
Section titled “Responses”Success.
object
Example
{ "countries": [ "US" ], "roles": [ "Software Engineer" ]}Invalid_value
object
object
Example
{ "error": { "code": "invalid_value", "message": "..." }}Forbidden / forbidden_origin: loopback peer and Host 127.0.0.1:<port> or localhost:<port> only (Origin too on writes).
object
object
Examplegenerated
{ "error": { "allowed_keys": [ "example" ], "code": "example", "message": "example" }}Not_found
object
object
Example
{ "error": { "code": "not_found", "message": "..." }}Unsupported_media_type: writes need Content-Type: application/json.
object
object
Examplegenerated
{ "error": { "allowed_keys": [ "example" ], "code": "example", "message": "example" }}