Skip to main content
PUT
/
assessment
/
packages
Python
from kombo import SDK


with SDK(
    integration_id="workday:HWUTwvyx2wLoSUHphiWVrp28",
    api_key="<YOUR_BEARER_TOKEN_HERE>",
) as sdk:

    res = sdk.assessment.set_packages(packages=[
        {
            "id": "1001",
            "type": "SKILLS_TEST",
            "name": "TypeScript",
            "description": "TypeScript coding skills assessments",
        },
        {
            "id": "1002",
            "type": "VIDEO_INTERVIEW",
            "name": "Video Interview",
            "description": "Video interview to assess communication skills",
        },
    ])

    # Handle response
    print(res)
{
"status": "<string>",
"data": {},
"warnings": [
{
"message": "<string>"
}
]
}

Authorizations

Authorization
string
header
required

Create an API key on the Secrets page in the Kombo dashboard.

Headers

X-Integration-Id
string
required

ID of the integration you want to interact with.

Body

application/json

PUT /assessment/packages Request body

packages
object[]
required

Response

PUT /assessment/packages Positive response

status
string
required
Allowed value: "success"
data
object
required
warnings
object[]
required

These are the interaction warnings that are shown in the dashboard. They are meant to provide debug information to you. We recommend logging them to the console.