Welcome to the Greennode AI Platform API documentation! This guide will walk you through accessing our Swagger-based API documentation and provide examples for interacting with the core modules: Notebook Instances, Training Models, Model Registry, and Model Endpoints.
Step 1: Accessing the API Documentation
- Login to the Greennode AI Platform: Use your credentials to log into the Greennode AI Platform.
- Navigate to API Docs:
- Locate the "API Documentation" section within the portal by clicking on the "?" icon next to your account at header bar.
- Or you can access directly to Swagger UI through https://aiplatform.console.greennode.ai/api-docs
- Swagger UI: You'll be presented with the Swagger UI, an interactive tool that displays all available API endpoints, their parameters, and expected responses.
Step 2: Obtaining Your Access Token
- Token Generation: The Swagger UI will generate an access token for you. This token is usually short-lived (e.g., valid for one hour). Click on "Your access token" button at the top right corner to copy the access token.
- Authentication: Most Greennode APIs require an access token for authentication. You'll typically find an "Authorize" button within the Swagger UI. Click it to open the authorization popup and pass your copied access into the value field, then click on "Authorize" button to complete the process.