Neurelo Build Docs
Neurelo Build Docs
  • Introduction
    • Core Concepts
    • Key Features
  • Getting Started
    • Sign-in/Sign-up
    • Dashboard
      • Collapsible Sidebar
      • Light/Dark Mode
      • Account Settings
      • Audit Events
      • User Management
        • Permissions (Member v/s Admin)
      • Org Settings
    • Starting your Neurelo Project
      • Quick Start Guide
      • Step 1 - Add a Data Source
      • Step 2 - Build Definitions
      • Step 3 - Create an Environment
      • Step 4 - Create an API Key
      • Step 5 - Start Runners
      • Try your Neurelo APIs
  • "How to" Videos
    • Product Overview
    • Neurelo APIs & SDKs
    • Project Setup
    • Definitions
    • Environments
    • Data Sources
    • Organization Management
    • Creating and Using Custom Queries
    • Using the Schema Builder to build Relationships
    • Mock Data Generation
  • Definitions
    • Neurelo Schema Editor
      • Schema Builder
      • JSON/YAML Editor
      • Schema Visualization: Entity-Relationship Diagram (ERD)
    • Custom APIs for Complex Queries
      • Write and Commit Custom Queries
      • AI-Assisted Query Generation
      • Deploying Custom API Endpoints
      • Using Variables in your Custom Query
    • Branches and Commits
    • API Docs
  • Environments
    • Creating a new Environment
    • API Playground
    • Observability
    • Migrations
    • API Keys
  • Data Sources
    • PostgreSQL
    • MySQL
    • MongoDB
  • Guides
    • Provisioning Cloud Databases for using with Neurelo
      • PostgreSQL
        • AWS RDS (PostgreSQL)
      • MySQL
        • AWS RDS (MySQL)
      • MongoDB Atlas
    • Mock Data Generation
    • Wipe Data Source
    • Remote Git Repository for Definitions
      • Connecting a Remote Git Repo
      • Creating Commits from Neurelo
      • Syncing Branches
    • Data Viewer
    • Environment/Data Source Tags
    • How to work with Embedded documents and References in MongoDB
    • How to download and use the Postman Collection for your Project
    • Building Python applications with Postgres and FastAPI
    • CI Integration using Neurelo CLI
    • Schema Migrations
    • Schema AI Assist
    • Auto-Introspection
    • Access Policies
    • User Auth
      • Google
      • GitHub
      • GitLab
    • MongoDB Atlas - Migrate GraphQL to Neurelo
    • MongoDB Atlas - Migrate REST Data APIs to Neurelo
  • MongoDB Atlas - Migrate REST Data APIs to Neurelo
  • MongoDB Atlas - Migrate GraphQL APIs to Neurelo
  • Neurelo Schema Language (NSL)
    • Example 1 - DVD Rentals
    • Example 2 - Simple "Posts" App
    • Example 3 - Bookstore
  • Neurelo API Reference (REST)
    • Examples of Neurelo Auto-Generated REST API endpoints
      • Example 1 - Simple “Posts” application
      • Example 2 - "DVD Rentals" application
      • Example 3 - "Bookstore” application
      • cURL API Examples
  • Neurelo API Reference (GraphQL)
  • SDKs
    • TypeScript / JavaScript SDK
    • Go SDK
    • Python SDK
      • Python SDK Tutorial -- News Application
        • News Application using Neurelo’s Python SDKs
  • CLI (Preview Version)
  • Self-Hosted Neurelo Gateways
  • Tutorials
    • Building a Real Time Chat Application with Neurelo and MongoDB using Python
    • Building A Financial Terminal with Neurelo and MongoDB in Rust
    • Building a Restaurant Management System with Neurelo and MongoDB using GraphQL in just a few minutes
    • Bringing Neurelo’s Data APIs to Life Instantly with MySQL
  • Project Examples
  • References
    • Supported Databases
    • Supported OS and Browsers
  • Support
Powered by GitBook
On this page
  • Overview
  • Download the Postman Collection for your Project
  • Importing the Collection into Postman
  • Using Neurelo’s Postman Collections
  • Required Setup
  • Per API Setting
  • Using the APIs
  1. Guides

How to download and use the Postman Collection for your Project

PreviousHow to work with Embedded documents and References in MongoDBNextBuilding Python applications with Postgres and FastAPI

Last updated 1 year ago

Overview

With Neurelo, you can easily download a Postman collection for your automatically generated endpoints. This guide will help you start using this resource from the API documentation page.

Download the Postman Collection for your Project

To get the Postman collection, you can either

  • Download the collection from under the "Docs" section with the Definitions for your project, or

  • Download the collection from the "APIs" section in your environment.

In this guide, we will go over the details of how to download the spec from the environment view, but the process is similar for downloading the spec from the "Docs" section in the definitions view.

Navigate to your environment's tab:

This action will display the API section tailored to the commit selected for your environment.

Look for a download (↓) icon at the top-right corner of this tab. Clicking this icon reveals the specifications and SDK download dropdown.

Selecting the Postman collection option will initiate the download of a JSON-based Postman collection file.

Note: The downloaded spec varies depending on whether you are in the REST or GraphQL section. To download a Postman collection for GraphQL, ensure you switch to the GraphQL tab in the API documentation before downloading.

Importing the Collection into Postman

To import the downloaded collection into your Postman app, start by clicking the 'Import' button within Postman.

Then, import the JSON-based Postman collection file you downloaded from Neurelo.

Completing these steps will generate a new Postman collection corresponding to your schema.

Using Neurelo’s Postman Collections

Neurelo structures each collection by creating individual folders for each object in your schema, organizing these folders according to the auto-generated API endpoints. Each object is equipped with auto-generated GET (to find, aggregate, and group objects), POST (to create one or multiple objects), PATCH, and DELETE HTTP methods.

Note - this section discusses the Postman collection for Neurelo REST endpoints. For GraphQL, the only support HTTP method will be POST

Required Setup

Once the Postman collection has been imported into Postman, you need to configure the {{baseUrl}} and set the X-API-KEY to be used in the header for the API calls.

  • You can get the {{baseUrl}} for your environment by navigating to the Environments section in your project

You can set these globally (and then they will be used for all the API calls), or set them per API.

Global Settings

Click on the Collection Name in your Workspace and it will show you tabs including "Authorization" and "Variables"

  1. Click on the "Authorization" tab and enter the X-API-KEY for your environment in the "Value" field. Once you input the API Key, the value should look something like this

  2. Click on the "Variables" tab and enter the URL for your environment under "Current Value" Once you enter the URL, it should look something like this

Important - Remember to click "Save" at the top right to make sure your changes will be used

Per API Setting

If you have configured the {{baseUrl}} and the X-API-KEY globally, you do not need to set them per API. However, if you have not enabled them globally, then you can configure them per API

  • You can replace the {{baseUrl}} with the value directly in the request next to the GET/POST/PATCH/DELETE methods

  • You can set the X-API-KEY value under the "Headers" for the request

Using the APIs

Note - The Postman client selects (enables) all parameters by default. Please unselect the parameters that are not needed for your API call

You're all set! You can now send your requests using the "Send" option for each API

Use the for the value of the X-API-KEY header

To execute an API request, simply populate the query parameters and the request body as needed. For guidance on building APIs, refer to the API reference materials for and .

API Key associated with your environment
REST
GraphQL