---
title: "Save Endpoint"
method: POST
path: "/v1/endpoint/save-endpoint"
tags: ["EndpointPoc"]
---

# Save Endpoint

`POST /v1/endpoint/save-endpoint`

## Request

- Base URL: `https://api.scrapegraphai.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.scrapegraphai.com/v1/endpoint/save-endpoint`
- Auth: none declared

## Request body

- EndPointSuggestions
  - `suggestions` EndpointSuggestion[], required
    - `endpoint` string, required
    - `method` string
    - `description` string, required
    - `target_url` string, required
    - `parameters` EndpointParameter[], required
      - `name` string, required
      - `type` string, required
      - `location` string, required
      - `required` boolean, required
      - `description` string, required
      - `is_url` boolean
    - `pydantic_schema` object, required
    - `extraction_prompt` string, required
    - `interaction_steps` string[], nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/scrapegraphai/apis/scrapegraphai-api.md) - [All operations](https://skmtc.dev/scrapegraphai/apis/scrapegraphai-api/llms.txt) - [OpenAPI document](https://skmtc.dev/scrapegraphai/apis/scrapegraphai-api/revisions/a0e42195429f?raw)
