Skip to main content

beetday

A small, single-file client for your own Workday tenant's org chart.

Workday's web UI can tell you who someone reports to — slowly, four clicks at a time. This drives the same undocumented endpoints the browser uses, so you can do it from a shell, and it can crawl the supervisory-org tree once into a local file you then search instantly and offline.

$ beetday search "ada"
Ada Lovelace  —  Senior Tech Lead  —  Engineering : Platform II (Grace Hopper)  —  London   →  Grace Hopper <grace@example.com>

$ beetday chain "Ada Lovelace"
Ada Lovelace — Senior Tech Lead
  →Grace Hopper — Senior Engineering Manager
    →Katherine Johnson — VP Engineering

Before you use it

This talks to your employer's HR system with your own logged-in session. It sees exactly what you can already see in the Workday UI — there is no privilege escalation here — but crawl bulk-exports your whole staff directory, including email addresses, to a file on your disk. That is the kind of thing security teams care about, reasonably.

  • Check your employer's acceptable-use policy first. Automated access and reverse-engineering are commonly restricted, including by Workday's own terms.
  • orgchart.json is real personal data about your colleagues. Keep it local, keep it out of git (the shipped .gitignore covers it), don't share it.
  • Use a polite --delay. The default is 0.3s between calls.

Install

Needs Python 3.14+ and uv. Run it straight from PyPI:

$ uvx beetday --help

Or put beetday on your PATH with uv tool install beetday.

It is also a single self-contained script that declares its own dependencies inline (PEP 723), so a checkout runs with nothing to install:

$ ./beetday.py --help

Auth

There is no API key. Auth is a copy of your browser's live session, which Workday drops after roughly 90 minutes idle — expect to redo this.

  1. Open Workday, press F12, go to Network.
  2. Right-click any request to your tenant → Copy → Copy as cURL.
  3. Pipe it in:
$ pbpaste | beetday auth
saved session for tenant 'acme' (worker 247$900077) -> ~/.local/share/beetday/session.json

Or point it at a saved HAR capture: beetday auth --har ~/Downloads/workday.har.

The session file holds live credentials and is written 0600. Both it and the cache live in ~/.local/share/beetday; override with BEETDAY_HOME.

A .har capture also contains your session cookie. Delete it when you're done.

Commands

Command What it does
auth Save or refresh the browser session
search <query> Live people/org search
manager <name> Who someone reports to
chain <name> The full management chain above someone
crawl Walk the whole org tree into the local cache
find <query> Search the cache — offline, instant, diacritic-insensitive

find folds diacritics, so find nguyen matches Nguyễn and find cong matches Công.

Tenant-specific ids

The org-chart navigator needs two ids that differ per tenant: an "Org Chart" task, and your root supervisory organization. beetday auth finds both and stores them in the session, so there is nothing to configure:

$ pbpaste | beetday auth
saved session for tenant 'acme' (worker 247$900077) -> ~/.local/share/beetday/session.json
discovered org chart task 2997$900042, root org 2500$900009

It searches your tenant for an Org Chart task, confirms the navigator actually accepts it, then walks PARENT up from your own org until there is no parent left. If discovery fails — an unusual tenant, a renamed task — override it:

$ beetday crawl --root 2500$900009 --initial-step 2997$900042

The 247$ / 2500$ prefixes in the source are Workday instance class ids (Worker, Supervisory Organization) and appear to be the same everywhere.

Development

$ python3 -m unittest test_beetday -v

Tests cover the pure parsing, caching and session-extraction layers; the network layer is exercised by hand against a live session. Every fixture is invented — no real person, tenant or host appears in this repo.

To release, bump version in pyproject.toml, merge, then tag that commit:

$ git tag -a v0.1.0 -m v0.1.0 && git push origin v0.1.0

The tag runs .github/workflows/publish.yml, which tests, builds, smoke-tests and publishes to PyPI through trusted publishing — there is no token to manage.

Caveats

Undocumented endpoints, reverse-engineered from browser traffic. Workday can change them without notice and nothing here is supported by anyone. crawl across a large org takes a while: one call per sub-org, then one per person for email enrichment. It checkpoints as it goes and resumes from cached emails.

License

GNU AGPL-3.0-only. Forks and modified versions stay under the same license, and if you offer a modified version to users over a network you must offer them its source too.

Metadata

Release files for beetday 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for beetday 0.1.0
File Size Uploaded Provenance Actions
beetday-0.1.0.tar.gz 28.0 kB With provenance Details for beetday-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for beetday 0.1.0
File Interpreter ABI Platform Actions
beetday-0.1.0-py3-none-any.whl Python 3 none any Details for beetday-0.1.0-py3-none-any.whl

Total release size: 55.2 kB

Release files / beetday-0.1.0.tar.gz

Download URL beetday-0.1.0.tar.gz
Size 28.0 kB
Tags Source
SHA-256 checksum
How to use checksums
64363f96823c12e005f5ce60692853ba0ba6af2c7ad9aeab8cb757b48ca3be7c
BLAKE2b-256 checksum
How to use checksums
f32873c865c6cd72861bbac5108bbe1cf753141e6f2d8db748d8a0fb2bab8edf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 1, 2026.

Transparency log

Release files / beetday-0.1.0-py3-none-any.whl

Download URL beetday-0.1.0-py3-none-any.whl
Size 27.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c26abc5ae0e6b3aafa7de1dc8f3039cf2ea83bb21e0517910531940b860a1ff6
BLAKE2b-256 checksum
How to use checksums
878f35f5b58f89bb7fab6e69f7ef86174245ffcb46bf9c376e06e071e81bbbd3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 1, 2026.

Transparency log

Security for beetday 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for beetday-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 1, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page