Skip to content

Jobs

get_job async

get_job(
    auth: Annotated[
        Auth,
        Depends(
            authorize(
                AuthStrategy.HYBRID, [Permission.SITE_ADMIN]
            )
        ),
    ],
    id: str,
) -> dict

Gets a job.

Input:

  • the user's authentification status

  • the id

Output:

  • dict