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

# Save Endpoint

`POST /v1/endpoint/save-endpoint`

## 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/fastapi.md) · [All operations](https://skmtc.dev/scrapegraphai/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/scrapegraphai/fastapi/revisions/7583b63abb6e/schema)
