Skip to main content

Command-line tool for LLMs to quickly search and understand OpenAPI endpoints

Project description

LLM API Scope (apiscope)

A command-line tool designed for Large Language Models (LLMs) and developers to index, search, and query structured API documentation (e.g., OpenAPI specifications). It assists LLMs in obtaining API information quickly and accurately within automated workflows.

Installation

apiscope is a command-line tool, not a Python library. For isolated installation without affecting your system Python, we recommend using pipx:

# don't use pip
pipx install llm-api-scope

Command Usage

apiscope init

Initialize the project by creating a configuration file (apiscope.ini) and cache directory (.apiscope/cache/). It automatically adds .apiscope/ to your project's .gitignore.

apiscope list

List all configured API specifications by displaying the <name> = <source> pairs from the configuration file.

apiscope search <name> <keywords> [--force]

Search within a specific API specification (<name>) for endpoints matching the given keywords. Returns the total count and displays up to 10 matching <path>:<method> identifiers.

apiscope describe <name> <path:method> [--force]

Generate and output a concise Markdown guide for using the specified endpoint (<path:method>) from the API specification (<name>). The guide includes essential calling information such as parameters, request body, and response structure.

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

llm_api_scope-0.2.1.tar.gz (17.0 kB view details)

Uploaded Source

Built Distribution

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

llm_api_scope-0.2.1-py3-none-any.whl (19.5 kB view details)

Uploaded Python 3

File details

Details for the file llm_api_scope-0.2.1.tar.gz.

File metadata

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

File hashes

Hashes for llm_api_scope-0.2.1.tar.gz
Algorithm Hash digest
SHA256 e810443d1ffaf18d4afd92c7e6d0ff013f549e0df9559365b40e91e372101cc4
MD5 d73a252522b87a97bb4670b1807a210f
BLAKE2b-256 19780946bf42a8c89fe37663e6564d56562257be3d8d70f23405e317f6a2582f

See more details on using hashes here.

Provenance

The following attestation bundles were made for llm_api_scope-0.2.1.tar.gz:

Publisher: publish.yml on D7x7z49/llm-api-scope

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

File details

Details for the file llm_api_scope-0.2.1-py3-none-any.whl.

File metadata

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

File hashes

Hashes for llm_api_scope-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 15a21c6136495d3b1f5d5ef8157d20c27f8a75951191db903576b18ec0b42396
MD5 4741ee9045b52ed7be85792c2c4279e2
BLAKE2b-256 bf3a100ec2780a290070aa72ef40749a75a92850b036b5fd0afb0151ce8b5a7a

See more details on using hashes here.

Provenance

The following attestation bundles were made for llm_api_scope-0.2.1-py3-none-any.whl:

Publisher: publish.yml on D7x7z49/llm-api-scope

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