Skip to main content

codegen-api-client

API for application developers

This Python package is automatically generated by the OpenAPI Generator project:

  • API version: 1.0.0
  • Package version: 1.0.0
  • Generator version: 7.12.0
  • Build package: org.openapitools.codegen.languages.PythonClientCodegen

Requirements.

Python 3.8+

Installation & Usage

uv sync

If the python package is hosted on a repository, you can install directly using:

uv pip install codegen-api-client

Then import the package:

import codegen_api_client

Tests

Execute pytest to run the tests.

Getting Started

Please follow the installation procedure and then run the following:

import codegen_api_client
from codegen_api_client.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = codegen_api_client.Configuration(
    host = "http://localhost"
)



# Enter a context with an instance of the API client
with codegen_api_client.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = codegen_api_client.AgentsApi(api_client)
    org_id = 56 # int | 
    create_agent_run_input = codegen_api_client.CreateAgentRunInput() # CreateAgentRunInput | 
    authorization = None # object |  (optional)

    try:
        # Create Agent Run
        api_response = api_instance.create_agent_run_v1_organizations_org_id_agent_run_post(org_id, create_agent_run_input, authorization=authorization)
        print("The response of AgentsApi->create_agent_run_v1_organizations_org_id_agent_run_post:\n")
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling AgentsApi->create_agent_run_v1_organizations_org_id_agent_run_post: %s\n" % e)

Documentation for API Endpoints

All URIs are relative to http://localhost

Class Method HTTP request Description
AgentsApi create_agent_run_v1_organizations_org_id_agent_run_post POST /v1/organizations/{org_id}/agent/run Create Agent Run
AgentsApi create_agent_run_v1_organizations_org_id_agent_run_post_0 POST /v1/organizations/{org_id}/agent/run Create Agent Run
AgentsApi create_agent_run_v1_organizations_org_id_agent_run_post_1 POST /v1/organizations/{org_id}/agent/run Create Agent Run
AgentsApi get_agent_run_v1_organizations_org_id_agent_run_agent_run_id_get GET /v1/organizations/{org_id}/agent/run/{agent_run_id} Get Agent Run
AgentsApi get_agent_run_v1_organizations_org_id_agent_run_agent_run_id_get_0 GET /v1/organizations/{org_id}/agent/run/{agent_run_id} Get Agent Run
AgentsApi get_agent_run_v1_organizations_org_id_agent_run_agent_run_id_get_1 GET /v1/organizations/{org_id}/agent/run/{agent_run_id} Get Agent Run
OrganizationsApi get_organizations_v1_organizations_get GET /v1/organizations Get Organizations
OrganizationsApi get_organizations_v1_organizations_get_0 GET /v1/organizations Get Organizations
OrganizationsApi get_organizations_v1_organizations_get_1 GET /v1/organizations Get Organizations
UsersApi get_user_v1_organizations_org_id_users_user_id_get GET /v1/organizations/{org_id}/users/{user_id} Get User
UsersApi get_user_v1_organizations_org_id_users_user_id_get_0 GET /v1/organizations/{org_id}/users/{user_id} Get User
UsersApi get_user_v1_organizations_org_id_users_user_id_get_1 GET /v1/organizations/{org_id}/users/{user_id} Get User
UsersApi get_users_v1_organizations_org_id_users_get GET /v1/organizations/{org_id}/users Get Users
UsersApi get_users_v1_organizations_org_id_users_get_0 GET /v1/organizations/{org_id}/users Get Users
UsersApi get_users_v1_organizations_org_id_users_get_1 GET /v1/organizations/{org_id}/users Get Users

Documentation For Models

Documentation For Authorization

Endpoints do not require authorization.

Author

Metadata

Release files for codegen-api-client 1.0.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 codegen-api-client 1.0.0
File Size Uploaded Provenance Actions
codegen_api_client-1.0.0.tar.gz 26.2 kB Without provenance Details for codegen_api_client-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for codegen-api-client 1.0.0
File Interpreter ABI Platform Actions
codegen_api_client-1.0.0-py3-none-any.whl Python 3 none any Details for codegen_api_client-1.0.0-py3-none-any.whl

Total release size: 70.9 kB

Release files / codegen_api_client-1.0.0.tar.gz

Download URL codegen_api_client-1.0.0.tar.gz
Size 26.2 kB
Tags Source
SHA-256 checksum
How to use checksums
4e925e25dfdda4afaba8c0b223c5bf2736da2a38d34ee30a92777692e4f34783
BLAKE2b-256 checksum
How to use checksums
69df8a2bf96f96df71f44619dbd003852804dedd5c331846ad99e5476749bf96
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.6.14

Release files / codegen_api_client-1.0.0-py3-none-any.whl

Download URL codegen_api_client-1.0.0-py3-none-any.whl
Size 44.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
12f8fcfabe512bc88917fa750784d75b79b3a50495dc2c311c58ea83120f44a7
BLAKE2b-256 checksum
How to use checksums
31665bafb6e567d636e87a2fbedeca2300bc1a3a21a7b8cd5ec418e94538b57d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.6.14

Security for codegen-api-client 1.0.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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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

1.0.0 This release

2 release files No 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