Skip to Content
Help
API reference

Flag a score as looking wrong

PUT
/api/v1/reports/{id}/score-flags

Raises or changes the flag of the key's owner on one subject of the report: Resume fit, interview readiness, or one requirement. There is one flag per person and subject, so sending it again with different values changes it, and repeating it unchanged records nothing. The flag is recorded under the person who owns the API key, attributed to the key, and never changes a score. Flagging interview readiness needs a completed interview.

Required scope: reports:write.

Errors

  • 400: invalid_content_type, invalid_json, request_body_too_large, unknown_field
  • 401: authentication_required, invalid_api_key
  • 403: api_access_disabled, insufficient_scope
  • 404: report_not_found
  • 422: invalid_parameter
  • 429: rate_limit_exceeded
  • 500: api_error
  • 503: maintenance_mode, service_unavailable

Authorization

ApiKey
headerAuthorizationBearer <probb_live_<id>_<secret>>

Path Parameters

id*string

The report's ID.

Length1 <= length <= 200

Request Body

application/json
  1. body
subject*string

What looks wrong: the report's resume_fit, the interview's interview_readiness, or one requirement.

Value in"resume_fit""interview_readiness""requirement"
requirementKey?|

The requirement's key on the report. Required for requirement; leave it out for the other subjects.

direction*string

Which way Probb was off: overstated, understated, or wrong_evidence.

Value in"overstated""understated""wrong_evidence"
reason?|

Why, as a fixed reason.

note?|

Why, in your words. Send null or omit it for no note.

Response Body

Success.

application/json
  1. response
object*string
id*string

The flag's ID.

reportId*string

The report the flag is on.

subject*string

What the flag is about: the report's Resume fit, the interview's readiness, or one requirement.

Value in"resume_fit""interview_readiness""requirement"
requirementKey*|

The requirement, for requirement. Null for the other subjects.

direction*string

Which way the person thinks Probb was off. not_the_reason only comes from the app's prompt after a decision.

Value in"overstated""understated""wrong_evidence""not_the_reason"
reason*|

Why, as a fixed reason.

note*|

Why, in the person's words.

origin*string

Raised on the report, or from the prompt after a decision.

Value in"report""decision_nudge"
scoreAtFlag*|

The score the flag is about when it was raised. Null for a requirement.

author*|

Who raised it. Null if the person was since deleted.

mine*boolean

Whether the API key's owner raised it, and so can withdraw it with DELETE.

createdAt*string

When the flag was first raised.

Formatdate-time
updatedAt*string

When the flag last changed.

Formatdate-time
Example Request
# Set PROBB_URL and PROBB_API_KEY. Replace any *_VALUE placeholder and any example ID (such as job_example) with a real one.curl --fail-with-body -X PUT "$PROBB_URL/api/v1/reports/ID_VALUE/score-flags" \  -H "Authorization: Bearer $PROBB_API_KEY" \  -H 'Content-Type: application/json' \  --data-binary '{  "subject": "requirement",  "requirementKey": "kubernetes-in-production",  "direction": "overstated",  "reason": "panel_saw_otherwise",  "note": "The panel found no hands-on cluster work."}'
Example Response
{  "object": "score_flag",  "id": "string",  "reportId": "string",  "subject": "resume_fit",  "requirementKey": "string",  "direction": "overstated",  "reason": "missed_in_resume",  "note": "string",  "origin": "report",  "scoreAtFlag": 0,  "author": {    "id": "string",    "name": "string"  },  "mine": true,  "createdAt": "2019-08-24T14:15:22Z",  "updatedAt": "2019-08-24T14:15:22Z"}