logo
Feature Endpoint
Paragraph Shredder
POST

/custom/api/content/paragraph/shredder

Headers

Authorizationrequired
string

Input the Authorization Bearer Token to authorize your API request.

Body

paragraphrequired
string

This field is used as input for a paragraph that needs to be shredded.

Example: “Multi-tenancy is an architecture pattern in which a single instance of a software application serves multiple tenants (customers or users) independently, while maintaining their data and configurations isolated from one another. This approach allows multiple tenants to share resources such as compute, storage, and network infrastructure, which can lead to improved cost efficiency, ease of maintenance, and scalability for the service provider.”

Response

status
string

Indicates whether the call was successful. It prompts success if working, otherwise not.

copies
object

The generated content.

message
string

This information is attached to the call and offers meaningful details when errors occur.

credits_used
number

This field informs you about the credits consumed for this particular request. It varies on the generated content.

curl --location --request POST 'https://api-az.longshot.ai/custom/api/generate/paragraph/shredder'       
--header 'Content-Type: application/json'       
--header 'Authorization: Bearer <token>'       
--data-raw '{
    "paragraph": ""
}'                           
{
  "copies": [
    {
      "content": "<Generated Shredded Paragraph>"
    }
  ],
  "status": "success",
  "message": "Generated successfully",
  "credits_used": "<Credits>"
}