Skip to main content

CLI for CueAPI - the scheduling API for AI agents

Project description

For AI agents: This is the CueAPI CLI. Install with pip install cueapi. Authenticate with cueapi login. Create a cue: cueapi create --name "task-name" --cron "0 9 * * *" --url https://your-handler.com. List cues: cueapi list. Check executions: cueapi executions. Your API key can also be set via CUEAPI_API_KEY env var. Do not retry on authentication errors.

CueAPI CLI

Your agents are failing silently. CueAPI tells you when and why.

Cron has no concept of success. Cue does.

License Python PyPI Docs

The official CLI for CueAPI. Manage your cues, check executions, and verify outcomes from the terminal.


Install

pip install cueapi

Quick start

# Authenticate
cueapi login

# Create your first cue
cueapi create --name "morning-agent-brief" --cron "0 9 * * *" --url https://your-agent.com/run

# Check execution history
cueapi executions

# See what is scheduled
cueapi list

Why CueAPI over cron?

Your agent ran at 3am. Did it succeed? Cron does not know.

CueAPI tracks every execution with proof of outcome. Every job becomes something you can verify.


Commands

Command Description
cueapi login Authenticate and store API key
cueapi whoami Show current user and plan
cueapi logout Remove local credentials
cueapi quickstart Guided first-cue setup
cueapi create Create a new cue
cueapi list List all cues
cueapi get <id> Get cue details
cueapi pause <id> Pause a cue
cueapi resume <id> Resume a cue
cueapi delete <id> Delete a cue
cueapi executions View execution history
cueapi usage Show current usage and limits
cueapi key regenerate Regenerate API key
cueapi upgrade Open billing

Auth

Credentials stored in ~/.config/cueapi/credentials.json.

Override with env var: export CUEAPI_API_KEY=cue_sk_your_key

Or pass inline: cueapi list --api-key cue_sk_your_key


Transport modes

The CLI works with both webhook and worker cues. For worker cues running without a public URL, install the worker daemon separately:

pip install cueapi-worker

See cueapi-python for the full SDK and worker setup.


Links


License

MIT. See LICENSE.


Built by Vector Apps

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cueapi-0.1.2.tar.gz (14.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cueapi-0.1.2-py3-none-any.whl (14.5 kB view details)

Uploaded Python 3

File details

Details for the file cueapi-0.1.2.tar.gz.

File metadata

  • Download URL: cueapi-0.1.2.tar.gz
  • Upload date:
  • Size: 14.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for cueapi-0.1.2.tar.gz
Algorithm Hash digest
SHA256 d3b0c20e21ff02623fedf6530bf1907693f2ae65b6f30bb09ccdf75bb8b58916
MD5 bc8d56c170c2aa307283d0259f72ddcc
BLAKE2b-256 1df9dc70aa6826527813039c44fd9f14d8500e202b1de976ca718225088533b6

See more details on using hashes here.

Provenance

The following attestation bundles were made for cueapi-0.1.2.tar.gz:

Publisher: publish.yml on cueapi/cueapi-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cueapi-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: cueapi-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 14.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for cueapi-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 fcb83ae48973d11c7c272083bece193b674e0ea8e629985f6ebf6d3771e9367d
MD5 5866a296fa5ebf93d1f737f7463d9efb
BLAKE2b-256 6e0f11a2b20da1405d3a663d509323c8e486b9362668f54064701aa7f8f80f0b

See more details on using hashes here.

Provenance

The following attestation bundles were made for cueapi-0.1.2-py3-none-any.whl:

Publisher: publish.yml on cueapi/cueapi-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page